Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
inventoryslots.c
Go to the documentation of this file.
1
5
class
InventorySlots
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
24
void
InventorySlots
() {}
25
void
~InventorySlots
() {}
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
InventorySlots::InventorySlots
void InventorySlots()
Definition
inventoryslots.c:24
InventorySlots::GetBoneNameForSlotId
static proto bool GetBoneNameForSlotId(int slot_Id, out string bone_name)
InventorySlots::GetStackMaxForSlotId
static proto native int GetStackMaxForSlotId(int slot_Id)
InventorySlots::COUNT
const int COUNT
Amount of pre-populated slots (32).
Definition
inventoryslots.c:15
InventorySlots::~InventorySlots
void ~InventorySlots()
Definition
inventoryslots.c:25
InventorySlots::GetSelectionForSlotId
static proto bool GetSelectionForSlotId(int slot_Id, out string selection)
InventorySlots::GetSlotName
static proto native owned string GetSlotName(int id)
InventorySlots::GetSlotIdFromString
static proto native int GetSlotIdFromString(string slot_name)
InventorySlots::GetSlotDisplayName
static proto native owned string GetSlotDisplayName(int id)
InventorySlots::GetAutoAttachForSlotId
static proto native bool GetAutoAttachForSlotId(int slot_Id)
InventorySlots::INVALID
const int INVALID
Invalid slot (-1).
Definition
inventoryslots.c:17
InventorySlots::IsSlotIdValid
static proto native bool IsSlotIdValid(int slotId)
InventorySlots::GetShowForSlotId
static proto native bool GetShowForSlotId(int slot_Id)
Games
Dayz
scripts
3_game
systems
inventory
inventoryslots.c
Generated by
1.17.0