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
NPCKilledCondition.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020009AF RID: 2479
11 {
12 // Token: 0x0600495B RID: 18779 RVA: 0x002621A0 File Offset: 0x002603A0
13 private NPCKilledCondition(LocalUser user, short npcId)
14 {
15 string text2;
16 string text = "NPC_KILLED_" + text2;
17 base..ctor(text);
18 this._user = user;
19 if ("NPC_KILLED_" == null)
20 {
21 }
23 }
24
25 // Token: 0x0600495C RID: 18780 RVA: 0x002621D4 File Offset: 0x002603D4
26 private NPCKilledCondition(LocalUser user, short[] npcIds)
27 {
28 string text2;
29 string text = "NPC_KILLED_" + text2;
30 base..ctor(text);
31 this._user = user;
33 if ("NPC_KILLED_" == null)
34 {
35 }
37 }
38
39 // Token: 0x0600495D RID: 18781 RVA: 0x00262210 File Offset: 0x00260410
40 public override void Shutdown()
41 {
42 short[] npcIds = this._npcIds;
43 short[] npcIds2 = this._npcIds;
44 short[] npcIds3 = this._npcIds;
45 }
46
47 // Token: 0x0600495E RID: 18782 RVA: 0x00262234 File Offset: 0x00260434
48 private static void ListenForPickup(NPCKilledCondition condition)
49 {
50 int num2;
51 do
52 {
53 int num = 1;
54 if (num == 0)
55 {
56 }
57 if (num == 0)
58 {
59 num2 = 1;
60 }
61 short[] npcIds = condition._npcIds;
62 }
63 while (num2 != 0);
64 if (condition._npcIds == null)
65 {
66 }
67 short[] npcIds2 = condition._npcIds;
68 short[] npcIds3 = condition._npcIds;
69 }
70
71 // Token: 0x0600495F RID: 18783 RVA: 0x0026227C File Offset: 0x0026047C
72 private static void NPCKilledListener(Player player, short npcId)
73 {
74 if (!true)
75 {
76 }
77 int whoAmI = player.whoAmI;
78 }
79
80 // Token: 0x06004960 RID: 18784 RVA: 0x000021DB File Offset: 0x000003DB
81 public static AchievementCondition Create(LocalUser user, params short[] npcIds)
82 {
83 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
84 }
85
86 // Token: 0x06004961 RID: 18785 RVA: 0x000021DB File Offset: 0x000003DB
87 public static AchievementCondition Create(LocalUser user, short npcId)
88 {
89 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
90 }
91
92 // Token: 0x06004962 RID: 18786 RVA: 0x002622AC File Offset: 0x002604AC
99
100 // Token: 0x06004963 RID: 18787 RVA: 0x002622D0 File Offset: 0x002604D0
101 // Note: this type is marked as 'beforefieldinit'.
103 {
104 }
105
106 // Token: 0x04008446 RID: 33862
107 private const string Identifier = "NPC_KILLED";
108
109 // Token: 0x04008447 RID: 33863
111
112 // Token: 0x04008448 RID: 33864
113 private static bool _isListenerHooked;
114
115 // Token: 0x04008449 RID: 33865
117
118 // Token: 0x0400844A RID: 33866
119 private short[] _npcIds;
120 }
121}
class f__AnonymousType0<< Count > j__TPar
FilterManager FilterManager
Definition LocalUser.cs:178
static Dictionary< short, List< NPCKilledCondition > > _listeners
static AchievementCondition[] CreateMany(LocalUser user, params short[] npcs)
static AchievementCondition Create(LocalUser user, short npcId)
static AchievementCondition Create(LocalUser user, params short[] npcIds)
static void NPCKilledListener(Player player, short npcId)
static void ListenForPickup(NPCKilledCondition condition)