DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
InventorySlots.c
См. документацию.
1
6{
9
14
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
42 static proto native int GetSlotIdFromString(string slot_name);
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);
64 static proto native int GetStackMaxForSlotId(int slot_Id);
69 static proto native bool GetShowForSlotId(int slot_Id);
74 static proto native bool GetAutoAttachForSlotId(int slot_Id);
80 static proto bool GetBoneNameForSlotId(int slot_Id, out string bone_name);
86 static proto bool GetSelectionForSlotId(int slot_Id, out string selection);
87
92 //static proto native int GetBoneIndexForSlotId (int slot_Id);
93};
94
95
static proto native bool GetAutoAttachForSlotId(int slot_Id)
const int COUNT
Amount of pre-populated slots (32)
Определения InventorySlots.c:15
static proto native owned string GetSlotDisplayName(int id)
converts slot_id to string
const int INVALID
Invalid slot (-1)
Определения InventorySlots.c:17
static proto native bool GetShowForSlotId(int slot_Id)
static proto native bool IsSlotIdValid(int slotId)
verifies existence of the slot id
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
static proto bool GetBoneNameForSlotId(int slot_Id, out string bone_name)
static proto native int GetStackMaxForSlotId(int slot_Id)
static proto bool GetSelectionForSlotId(int slot_Id, out string selection)
void InventorySlots()
Определения InventorySlots.c:24
void ~InventorySlots()
Определения InventorySlots.c:25
static proto native owned string GetSlotName(int id)
converts slot_id to string