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

Private Member Functions

bool Can (PlayerBase player, ItemBase item)
 
bool CanContinue (PlayerBase player, ItemBase item)
 
override bool Can (PlayerBase player, ItemBase item)
 

Detailed Description

Definition at line 1 of file CCIBase.c.

Member Function Documentation

◆ Can() [1/2]

bool CCIBase::Can ( PlayerBase player,
ItemBase item )
inlineprivate

Definition at line 3 of file CCIBase.c.

4 {
5 return true;
6 }

Referenced by CanContinue().

◆ Can() [2/2]

override bool CCIBase::Can ( PlayerBase player,
ItemBase item )
inlineprivate

Definition at line 3 of file CCINotRuinedAndDry.c.

4 {
5 return (item && !item.IsDamageDestroyed() && item.GetWet() <= 0) ;
6 }

◆ CanContinue()

bool CCIBase::CanContinue ( PlayerBase player,
ItemBase item )
inlineprivate

Definition at line 8 of file CCIBase.c.

9 {
10 return (Can(player, item) && item && item == player.GetItemInHands());
11 }
bool Can(PlayerBase player, ItemBase item)
Definition CCIBase.c:3

References Can().


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