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
ItemCraftCondition.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020009AD RID: 2477
11 {
12 // Token: 0x06004949 RID: 18761 RVA: 0x00261F18 File Offset: 0x00260118
13 private ItemCraftCondition(LocalUser user, short itemId)
14 {
15 string text2;
16 string text = "ITEM_PICKUP_" + text2;
17 base..ctor(text);
18 this._user = user;
19 if ("ITEM_PICKUP_" == null)
20 {
21 }
23 }
24
25 // Token: 0x0600494A RID: 18762 RVA: 0x00261F4C File Offset: 0x0026014C
26 private ItemCraftCondition(LocalUser user, short[] itemIds)
27 {
28 string text2;
29 string text = "ITEM_PICKUP_" + text2;
30 base..ctor(text);
32 this._user = user;
33 if ("ITEM_PICKUP_" == null)
34 {
35 }
37 }
38
39 // Token: 0x0600494B RID: 18763 RVA: 0x00261F88 File Offset: 0x00260188
40 public override void Shutdown()
41 {
42 short[] itemIds = this._itemIds;
43 short[] itemIds2 = this._itemIds;
44 short[] itemIds3 = this._itemIds;
45 }
46
47 // Token: 0x0600494C RID: 18764 RVA: 0x00261FAC File Offset: 0x002601AC
48 private static void ListenForCraft(ItemCraftCondition condition)
49 {
50 int num = 1;
51 if (num == 0)
52 {
53 }
54 int num2;
55 if (num == 0)
56 {
57 num2 = 1;
58 }
59 short[] itemIds = condition._itemIds;
60 short[] itemIds2;
61 if (num2 == 0)
62 {
63 itemIds2 = condition._itemIds;
64 }
65 if (itemIds2 == null)
66 {
67 }
68 short[] itemIds3 = condition._itemIds;
69 if (itemIds2 == null)
70 {
71 }
72 short[] itemIds4 = condition._itemIds;
73 }
74
75 // Token: 0x0600494D RID: 18765 RVA: 0x00261FFC File Offset: 0x002601FC
76 private static void ItemCraftListener(Player player, short itemId, int count)
77 {
78 if (!true)
79 {
80 }
81 int whoAmI = player.whoAmI;
82 }
83
84 // Token: 0x0600494E RID: 18766 RVA: 0x000021DB File Offset: 0x000003DB
85 public static AchievementCondition Create(LocalUser user, params short[] items)
86 {
87 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
88 }
89
90 // Token: 0x0600494F RID: 18767 RVA: 0x000021DB File Offset: 0x000003DB
91 public static AchievementCondition Create(LocalUser user, short item)
92 {
93 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
94 }
95
96 // Token: 0x06004950 RID: 18768 RVA: 0x0026202C File Offset: 0x0026022C
103
104 // Token: 0x06004951 RID: 18769 RVA: 0x00262050 File Offset: 0x00260250
105 // Note: this type is marked as 'beforefieldinit'.
107 {
108 }
109
110 // Token: 0x0400843C RID: 33852
111 public const string Identifier = "ITEM_PICKUP";
112
113 // Token: 0x0400843D RID: 33853
115
116 // Token: 0x0400843E RID: 33854
117 private static bool _isListenerHooked;
118
119 // Token: 0x0400843F RID: 33855
120 private short[] _itemIds;
121
122 // Token: 0x04008440 RID: 33856
124 }
125}
class f__AnonymousType0<< Count > j__TPar
FilterManager FilterManager
Definition LocalUser.cs:178
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)