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

Private Member Functions

override void SetActions ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 

Detailed Description

Definition at line 1 of file RopeBelt.c.

Member Function Documentation

◆ CanPutInCargo()

override bool RopeBelt::CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 10 of file RopeBelt.c.

11 {
12 if (!super.CanPutInCargo(parent))
13 return false;
14
15 return IsEmpty();
16 }
override bool IsEmpty()

References IsEmpty().

◆ CanReceiveAttachment()

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

Definition at line 18 of file RopeBelt.c.

19 {
20 if (!super.CanReceiveAttachment(attachment, slotId))
21 return false;
22
23 return !GetInventory().IsInCargo();
24 }

◆ SetActions()

override void RopeBelt::SetActions ( )
inlineprivate

Definition at line 3 of file RopeBelt.c.

4 {
5 super.SetActions();
6
8 }
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
void AddAction(typename actionName)

References ActionDeCraftRopeBelt(), and AddAction().


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