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
ItemPickupCondition.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020009AE RID: 2478
11 {
12 // Token: 0x06004952 RID: 18770 RVA: 0x00262060 File Offset: 0x00260260
13 private ItemPickupCondition(LocalUser user, short itemId)
14 {
15 string text2;
16 string text = "ITEM_PICKUP_" + text2;
17 base..ctor(text);
18 this._user = user;
20 }
21
22 // Token: 0x06004953 RID: 18771 RVA: 0x00262090 File Offset: 0x00260290
23 private ItemPickupCondition(LocalUser user, short[] itemIds)
24 {
25 string text2;
26 string text = "ITEM_PICKUP_" + text2;
27 base..ctor(text);
28 this._user = user;
30 if ("ITEM_PICKUP_" == null)
31 {
32 }
34 }
35
36 // Token: 0x06004954 RID: 18772 RVA: 0x002620CC File Offset: 0x002602CC
37 public override void Shutdown()
38 {
39 short[] itemIds = this._itemIds;
40 short[] itemIds2 = this._itemIds;
41 short[] itemIds3 = this._itemIds;
42 }
43
44 // Token: 0x06004955 RID: 18773 RVA: 0x002620F0 File Offset: 0x002602F0
45 private static void ListenForPickup(ItemPickupCondition condition)
46 {
47 int num = 1;
48 if (num == 0)
49 {
50 }
51 int num2;
52 if (num == 0)
53 {
54 num2 = 1;
55 }
56 short[] itemIds = condition._itemIds;
57 short[] itemIds2;
58 if (num2 == 0)
59 {
60 itemIds2 = condition._itemIds;
61 }
62 if (itemIds2 == null)
63 {
64 }
65 short[] itemIds3 = condition._itemIds;
66 if (itemIds2 == null)
67 {
68 }
69 short[] itemIds4 = condition._itemIds;
70 }
71
72 // Token: 0x06004956 RID: 18774 RVA: 0x00262140 File Offset: 0x00260340
73 private static void ItemPickupListener(Player player, short itemId, int count)
74 {
75 if (!true)
76 {
77 }
78 int whoAmI = player.whoAmI;
79 }
80
81 // Token: 0x06004957 RID: 18775 RVA: 0x000021DB File Offset: 0x000003DB
82 public static AchievementCondition Create(LocalUser user, params short[] items)
83 {
84 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
85 }
86
87 // Token: 0x06004958 RID: 18776 RVA: 0x000021DB File Offset: 0x000003DB
88 public static AchievementCondition Create(LocalUser user, short item)
89 {
90 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
91 }
92
93 // Token: 0x06004959 RID: 18777 RVA: 0x00262170 File Offset: 0x00260370
94 public static AchievementCondition[] CreateMany(LocalUser user, params short[] items)
95 {
98 }
99
100 // Token: 0x0600495A RID: 18778 RVA: 0x00262190 File Offset: 0x00260390
101 // Note: this type is marked as 'beforefieldinit'.
103 {
104 }
105
106 // Token: 0x04008441 RID: 33857
107 public const string Identifier = "ITEM_PICKUP";
108
109 // Token: 0x04008442 RID: 33858
111
112 // Token: 0x04008443 RID: 33859
114
115 // Token: 0x04008444 RID: 33860
116 private static bool _isListenerHooked;
117
118 // Token: 0x04008445 RID: 33861
119 private short[] _itemIds;
120 }
121}
class f__AnonymousType0<< Count > j__TPar
FilterManager FilterManager
Definition LocalUser.cs:178
static void ItemPickupListener(Player player, short itemId, int count)
static AchievementCondition Create(LocalUser user, short item)
static AchievementCondition Create(LocalUser user, params short[] items)
static AchievementCondition[] CreateMany(LocalUser user, params short[] items)
static Dictionary< short, List< ItemPickupCondition > > _listeners
static void ListenForPickup(ItemPickupCondition condition)