terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
TileDestroyedCondition.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x020009B1 RID: 2481
10 {
11 // Token: 0x0600496D RID: 18797 RVA: 0x002623FC File Offset: 0x002605FC
13 {
14 string text2;
15 string text = "TILE_DESTROYED_" + text2;
16 base..ctor(text);
17 this._user = user;
19 if ("TILE_DESTROYED_" == null)
20 {
21 }
23 }
24
25 // Token: 0x0600496E RID: 18798 RVA: 0x00262438 File Offset: 0x00260638
26 public override void Shutdown()
27 {
28 ushort[] tileIds = this._tileIds;
29 ushort[] tileIds2 = this._tileIds;
30 ushort[] tileIds3 = this._tileIds;
31 }
32
33 // Token: 0x0600496F RID: 18799 RVA: 0x0026245C File Offset: 0x0026065C
34 private static void ListenForDestruction(TileDestroyedCondition condition)
35 {
36 int num = 1;
37 if (num == 0)
38 {
39 }
40 int num2;
41 if (num == 0)
42 {
43 num2 = 1;
44 }
45 ushort[] tileIds = condition._tileIds;
46 ushort[] tileIds2;
47 if (num2 == 0)
48 {
49 tileIds2 = condition._tileIds;
50 }
51 if (tileIds2 == null)
52 {
53 }
54 ushort[] tileIds3 = condition._tileIds;
55 if (tileIds2 == null)
56 {
57 }
58 ushort[] tileIds4 = condition._tileIds;
59 }
60
61 // Token: 0x06004970 RID: 18800 RVA: 0x002624AC File Offset: 0x002606AC
62 private static void TileDestroyedListener(Player player, ushort tileId)
63 {
64 if (!true)
65 {
66 }
67 int whoAmI = player.whoAmI;
68 }
69
70 // Token: 0x06004971 RID: 18801 RVA: 0x000021DB File Offset: 0x000003DB
71 public static AchievementCondition Create(LocalUser user, params ushort[] tileIds)
72 {
73 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
74 }
75
76 // Token: 0x06004972 RID: 18802 RVA: 0x002624DC File Offset: 0x002606DC
77 // Note: this type is marked as 'beforefieldinit'.
79 {
80 }
81
82 // Token: 0x0400844F RID: 33871
83 public const string Identifier = "TILE_DESTROYED";
84
85 // Token: 0x04008450 RID: 33872
87
88 // Token: 0x04008451 RID: 33873
89 private static bool _isListenerHooked;
90
91 // Token: 0x04008452 RID: 33874
93
94 // Token: 0x04008453 RID: 33875
95 private ushort[] _tileIds;
96 }
97}
class f__AnonymousType0<< Count > j__TPar
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)