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
PlayerItemSlotID.cs
Go to the documentation of this file.
1using System;
2
3namespace Terraria.ID
4{
5 // Token: 0x020005E4 RID: 1508
6 public static class PlayerItemSlotID
7 {
8 // Token: 0x0600356E RID: 13678 RVA: 0x0020FBAC File Offset: 0x0020DDAC
10 {
11 int num = PlayerItemSlotID.AllocateSlots(58, true);
12 int num2 = PlayerItemSlotID.AllocateSlots(1, true);
13 int num3 = PlayerItemSlotID.AllocateSlots(20, true);
14 int num4 = PlayerItemSlotID.AllocateSlots(10, true);
15 int num5 = PlayerItemSlotID.AllocateSlots(5, true);
16 int num6 = PlayerItemSlotID.AllocateSlots(5, true);
17 long num7 = 0L;
19 long num9 = 0L;
21 long num11 = 0L;
23 long num13 = 0L;
25 int num15 = PlayerItemSlotID.AllocateSlots(40, true);
26 int num16 = PlayerItemSlotID.AllocateSlots(20, true);
27 int num17 = PlayerItemSlotID.AllocateSlots(10, true);
28 int num18 = PlayerItemSlotID.AllocateSlots(20, true);
29 int num19 = PlayerItemSlotID.AllocateSlots(10, true);
30 int num20 = PlayerItemSlotID.AllocateSlots(20, true);
31 int num21 = PlayerItemSlotID.AllocateSlots(10, true);
32 }
33
34 // Token: 0x0600356F RID: 13679 RVA: 0x0020FC70 File Offset: 0x0020DE70
35 private static int AllocateSlots(int amount, bool canNetRelay)
36 {
37 int num = 1;
38 if (num == 0)
39 {
40 }
41 if (num == 0)
42 {
43 }
44 if (num == 0)
45 {
46 }
47 return 43147264;
48 }
49
50 // Token: 0x040068CB RID: 26827
51 public static readonly int Inventory0;
52
53 // Token: 0x040068CC RID: 26828
54 public static readonly int InventoryMouseItem;
55
56 // Token: 0x040068CD RID: 26829
57 public static readonly int Armor0;
58
59 // Token: 0x040068CE RID: 26830
60 public static readonly int Dye0;
61
62 // Token: 0x040068CF RID: 26831
63 public static readonly int Misc0;
64
65 // Token: 0x040068D0 RID: 26832
66 public static readonly int MiscDye0;
67
68 // Token: 0x040068D1 RID: 26833
69 public static readonly int Bank1_0;
70
71 // Token: 0x040068D2 RID: 26834
72 public static readonly int Bank2_0;
73
74 // Token: 0x040068D3 RID: 26835
75 public static readonly int TrashItem;
76
77 // Token: 0x040068D4 RID: 26836
78 public static readonly int Bank3_0;
79
80 // Token: 0x040068D5 RID: 26837
81 public static readonly int Bank4_0;
82
83 // Token: 0x040068D6 RID: 26838
84 public static readonly int Loadout1_Armor_0;
85
86 // Token: 0x040068D7 RID: 26839
87 public static readonly int Loadout1_Dye_0;
88
89 // Token: 0x040068D8 RID: 26840
90 public static readonly int Loadout2_Armor_0;
91
92 // Token: 0x040068D9 RID: 26841
93 public static readonly int Loadout2_Dye_0;
94
95 // Token: 0x040068DA RID: 26842
96 public static readonly int Loadout3_Armor_0;
97
98 // Token: 0x040068DB RID: 26843
99 public static readonly int Loadout3_Dye_0;
100
101 // Token: 0x040068DC RID: 26844
102 public static bool[] CanRelay;
103
104 // Token: 0x040068DD RID: 26845
105 private static int _nextSlotId;
106 }
107}
class f__AnonymousType0<< Count > j__TPar
static readonly int Loadout1_Armor_0
static readonly int Loadout3_Dye_0
static readonly int Loadout2_Dye_0
static readonly int Loadout1_Dye_0
static readonly int InventoryMouseItem
static readonly int Loadout3_Armor_0
static readonly int Loadout2_Armor_0
static int AllocateSlots(int amount, bool canNetRelay)
static readonly int TrashItem
static readonly int Inventory0