class Bottle_BaseSource
Bottle_Base › Edible_Base › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Constructors 2
void Bottle_Base()void ~Bottle_Base()Constants 2
const string SOUND_BOILING_EMPTY = "Boiling_SoundSet"Referenced by RefreshAudioVisuals()
Members 17
protected Particle m_ParticleCookingprotected int m_ParticlePlaying = ParticleList.INVALIDprotected int PARTICLE_BOILING_EMPTY = ParticleList.COOKING_BOILING_EMPTYReferenced by RefreshAudioVisuals()
protected int PARTICLE_BOILING_START = ParticleList.COOKING_BOILING_STARTReferenced by RefreshAudioVisuals()
protected int PARTICLE_BOILING_DONE = ParticleList.COOKING_BOILING_DONEReferenced by RefreshAudioVisuals()
protected int PARTICLE_BAKING_START = ParticleList.COOKING_BAKING_STARTReferenced by RefreshAudioVisuals()
protected int PARTICLE_BAKING_DONE = ParticleList.COOKING_BAKING_DONEReferenced by RefreshAudioVisuals()
protected int PARTICLE_DRYING_START = ParticleList.COOKING_DRYING_STARTReferenced by RefreshAudioVisuals()
protected int PARTICLE_DRYING_DONE = ParticleList.COOKING_DRYING_DONEReferenced by RefreshAudioVisuals()
protected int PARTICLE_BURNING_DONE = ParticleList.COOKING_BURNING_DONEReferenced by RefreshAudioVisuals()
protected EffectSound m_PouringLoopSoundprotected EffectSound m_EmptyingLoopSoundprotected CookingMethodType m_CookingMethodReferenced by OnVariablesSynchronized(), RefreshAudioVisualsOnClient(), and RemoveAudioVisualsOnClient()
protected bool m_CookingIsDoneprotected bool m_CookingIsEmptyprotected bool m_CookingIsBurnedfloat m_LiquidEmptyRateMethods 29
override void EEDelete(EntityAI parent)override void EECargoIn(EntityAI item)override void OnFreezeStateChangeServer()override int GetConsumptionPenaltyContext()override void OnRPC(PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)References ItemBase.OnRPC(), PlayEmptyingLoopSound(), PlayPouringLoopSound()
Show 4 more
, Serializer.Read(), StopEmptyingLoopSound(), StopPouringLoopSound(), and Param1.param1override void OnVariablesSynchronized()References Edible_Base.OnVariablesSynchronized(), RefreshAudioVisuals(), RemoveAudioVisuals()
Show 4 more
, m_CookingIsBurned, m_CookingIsDone, m_CookingIsEmpty, and m_CookingMethodoverride void RemoveAudioVisualsOnClient()override void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)References Synchronize(), m_CookingIsBurned, m_CookingIsDone
Show 2 more
, m_CookingIsEmpty, and m_CookingMethodvoid RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)Remnants of old, responsible for particles and some (empty) sounds. Cooked items take care of the rest themselves
Referenced by OnVariablesSynchronized()
void RemoveAudioVisuals()void ParticleCookingStart(int particle_id)References EntityAI.GetHierarchyParent(), ParticleManager.GetInstance(), MiscGameplayFunctions.GetSteamPosition()
Show 4 more
, ParticleCookingStop(), ParticleManager.PlayInWorld(), m_ParticleCooking, and m_ParticlePlayingReferenced by RefreshAudioVisuals()
void ParticleCookingStop()References CGame.IsDedicatedServer(), Particle.Stop(), ParticleList.INVALID
Show 2 more
, m_ParticleCooking, and m_ParticlePlayingvoid PlayPouringLoopSound()References GetPouringSoundset(), EffectSound.IsSoundPlaying(), SEffectManager.PlaySoundOnObject()
Show 1 more
, m_PouringLoopSoundReferenced by OnRPC()
void StopPouringLoopSound()Referenced by OnRPC()
void PlayEmptyingLoopSound()References GetEmptyingLoopSoundset(), EffectSound.IsSoundPlaying(), SEffectManager.PlaySoundOnObject()
Show 1 more
, m_EmptyingLoopSoundReferenced by OnRPC()
void StopEmptyingLoopSound()References GetEmptyingEndSoundset(), SEffectManager.PlaySoundOnObject(), EffectSound.SetAutodestroy()
Show 2 more
, EffectSound.SoundStop(), and m_EmptyingLoopSoundReferenced by OnRPC()
string GetEmptyingLoopSoundset()References GetEmptyingLoopSoundsetHard(), GetEmptyingLoopSoundsetSoft(), GetEmptyingLoopSoundsetWater()
Referenced by PlayEmptyingLoopSound()
string GetEmptyingEndSoundset()References GetEmptyingEndSoundsetHard(), GetEmptyingEndSoundsetSoft(), GetEmptyingEndSoundsetWater()
Referenced by StopEmptyingLoopSound()
string GetPouringSoundset()Referenced by PlayPouringLoopSound()
string GetEmptyingLoopSoundsetHard()Referenced by GetEmptyingLoopSoundset()
string GetEmptyingLoopSoundsetSoft()Referenced by GetEmptyingLoopSoundset()
string GetEmptyingLoopSoundsetWater()Referenced by GetEmptyingLoopSoundset()
string GetEmptyingEndSoundsetHard()Referenced by GetEmptyingEndSoundset()
string GetEmptyingEndSoundsetSoft()Referenced by GetEmptyingEndSoundset()
string GetEmptyingEndSoundsetWater()Referenced by GetEmptyingEndSoundset()
float GetLiquidEmptyRate()Returns base liquid empty rate (absolute)..preferrably use the 'GetLiquidThroughputCoef' instead
References m_LiquidEmptyRate
Referenced by ActionEmptyBottleBaseCB.CreateActionComponent()
override void SetActions()override void OnDebugSpawn()References ItemBase.SetQuantityMax()
Referenced by WaterBottle.OnDebugSpawn()