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
OneFromOptionsNotScaledWithLuckDropRule.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000887")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x170007DD")]
15 {
17 [global::Cpp2ILInjected.Token(Token = "0x6004432")]
18 [global::Cpp2ILInjected.Address(RVA = "0x7AA418", Offset = "0x7AA418", Length = "0x8")]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 get
21 {
22 throw null;
23 }
25 [global::Cpp2ILInjected.Token(Token = "0x6004433")]
26 [global::Cpp2ILInjected.Address(RVA = "0x7AA420", Offset = "0x7AA420", Length = "0x8")]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
28 private set
29 {
30 throw null;
31 }
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x6004434")]
35 [global::Cpp2ILInjected.Address(RVA = "0x7AA428", Offset = "0x7AA428", Length = "0x9C")]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropRule), Member = "OneFromOptionsNotScalingWithLuck", MemberParameters = new object[]
37 {
38 typeof(int),
39 typeof(int[])
40 }, ReturnType = typeof(IItemDropRule))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropRule), Member = "OneFromOptionsNotScalingWithLuckWithX", 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)]
55
56 [global::Cpp2ILInjected.Token(Token = "0x6004435")]
57 [global::Cpp2ILInjected.Address(RVA = "0x7AA4C4", Offset = "0x7AA4C4", Length = "0x8")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6004436")]
65 [global::Cpp2ILInjected.Address(RVA = "0x7AA4CC", Offset = "0x7AA4CC", Length = "0x78")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommonCode), Member = "DropItemFromNPC", MemberParameters = new object[]
70 {
71 typeof(NPC),
72 typeof(int),
73 typeof(int),
74 typeof(bool)
75 }, ReturnType = typeof(void))]
80
81 [global::Cpp2ILInjected.Token(Token = "0x6004437")]
82 [global::Cpp2ILInjected.Address(RVA = "0x7AA544", Offset = "0x7AA544", Length = "0x18C")]
83 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfo), Member = ".ctor", MemberParameters = new object[]
86 {
87 typeof(int),
88 typeof(int),
89 typeof(int),
90 typeof(float),
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chains), Member = "ReportDroprates", MemberParameters = new object[]
94 {
96 typeof(float),
98 typeof(DropRateInfoChainFeed)
99 }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x40081E1")]
107 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
108 public int[] dropIds;
109
110 [global::Cpp2ILInjected.Token(Token = "0x40081E2")]
111 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
113
114 [global::Cpp2ILInjected.Token(Token = "0x40081E3")]
115 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
116 public int chanceNumerator;
117
119 [global::Cpp2ILInjected.Token(Token = "0x40081E4")]
120 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
122 }
123}
class f__AnonymousType0<< Count > j__TPar
OneFromOptionsNotScaledWithLuckDropRule(int chanceDenominator, int chanceNumerator, params int[] options)
void ReportDroprates(List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)