terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
OneFromOptionsDropRule.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000888")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x170007DE")]
15 {
17 [global::Cpp2ILInjected.Token(Token = "0x6004438")]
18 [global::Cpp2ILInjected.Address(RVA = "0x7AA6D0", Offset = "0x7AA6D0", Length = "0x8")]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 get
21 {
22 throw null;
23 }
25 [global::Cpp2ILInjected.Token(Token = "0x6004439")]
26 [global::Cpp2ILInjected.Address(RVA = "0x7AA6D8", Offset = "0x7AA6D8", Length = "0x8")]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
28 private set
29 {
30 throw null;
31 }
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x600443A")]
35 [global::Cpp2ILInjected.Address(RVA = "0x7AA6E0", Offset = "0x7AA6E0", Length = "0x9C")]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropRule), Member = "OneFromOptions", MemberParameters = new object[]
37 {
38 typeof(int),
39 typeof(int[])
40 }, ReturnType = typeof(IItemDropRule))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropRule), Member = "OneFromOptionsWithNumerator", MemberParameters = new object[]
42 {
43 typeof(int),
44 typeof(int),
45 typeof(int[])
46 }, ReturnType = typeof(IItemDropRule))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x600443B")]
57 [global::Cpp2ILInjected.Address(RVA = "0x7AA77C", Offset = "0x7AA77C", Length = "0x8")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x600443C")]
65 [global::Cpp2ILInjected.Address(RVA = "0x7AA784", Offset = "0x7AA784", Length = "0x78")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "RollLuck", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommonCode), Member = "DropItemFromNPC", MemberParameters = new object[]
71 {
72 typeof(NPC),
73 typeof(int),
74 typeof(int),
75 typeof(bool)
76 }, ReturnType = typeof(void))]
81
82 [global::Cpp2ILInjected.Token(Token = "0x600443D")]
83 [global::Cpp2ILInjected.Address(RVA = "0x7AA7FC", Offset = "0x7AA7FC", Length = "0x18C")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfo), Member = ".ctor", MemberParameters = new object[]
87 {
88 typeof(int),
89 typeof(int),
90 typeof(int),
91 typeof(float),
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chains), Member = "ReportDroprates", MemberParameters = new object[]
95 {
97 typeof(float),
99 typeof(DropRateInfoChainFeed)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x40081E5")]
108 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
109 public int[] dropIds;
110
111 [global::Cpp2ILInjected.Token(Token = "0x40081E6")]
112 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
114
115 [global::Cpp2ILInjected.Token(Token = "0x40081E7")]
116 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
117 public int chanceNumerator;
118
120 [global::Cpp2ILInjected.Token(Token = "0x40081E8")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
123 }
124}
class f__AnonymousType0<< Count > j__TPar
void ReportDroprates(List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
OneFromOptionsDropRule(int chanceDenominator, int chanceNumerator, params int[] options)
List< IItemDropRuleChainAttempt >< ChainedRules > k__BackingField
ItemDropAttemptResult TryDroppingItem(DropAttemptInfo info)