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
TileDestroyedCondition.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20009B1")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600496D")]
14 [global::Cpp2ILInjected.Address(RVA = "0x82E54C", Offset = "0x82E54C", Length = "0xB4")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDestroyedCondition), Member = "Create", MemberParameters = new object[]
16 {
18 typeof(ushort[])
19 }, ReturnType = typeof(AchievementCondition))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ushort), Member = "ToString", ReturnType = typeof(string))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
23 {
24 typeof(string),
25 typeof(string)
26 }, ReturnType = typeof(string))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementCondition), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x600496E")]
35 [global::Cpp2ILInjected.Address(RVA = "0x82E888", Offset = "0x82E888", Length = "0xD4")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, object>), Member = "get_Item", MemberParameters = new object[] { typeof(ushort) }, ReturnType = "TValue")]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Remove", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
41 public override void Shutdown()
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x600496F")]
47 [global::Cpp2ILInjected.Address(RVA = "0x82E600", Offset = "0x82E600", Length = "0x288")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementsHelper.TileDestroyedEvent), Member = ".ctor", MemberParameters = new object[]
51 {
52 typeof(object),
53 typeof(IntPtr)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementsHelper), Member = "add_OnTileDestroyed", MemberParameters = new object[] { typeof(AchievementsHelper.TileDestroyedEvent) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(ushort) }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, object>), Member = "set_Item", MemberParameters = new object[]
59 {
60 typeof(ushort),
61 typeof(object)
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, object>), Member = "get_Item", MemberParameters = new object[] { typeof(ushort) }, ReturnType = "TValue")]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
65 private static void ListenForDestruction(TileDestroyedCondition condition)
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x6004970")]
71 [global::Cpp2ILInjected.Address(RVA = "0x82E95C", Offset = "0x82E95C", Length = "0x1AC")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, object>), Member = "TryGetValue", MemberParameters = new object[]
75 {
76 typeof(ushort),
77 typeof(ref object)
78 }, ReturnType = typeof(bool))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
83 private static void TileDestroyedListener(Player player, ushort tileId)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x6004971")]
89 [global::Cpp2ILInjected.Address(RVA = "0x82EB08", Offset = "0x82EB08", Length = "0x68")]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AchievementInitializer), Member = "Load", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileDestroyedCondition), Member = ".ctor", MemberParameters = new object[]
93 {
95 typeof(ushort[])
96 }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
98 public static AchievementCondition Create(LocalUser user, params ushort[] tileIds)
99 {
100 throw null;
101 }
102
103 // Note: this type is marked as 'beforefieldinit'.
104 [global::Cpp2ILInjected.Token(Token = "0x6004972")]
105 [global::Cpp2ILInjected.Address(RVA = "0x82EB70", Offset = "0x82EB70", Length = "0x8C")]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, object>), Member = ".ctor", ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x400844F")]
115 public const string Identifier = "TILE_DESTROYED";
116
117 [global::Cpp2ILInjected.Token(Token = "0x4008450")]
119
120 [global::Cpp2ILInjected.Token(Token = "0x4008451")]
121 private static bool _isListenerHooked;
122
123 [global::Cpp2ILInjected.Token(Token = "0x4008452")]
124 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
126
127 [global::Cpp2ILInjected.Token(Token = "0x4008453")]
128 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
129 private ushort[] _tileIds;
130 }
131}
class f__AnonymousType0<< Count > j__TPar
delegate void TileDestroyedEvent(Player player, ushort tileId)
static void TileDestroyedListener(Player player, ushort tileId)
static AchievementCondition Create(LocalUser user, params ushort[] tileIds)
static Dictionary< ushort, List< TileDestroyedCondition > > _listeners
static void ListenForDestruction(TileDestroyedCondition condition)