Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bottle_base.c File Reference

Go to the source code of this file.

Enumerations

enum  SoundTypeBottle { POURING = 1, EMPTYING = 0 }
 

Functions

void Bottle_Base ()
 
void ~Bottle_Base ()
 
override void EEDelete (EntityAI parent)
 
override void EECargoIn (EntityAI item)
 
override void Synchronize ()
 
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
 
override void OnVariablesSynchronized ()
 
void RemoveAudioVisualsOnClient ()
 
void RefreshAudioVisualsOnClient (CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
 
void RefreshAudioVisuals (CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
 
void RemoveAudioVisuals ()
 
void ParticleCookingStart (int particle_id)
 
void ParticleCookingStop ()
 
void PlayPouringLoopSound ()
 
void StopPouringLoopSound ()
 
void PlayEmptyingLoopSound ()
 
void StopEmptyingLoopSound ()
 
string GetEmptyingLoopSoundset ()
 
string GetEmptyingEndSoundset ()
 
string GetPouringSoundset ()
 
string GetEmptyingLoopSoundsetHard ()
 
string GetEmptyingLoopSoundsetSoft ()
 
string GetEmptyingLoopSoundsetWater ()
 
string GetEmptyingEndSoundsetHard ()
 
string GetEmptyingEndSoundsetSoft ()
 
string GetEmptyingEndSoundsetWater ()
 
float GetLiquidEmptyRate ()
 Returns base liquid empty rate (absolute)..preferrably use the 'GetLiquidThroughputCoef' instead. More...
 
override void SetActions ()
 
override void OnDebugSpawn ()
 

Variables

enum SoundTypeBottle m_ParticleCooking
 
protected int m_ParticlePlaying = ParticleList.INVALID
 
protected int PARTICLE_BOILING_EMPTY = ParticleList.COOKING_BOILING_EMPTY
 
protected int PARTICLE_BOILING_START = ParticleList.COOKING_BOILING_START
 
protected int PARTICLE_BOILING_DONE = ParticleList.COOKING_BOILING_DONE
 
protected int PARTICLE_BAKING_START = ParticleList.COOKING_BAKING_START
 
protected int PARTICLE_BAKING_DONE = ParticleList.COOKING_BAKING_DONE
 
protected int PARTICLE_DRYING_START = ParticleList.COOKING_DRYING_START
 
protected int PARTICLE_DRYING_DONE = ParticleList.COOKING_DRYING_DONE
 
protected int PARTICLE_BURNING_DONE = ParticleList.COOKING_BURNING_DONE
 
protected EffectSound m_PouringLoopSound
 
protected EffectSound m_EmptyingLoopSound
 
protected CookingMethodType m_CookingMethod
 
protected bool m_CookingIsDone
 
protected bool m_CookingIsEmpty
 
protected bool m_CookingIsBurned
 
const string SOUND_BOILING_EMPTY = "Boiling_SoundSet"
 
const string SOUND_BOILING_START = "Boiling_SoundSet"
 
const string SOUND_BOILING_DONE = "Boiling_Done_SoundSet"
 
const string SOUND_DRYING_START = "Drying_SoundSet"
 
const string SOUND_DRYING_DONE = "Drying_Done_SoundSet"
 
float m_LiquidEmptyRate
 
const private float QUANTITY_EMPTIED_PER_SEC_DEFAULT = 200
 

Enumeration Type Documentation

◆ SoundTypeBottle

Enumerator
POURING 
EMPTYING 

Definition at line 1 of file bottle_base.c.

Function Documentation

◆ Bottle_Base()

void Bottle_Base ( )

Definition at line 46 of file bottle_base.c.

◆ EECargoIn()

override void EECargoIn ( EntityAI  item)

Definition at line 70 of file bottle_base.c.

◆ EEDelete()

override void EEDelete ( EntityAI  parent)

Definition at line 62 of file bottle_base.c.

◆ GetEmptyingEndSoundset()

string GetEmptyingEndSoundset ( )

Definition at line 318 of file bottle_base.c.

◆ GetEmptyingEndSoundsetHard()

string GetEmptyingEndSoundsetHard ( )

◆ GetEmptyingEndSoundsetSoft()

string GetEmptyingEndSoundsetSoft ( )

◆ GetEmptyingEndSoundsetWater()

string GetEmptyingEndSoundsetWater ( )

◆ GetEmptyingLoopSoundset()

string GetEmptyingLoopSoundset ( )

Definition at line 294 of file bottle_base.c.

◆ GetEmptyingLoopSoundsetHard()

string GetEmptyingLoopSoundsetHard ( )

◆ GetEmptyingLoopSoundsetSoft()

string GetEmptyingLoopSoundsetSoft ( )

◆ GetEmptyingLoopSoundsetWater()

string GetEmptyingLoopSoundsetWater ( )

◆ GetLiquidEmptyRate()

float GetLiquidEmptyRate ( )

Returns base liquid empty rate (absolute)..preferrably use the 'GetLiquidThroughputCoef' instead.

Definition at line 351 of file bottle_base.c.

◆ GetPouringSoundset()

string GetPouringSoundset ( )

◆ OnDebugSpawn()

override void OnDebugSpawn ( )

Definition at line 375 of file bottle_base.c.

◆ OnRPC()

override void OnRPC ( PlayerIdentity  sender,
int  rpc_type,
ParamsReadContext  ctx 
)

Definition at line 89 of file bottle_base.c.

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )

Definition at line 119 of file bottle_base.c.

◆ ParticleCookingStart()

void ParticleCookingStart ( int  particle_id)

Definition at line 236 of file bottle_base.c.

◆ ParticleCookingStop()

void ParticleCookingStop ( )

Definition at line 253 of file bottle_base.c.

◆ PlayEmptyingLoopSound()

void PlayEmptyingLoopSound ( )

Definition at line 277 of file bottle_base.c.

◆ PlayPouringLoopSound()

void PlayPouringLoopSound ( )

Definition at line 263 of file bottle_base.c.

◆ RefreshAudioVisuals()

void RefreshAudioVisuals ( CookingMethodType  cooking_method,
bool  is_done,
bool  is_empty,
bool  is_burned 
)

Definition at line 150 of file bottle_base.c.

◆ RefreshAudioVisualsOnClient()

void RefreshAudioVisualsOnClient ( CookingMethodType  cooking_method,
bool  is_done,
bool  is_empty,
bool  is_burned 
)

Definition at line 140 of file bottle_base.c.

◆ RemoveAudioVisuals()

void RemoveAudioVisuals ( )

Definition at line 229 of file bottle_base.c.

◆ RemoveAudioVisualsOnClient()

void RemoveAudioVisualsOnClient ( )

Definition at line 133 of file bottle_base.c.

◆ SetActions()

override void SetActions ( )

Definition at line 356 of file bottle_base.c.

◆ StopEmptyingLoopSound()

void StopEmptyingLoopSound ( )

Definition at line 285 of file bottle_base.c.

◆ StopPouringLoopSound()

void StopPouringLoopSound ( )

Definition at line 271 of file bottle_base.c.

◆ Synchronize()

override void Synchronize ( )

Definition at line 84 of file bottle_base.c.

◆ ~Bottle_Base()

void ~Bottle_Base ( )

Definition at line 56 of file bottle_base.c.

Variable Documentation

◆ m_CookingIsBurned

protected bool m_CookingIsBurned

Definition at line 34 of file bottle_base.c.

◆ m_CookingIsDone

protected bool m_CookingIsDone

Definition at line 32 of file bottle_base.c.

◆ m_CookingIsEmpty

protected bool m_CookingIsEmpty

Definition at line 33 of file bottle_base.c.

◆ m_CookingMethod

protected CookingMethodType m_CookingMethod

Definition at line 31 of file bottle_base.c.

◆ m_EmptyingLoopSound

protected EffectSound m_EmptyingLoopSound

Definition at line 28 of file bottle_base.c.

◆ m_LiquidEmptyRate

float m_LiquidEmptyRate

Definition at line 43 of file bottle_base.c.

◆ m_ParticleCooking

enum SoundTypeBottle m_ParticleCooking

◆ m_ParticlePlaying

protected int m_ParticlePlaying = ParticleList.INVALID

Definition at line 11 of file bottle_base.c.

◆ m_PouringLoopSound

protected EffectSound m_PouringLoopSound

Definition at line 27 of file bottle_base.c.

◆ PARTICLE_BAKING_DONE

protected int PARTICLE_BAKING_DONE = ParticleList.COOKING_BAKING_DONE

Definition at line 19 of file bottle_base.c.

◆ PARTICLE_BAKING_START

protected int PARTICLE_BAKING_START = ParticleList.COOKING_BAKING_START

Definition at line 18 of file bottle_base.c.

◆ PARTICLE_BOILING_DONE

protected int PARTICLE_BOILING_DONE = ParticleList.COOKING_BOILING_DONE

Definition at line 16 of file bottle_base.c.

◆ PARTICLE_BOILING_EMPTY

protected int PARTICLE_BOILING_EMPTY = ParticleList.COOKING_BOILING_EMPTY

Definition at line 14 of file bottle_base.c.

◆ PARTICLE_BOILING_START

protected int PARTICLE_BOILING_START = ParticleList.COOKING_BOILING_START

Definition at line 15 of file bottle_base.c.

◆ PARTICLE_BURNING_DONE

protected int PARTICLE_BURNING_DONE = ParticleList.COOKING_BURNING_DONE

Definition at line 24 of file bottle_base.c.

◆ PARTICLE_DRYING_DONE

protected int PARTICLE_DRYING_DONE = ParticleList.COOKING_DRYING_DONE

Definition at line 22 of file bottle_base.c.

◆ PARTICLE_DRYING_START

protected int PARTICLE_DRYING_START = ParticleList.COOKING_DRYING_START

Definition at line 21 of file bottle_base.c.

◆ QUANTITY_EMPTIED_PER_SEC_DEFAULT

const private float QUANTITY_EMPTIED_PER_SEC_DEFAULT = 200

Definition at line 44 of file bottle_base.c.

◆ SOUND_BOILING_DONE

const string SOUND_BOILING_DONE = "Boiling_Done_SoundSet"

Definition at line 39 of file bottle_base.c.

◆ SOUND_BOILING_EMPTY

const string SOUND_BOILING_EMPTY = "Boiling_SoundSet"

Definition at line 37 of file bottle_base.c.

◆ SOUND_BOILING_START

const string SOUND_BOILING_START = "Boiling_SoundSet"

Definition at line 38 of file bottle_base.c.

◆ SOUND_DRYING_DONE

const string SOUND_DRYING_DONE = "Drying_Done_SoundSet"

Definition at line 41 of file bottle_base.c.

◆ SOUND_DRYING_START

const string SOUND_DRYING_START = "Drying_SoundSet"

Definition at line 40 of file bottle_base.c.