DayZ 1.24
Loading...
Searching...
No Matches
InventorySlots.c
Go to the documentation of this file.
1
6{
15 const int COUNT;
17 const int INVALID;
19
20#ifdef DIAG_DEVELOPER
21 private void InventorySlots() {}
22 private void ~InventorySlots() {}
23#else
26#endif
27
48 static proto native owned string GetSlotName(int id);
54 static proto native owned string GetSlotDisplayName(int id);
59 static proto native bool IsSlotIdValid(int slotId);
86 static proto bool GetSelectionForSlotId(int slot_Id, out string selection);
87
92 //static proto native int GetBoneIndexForSlotId (int slot_Id);
93};
94
provides access to slot configuration
static proto native bool IsSlotIdValid(int slotId)
verifies existence of the slot id
static proto bool GetBoneNameForSlotId(int slot_Id, out string bone_name)
const int COUNT
Amount of pre-populated slots (32)
static proto native int GetStackMaxForSlotId(int slot_Id)
static proto native owned string GetSlotName(int id)
converts slot_id to string
const int INVALID
Invalid slot (-1)
static proto native bool GetShowForSlotId(int slot_Id)
static proto native owned string GetSlotDisplayName(int id)
converts slot_id to string
static proto bool GetSelectionForSlotId(int slot_Id, out string selection)
static proto native bool GetAutoAttachForSlotId(int slot_Id)
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id