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
DropRateInfo.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200086E")]
9 public struct DropRateInfo
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60043D5")]
12 [global::Cpp2ILInjected.Address(RVA = "0x7A7084", Offset = "0x7A7084", Length = "0xC8")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommonDrop), Member = "ReportDroprates", MemberParameters = new object[]
15 {
18 }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommonDropWithRerolls), Member = "ReportDroprates", MemberParameters = new object[]
20 {
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MechBossSpawnersDropRule), Member = "ReportDroprates", MemberParameters = new object[]
25 {
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropWithConditionRule), Member = "ReportDroprates", MemberParameters = new object[]
30 {
33 }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DropOneByOne), Member = "ReportDroprates", MemberParameters = new object[]
35 {
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(OneFromOptionsNotScaledWithLuckDropRule), Member = "ReportDroprates", MemberParameters = new object[]
40 {
43 }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(OneFromOptionsDropRule), Member = "ReportDroprates", MemberParameters = new object[]
45 {
48 }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FromOptionsWithoutRepeatsDropRule), Member = "ReportDroprates", MemberParameters = new object[]
50 {
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", MemberParameters = new object[] { typeof(IEnumerable<object>) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60043D6")]
63 [global::Cpp2ILInjected.Address(RVA = "0x7A714C", Offset = "0x7A714C", Length = "0xF0")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
68 public void AddCondition(IItemDropRuleCondition condition)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x40081AF")]
74 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
75 public int itemId;
76
77 [global::Cpp2ILInjected.Token(Token = "0x40081B0")]
78 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
79 public int stackMin;
80
81 [global::Cpp2ILInjected.Token(Token = "0x40081B1")]
82 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
83 public int stackMax;
84
85 [global::Cpp2ILInjected.Token(Token = "0x40081B2")]
86 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
87 public float dropRate;
88
89 [global::Cpp2ILInjected.Token(Token = "0x40081B3")]
90 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
92 }
93}
class f__AnonymousType0<< Count > j__TPar
DropRateInfo(int itemId, int stackMin, int stackMax, float dropRate, List< IItemDropRuleCondition > conditions=null)
void AddCondition(IItemDropRuleCondition condition)
List< IItemDropRuleCondition > conditions