DayZ 1.24
Loading...
Searching...
No Matches
Belt_Base Class Reference
Inheritance diagram for Belt_Base:
[legend]
Collaboration diagram for Belt_Base:
[legend]

Private Member Functions

override bool CanPutInCargo (EntityAI parent)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
- Private Member Functions inherited from Clothing
void InitGlobalExclusionValues ()
 
void CheckParent ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnWork (float consumed_energy)
 
void OnLightCreated ()
 
void CreateHeadtorchLight ()
 
void AttachLightOnHead (EntityAI person)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void SetActions ()
 
override bool IsLightSource ()
 
override ItemBase GetLightSourceItem ()
 
override void OnInvisibleSet (bool invisible)
 

Detailed Description

Definition at line 1 of file LeatherBelt_ColorBase.c.

Member Function Documentation

◆ CanPutInCargo()

override bool Belt_Base::CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 3 of file LeatherBelt_ColorBase.c.

4 {
5 if (!super.CanPutInCargo(parent))
6 return false;
7
8 return IsEmpty();
9 }
override bool IsEmpty()

References IsEmpty().

◆ CanReceiveAttachment()

override bool Belt_Base::CanReceiveAttachment ( EntityAI attachment,
int slotId )
inlineprivate

Definition at line 11 of file LeatherBelt_ColorBase.c.

12 {
13 if (!super.CanReceiveAttachment(attachment, slotId))
14 return false;
15
16 return !GetInventory().IsInCargo();
17 }

The documentation for this class was generated from the following file: