Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Bottle_Base Class Reference
Inheritance diagram for Bottle_Base:
CanisterGasoline Cauldron FilteringBottle GlassBottle Pot WaterPouch_ColorBase

Private Member Functions

void ~Canteen ()
override void AffectLiquidContainerOnFill (int liquid_type, float amount)
override void AffectLiquidContainerOnTransfer (int liquidType, float amount, float sourceLiquidTemperature)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
void Canteen ()
override void EEOnCECreate ()
override void EEOnCECreate ()
override string GetEmptyingEndSoundsetHard ()
override string GetEmptyingEndSoundsetHard ()
override string GetEmptyingEndSoundsetSoft ()
override string GetEmptyingEndSoundsetSoft ()
override string GetEmptyingEndSoundsetWater ()
override string GetEmptyingEndSoundsetWater ()
override string GetEmptyingLoopSoundsetHard ()
override string GetEmptyingLoopSoundsetHard ()
override string GetEmptyingLoopSoundsetSoft ()
override string GetEmptyingLoopSoundsetSoft ()
override string GetEmptyingLoopSoundsetWater ()
override string GetEmptyingLoopSoundsetWater ()
override float GetItemOverheatThreshold ()
 disregards liquid boil threshold if filled
override string GetPouringSoundset ()
override string GetPouringSoundset ()
override bool IsOpen ()
override bool IsOpen ()
override void OnDebugSpawn ()

Private Attributes

const float DAMAGE_ENVIRO_LIQUID_COEF_MAX = 2
const float DAMAGE_ENVIRO_LIQUID_COEF_MIN = 1
const float DAMAGE_ENVIRO_TEMPDIFF_MAX = 10
const float DAMAGE_ENVIRO_TEMPDIFF_MIN = 80
const float DAMAGE_OVERHEAT_PER_S = 0.1

Detailed Description

Definition at line 1 of file canteen.c.

Constructor & Destructor Documentation

◆ ~Canteen()

void ~Canteen ( )
inlineprivate

Definition at line 8 of file canteen.c.

Member Function Documentation

◆ AffectLiquidContainerOnFill()

◆ AffectLiquidContainerOnTransfer()

override void AffectLiquidContainerOnTransfer ( int liquidType,
float amount,
float sourceLiquidTemperature )
inlineprivate

◆ CanPutInCargo() [1/2]

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 48 of file canteen.c.

◆ CanPutInCargo() [2/2]

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 44 of file waterbottle.c.

◆ Canteen()

void Canteen ( )
inlineprivate

Definition at line 3 of file canteen.c.

◆ EEOnCECreate() [1/2]

override void EEOnCECreate ( )
inlineprivate

Definition at line 64 of file canteen.c.

References g_Game, WorldData::GetAgentSpawnChance(), InsertAgent(), and Math::RandomFloat().

◆ EEOnCECreate() [2/2]

override void EEOnCECreate ( )
inlineprivate

◆ GetEmptyingEndSoundsetHard() [1/2]

override string GetEmptyingEndSoundsetHard ( )
inlineprivate

Definition at line 33 of file canteen.c.

Referenced by GetEmptyingEndSoundset().

◆ GetEmptyingEndSoundsetHard() [2/2]

override string GetEmptyingEndSoundsetHard ( )
inlineprivate

Definition at line 29 of file waterbottle.c.

◆ GetEmptyingEndSoundsetSoft() [1/2]

override string GetEmptyingEndSoundsetSoft ( )
inlineprivate

Definition at line 38 of file canteen.c.

Referenced by GetEmptyingEndSoundset().

◆ GetEmptyingEndSoundsetSoft() [2/2]

override string GetEmptyingEndSoundsetSoft ( )
inlineprivate

Definition at line 34 of file waterbottle.c.

◆ GetEmptyingEndSoundsetWater() [1/2]

override string GetEmptyingEndSoundsetWater ( )
inlineprivate

Definition at line 43 of file canteen.c.

Referenced by GetEmptyingEndSoundset().

◆ GetEmptyingEndSoundsetWater() [2/2]

override string GetEmptyingEndSoundsetWater ( )
inlineprivate

Definition at line 39 of file waterbottle.c.

◆ GetEmptyingLoopSoundsetHard() [1/2]

override string GetEmptyingLoopSoundsetHard ( )
inlineprivate

Definition at line 18 of file canteen.c.

Referenced by GetEmptyingLoopSoundset().

◆ GetEmptyingLoopSoundsetHard() [2/2]

override string GetEmptyingLoopSoundsetHard ( )
inlineprivate

Definition at line 14 of file waterbottle.c.

◆ GetEmptyingLoopSoundsetSoft() [1/2]

override string GetEmptyingLoopSoundsetSoft ( )
inlineprivate

Definition at line 23 of file canteen.c.

Referenced by GetEmptyingLoopSoundset().

◆ GetEmptyingLoopSoundsetSoft() [2/2]

override string GetEmptyingLoopSoundsetSoft ( )
inlineprivate

Definition at line 19 of file waterbottle.c.

◆ GetEmptyingLoopSoundsetWater() [1/2]

override string GetEmptyingLoopSoundsetWater ( )
inlineprivate

Definition at line 28 of file canteen.c.

Referenced by GetEmptyingLoopSoundset().

◆ GetEmptyingLoopSoundsetWater() [2/2]

override string GetEmptyingLoopSoundsetWater ( )
inlineprivate

Definition at line 24 of file waterbottle.c.

◆ GetItemOverheatThreshold()

override float GetItemOverheatThreshold ( )
inlineprivate

disregards liquid boil threshold if filled

Definition at line 109 of file waterbottle.c.

Referenced by AffectLiquidContainerOnFill(), and AffectLiquidContainerOnTransfer().

◆ GetPouringSoundset() [1/2]

override string GetPouringSoundset ( )
inlineprivate

Definition at line 13 of file canteen.c.

Referenced by PlayPouringLoopSound().

◆ GetPouringSoundset() [2/2]

override string GetPouringSoundset ( )
inlineprivate

Definition at line 9 of file waterbottle.c.

◆ IsOpen() [1/2]

override bool IsOpen ( )
inlineprivate

Definition at line 59 of file canteen.c.

◆ IsOpen() [2/2]

override bool IsOpen ( )
inlineprivate

Definition at line 55 of file waterbottle.c.

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
inlineprivate

Definition at line 75 of file waterbottle.c.

References InsertAgent().

Field Documentation

◆ DAMAGE_ENVIRO_LIQUID_COEF_MAX

const float DAMAGE_ENVIRO_LIQUID_COEF_MAX = 2
private

Definition at line 5 of file waterbottle.c.

Referenced by AffectLiquidContainerOnFill(), and AffectLiquidContainerOnTransfer().

◆ DAMAGE_ENVIRO_LIQUID_COEF_MIN

const float DAMAGE_ENVIRO_LIQUID_COEF_MIN = 1
private

Definition at line 4 of file waterbottle.c.

Referenced by AffectLiquidContainerOnFill(), and AffectLiquidContainerOnTransfer().

◆ DAMAGE_ENVIRO_TEMPDIFF_MAX

const float DAMAGE_ENVIRO_TEMPDIFF_MAX = 10
private

Definition at line 7 of file waterbottle.c.

Referenced by AffectLiquidContainerOnFill(), and AffectLiquidContainerOnTransfer().

◆ DAMAGE_ENVIRO_TEMPDIFF_MIN

const float DAMAGE_ENVIRO_TEMPDIFF_MIN = 80
private

Definition at line 6 of file waterbottle.c.

Referenced by AffectLiquidContainerOnFill(), and AffectLiquidContainerOnTransfer().

◆ DAMAGE_OVERHEAT_PER_S

const float DAMAGE_OVERHEAT_PER_S = 0.1
private

Definition at line 3 of file waterbottle.c.


The documentation for this class was generated from the following files:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/bottle_base/canteen.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/bottle_base/waterbottle.c