Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
inventoryitemtype.c File Reference

Go to the source code of this file.

Data Structures

class  InventoryItemSoundBase
class  InventoryItemSoundDetach

Functions

void ~InventoryItemType ()
InventoryItemSoundAttach GetAttachSoundEvent ()
ref map< int, stringGetAttachSoundSets ()
InventoryItemSoundDetach GetDetachSoundEvent ()
ref map< int, stringGetDetachSoundSets ()
string GetSlotAttachSoundSet (int slotId=InventorySlots.INVALID)
string GetSlotDetachSoundSet (int slotId=InventorySlots.INVALID)
AnimSoundEvent GetSoundEvent (int event_id)
void InventoryItemSoundBase (string name, string cfgPath)
void InventoryItemType ()
class InventoryItemSoundBase LoadSoundEvents ()
bool SetAttachSoundEvent ()
bool SetDetachSoundEvent ()

Variables

InventoryItemSoundDetach int
ref map< int, ref InventoryItemSoundBasem_ActionSoundEvents = new map<int, ref InventoryItemSoundBase>()
InventoryItemSoundDetach m_AnimSoundEvents
ref array< ref AnimSoundEvent > m_animSoundEvents
 DEPRECATED.
ref map< int, stringm_AttachSoundSets
string m_CfgPath
ref map< int, stringm_DetachSoundSets
string m_DropSoundSet
string m_Name

Function Documentation

◆ ~InventoryItemType()

void ~InventoryItemType ( )
private

Definition at line 151 of file inventoryitemtype.c.

◆ GetAttachSoundEvent()

InventoryItemSoundAttach GetAttachSoundEvent ( )
private

Definition at line 316 of file inventoryitemtype.c.

References m_ActionSoundEvents.

Referenced by GetSlotAttachSoundSet().

◆ GetAttachSoundSets()

ref map< int, string > GetAttachSoundSets ( )
protected

Definition at line 49 of file inventoryitemtype.c.

References ErrorEx, and m_Name.

◆ GetDetachSoundEvent()

InventoryItemSoundDetach GetDetachSoundEvent ( )
private

Definition at line 321 of file inventoryitemtype.c.

References m_ActionSoundEvents.

Referenced by GetSlotDetachSoundSet().

◆ GetDetachSoundSets()

ref map< int, string > GetDetachSoundSets ( )
protected

Definition at line 54 of file inventoryitemtype.c.

References ErrorEx, m_Name, and slotName.

◆ GetSlotAttachSoundSet()

string GetSlotAttachSoundSet ( int slotId = InventorySlots.INVALID)
private

◆ GetSlotDetachSoundSet()

◆ GetSoundEvent()

AnimSoundEvent GetSoundEvent ( int event_id)
private

Definition at line 311 of file inventoryitemtype.c.

References m_AnimSoundEvents.

◆ InventoryItemSoundBase()

void InventoryItemSoundBase ( string name,
string cfgPath )
protected

Definition at line 39 of file inventoryitemtype.c.

References m_AttachSoundSets.

◆ InventoryItemType()

void InventoryItemType ( )
private

◆ LoadSoundEvents()

void LoadSoundEvents ( )

Detach sound

Attach sound

Definition at line 1 of file inventoryitemtype.c.

Referenced by InventoryItemType().

◆ SetAttachSoundEvent()

bool SetAttachSoundEvent ( )
private

◆ SetDetachSoundEvent()

bool SetDetachSoundEvent ( )
private

Variable Documentation

◆ int

◆ m_ActionSoundEvents

ref map<int, ref InventoryItemSoundBase> m_ActionSoundEvents = new map<int, ref InventoryItemSoundBase>()
private

◆ m_AnimSoundEvents

◆ m_animSoundEvents

ref array<ref AnimSoundEvent> m_animSoundEvents
private

DEPRECATED.

Definition at line 381 of file inventoryitemtype.c.

◆ m_AttachSoundSets

ref map<int, string> m_AttachSoundSets
protected

Definition at line 36 of file inventoryitemtype.c.

Referenced by InventoryItemSoundBase().

◆ m_CfgPath

string m_CfgPath
protected

Definition at line 35 of file inventoryitemtype.c.

◆ m_DetachSoundSets

ref map<int, string> m_DetachSoundSets
protected

Definition at line 37 of file inventoryitemtype.c.

◆ m_DropSoundSet

string m_DropSoundSet
private

Definition at line 144 of file inventoryitemtype.c.

◆ m_Name