DayZ 1.24
Loading...
Searching...
No Matches
MaskBase Class Reference

Private Member Functions

override bool IsObstructingVoice ()
 
override int GetVoiceEffect ()
 
override bool IsObstructingVoice ()
 
override int GetVoiceEffect ()
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 
override bool IsObstructingVoice ()
 
override int GetVoiceEffect ()
 

Detailed Description

Definition at line 1 of file AirborneMask.c.

Member Function Documentation

◆ EEHealthLevelChanged()

override void MaskBase::EEHealthLevelChanged ( int oldLevel,
int newLevel,
string zone )
inlineprivate

Definition at line 13 of file GasMask.c.

14 {
15 if (GetGame().IsServer())
16 {
18 SetQuantity(0);
19 }
20 }
bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity re...
Definition ItemBase.c:7838
proto native CGame GetGame()
const int STATE_RUINED
Definition constants.c:757

References GetGame(), SetQuantity(), and GameConstants::STATE_RUINED.

◆ GetVoiceEffect() [1/3]

override int MaskBase::GetVoiceEffect ( )
inlineprivate

Definition at line 8 of file AirborneMask.c.

9 {
11 }

◆ GetVoiceEffect() [2/3]

override int MaskBase::GetVoiceEffect ( )
inlineprivate

Definition at line 8 of file GasMask.c.

9 {
11 }

◆ GetVoiceEffect() [3/3]

override int MaskBase::GetVoiceEffect ( )
inlineprivate

Definition at line 8 of file GP5GasMask.c.

9 {
11 }

◆ IsObstructingVoice() [1/3]

override bool MaskBase::IsObstructingVoice ( )
inlineprivate

Definition at line 3 of file AirborneMask.c.

4 {
5 return true;
6 }

◆ IsObstructingVoice() [2/3]

override bool MaskBase::IsObstructingVoice ( )
inlineprivate

Definition at line 3 of file GasMask.c.

4 {
5 return true;
6 }

◆ IsObstructingVoice() [3/3]

override bool MaskBase::IsObstructingVoice ( )
inlineprivate

Definition at line 3 of file GP5GasMask.c.

4 {
5 return true;
6 }

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