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
ItemCraftCondition.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20009AD")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6004949")]
14 [global::Cpp2ILInjected.Address(RVA = "0x82C1C4", Offset = "0x82C1C4", Length = "0xE4")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemCraftCondition), Member = "Create", MemberParameters = new object[]
17 {
19 typeof(short)
20 }, ReturnType = typeof(AchievementCondition))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemCraftCondition), Member = "CreateMany", MemberParameters = new object[]
22 {
24 typeof(short[])
25 }, ReturnType = typeof(AchievementCondition[]))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(short), Member = "ToString", ReturnType = typeof(string))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
29 {
30 typeof(string),
31 typeof(string)
32 }, ReturnType = typeof(string))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementCondition), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemCraftCondition), Member = "ListenForCraft", MemberParameters = new object[] { typeof(ItemCraftCondition) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
36 private ItemCraftCondition(LocalUser user, short itemId)
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x600494A")]
42 [global::Cpp2ILInjected.Address(RVA = "0x82C530", Offset = "0x82C530", Length = "0xB4")]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemCraftCondition), Member = "Create", MemberParameters = new object[]
44 {
46 typeof(short[])
47 }, ReturnType = typeof(AchievementCondition))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(short), Member = "ToString", ReturnType = typeof(string))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
51 {
52 typeof(string),
53 typeof(string)
54 }, ReturnType = typeof(string))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementCondition), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemCraftCondition), Member = "ListenForCraft", MemberParameters = new object[] { typeof(ItemCraftCondition) }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
58 private ItemCraftCondition(LocalUser user, short[] itemIds)
59 {
60 throw null;
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x600494B")]
64 [global::Cpp2ILInjected.Address(RVA = "0x82C5E4", Offset = "0x82C5E4", Length = "0xD4")]
65 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<short, object>), Member = "get_Item", MemberParameters = new object[] { typeof(short) }, ReturnType = "TValue")]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Remove", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
70 public override void Shutdown()
71 {
72 throw null;
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x600494C")]
76 [global::Cpp2ILInjected.Address(RVA = "0x82C2A8", Offset = "0x82C2A8", Length = "0x288")]
77 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemCraftCondition), Member = ".ctor", MemberParameters = new object[]
79 {
81 typeof(short)
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemCraftCondition), Member = ".ctor", MemberParameters = new object[]
84 {
86 typeof(short[])
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementsHelper.ItemCraftEvent), Member = ".ctor", MemberParameters = new object[]
90 {
91 typeof(object),
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementsHelper), Member = "add_OnItemCraft", MemberParameters = new object[] { typeof(AchievementsHelper.ItemCraftEvent) }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<short, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(short) }, ReturnType = typeof(bool))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<short, object>), Member = "set_Item", MemberParameters = new object[]
98 {
99 typeof(short),
100 typeof(object)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<short, object>), Member = "get_Item", MemberParameters = new object[] { typeof(short) }, ReturnType = "TValue")]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
104 private static void ListenForCraft(ItemCraftCondition condition)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x600494D")]
110 [global::Cpp2ILInjected.Address(RVA = "0x82C6B8", Offset = "0x82C6B8", Length = "0x1AC")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<short, object>), Member = "TryGetValue", MemberParameters = new object[]
114 {
115 typeof(short),
116 typeof(ref object)
117 }, ReturnType = typeof(bool))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
122 private static void ItemCraftListener(Player player, short itemId, int count)
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x600494E")]
128 [global::Cpp2ILInjected.Address(RVA = "0x82C864", Offset = "0x82C864", Length = "0x68")]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AchievementInitializer), Member = "Load", ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemCraftCondition), Member = ".ctor", MemberParameters = new object[]
132 {
134 typeof(short[])
135 }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
137 public static AchievementCondition Create(LocalUser user, params short[] items)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x600494F")]
143 [global::Cpp2ILInjected.Address(RVA = "0x82C8CC", Offset = "0x82C8CC", Length = "0x68")]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AchievementInitializer), Member = "Load", ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemCraftCondition), Member = ".ctor", MemberParameters = new object[]
147 {
149 typeof(short)
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
152 public static AchievementCondition Create(LocalUser user, short item)
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x6004950")]
158 [global::Cpp2ILInjected.Address(RVA = "0x82C934", Offset = "0x82C934", Length = "0xF0")]
159 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemCraftCondition), Member = ".ctor", MemberParameters = new object[]
162 {
164 typeof(short)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
167 public static AchievementCondition[] CreateMany(LocalUser user, params short[] items)
168 {
169 throw null;
170 }
171
172 // Note: this type is marked as 'beforefieldinit'.
173 [global::Cpp2ILInjected.Token(Token = "0x6004951")]
174 [global::Cpp2ILInjected.Address(RVA = "0x82CA24", Offset = "0x82CA24", Length = "0x8C")]
175 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<short, object>), Member = ".ctor", ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x400843C")]
184 public const string Identifier = "ITEM_PICKUP";
185
186 [global::Cpp2ILInjected.Token(Token = "0x400843D")]
188
189 [global::Cpp2ILInjected.Token(Token = "0x400843E")]
190 private static bool _isListenerHooked;
191
192 [global::Cpp2ILInjected.Token(Token = "0x400843F")]
193 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
194 private short[] _itemIds;
195
196 [global::Cpp2ILInjected.Token(Token = "0x4008440")]
197 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
199 }
200}
class f__AnonymousType0<< Count > j__TPar
static void ListenForCraft(ItemCraftCondition condition)
static AchievementCondition Create(LocalUser user, params short[] items)
static AchievementCondition Create(LocalUser user, short item)
static void ItemCraftListener(Player player, short itemId, int count)
static Dictionary< short, List< ItemCraftCondition > > _listeners
static AchievementCondition[] CreateMany(LocalUser user, params short[] items)