Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PlayerItemSlotID()

static Terraria.ID.PlayerItemSlotID.PlayerItemSlotID ( )
inlinestaticprivate

Definition at line 45 of file PlayerItemSlotID.cs.

46 {
47 CanRelay = new bool[0];
48 Inventory0 = AllocateSlots(58, canNetRelay: true);
49 InventoryMouseItem = AllocateSlots(1, canNetRelay: true);
50 Armor0 = AllocateSlots(20, canNetRelay: true);
51 Dye0 = AllocateSlots(10, canNetRelay: true);
52 Misc0 = AllocateSlots(5, canNetRelay: true);
53 MiscDye0 = AllocateSlots(5, canNetRelay: true);
54 Bank1_0 = AllocateSlots(40, canNetRelay: false);
55 Bank2_0 = AllocateSlots(40, canNetRelay: false);
56 TrashItem = AllocateSlots(1, canNetRelay: false);
57 Bank3_0 = AllocateSlots(40, canNetRelay: false);
58 Bank4_0 = AllocateSlots(40, canNetRelay: true);
59 Loadout1_Armor_0 = AllocateSlots(20, canNetRelay: true);
60 Loadout1_Dye_0 = AllocateSlots(10, canNetRelay: true);
61 Loadout2_Armor_0 = AllocateSlots(20, canNetRelay: true);
62 Loadout2_Dye_0 = AllocateSlots(10, canNetRelay: true);
63 Loadout3_Armor_0 = AllocateSlots(20, canNetRelay: true);
64 Loadout3_Dye_0 = AllocateSlots(10, canNetRelay: true);
65 }
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

References Terraria.ID.PlayerItemSlotID.AllocateSlots(), Terraria.ID.PlayerItemSlotID.Armor0, Terraria.ID.PlayerItemSlotID.Bank1_0, Terraria.ID.PlayerItemSlotID.Bank2_0, Terraria.ID.PlayerItemSlotID.Bank3_0, Terraria.ID.PlayerItemSlotID.Bank4_0, Terraria.ID.PlayerItemSlotID.CanRelay, Terraria.ID.PlayerItemSlotID.Dye0, Terraria.ID.PlayerItemSlotID.Inventory0, Terraria.ID.PlayerItemSlotID.InventoryMouseItem, Terraria.ID.PlayerItemSlotID.Loadout1_Armor_0, Terraria.ID.PlayerItemSlotID.Loadout1_Dye_0, Terraria.ID.PlayerItemSlotID.Loadout2_Armor_0, Terraria.ID.PlayerItemSlotID.Loadout2_Dye_0, Terraria.ID.PlayerItemSlotID.Loadout3_Armor_0, Terraria.ID.PlayerItemSlotID.Loadout3_Dye_0, Terraria.ID.PlayerItemSlotID.Misc0, Terraria.ID.PlayerItemSlotID.MiscDye0, and Terraria.ID.PlayerItemSlotID.TrashItem.