49 RegisterNetSyncVariableBool(
"m_CookingIsDone");
50 RegisterNetSyncVariableBool(
"m_CookingIsEmpty");
51 RegisterNetSyncVariableBool(
"m_CookingIsBurned");
64 super.EEDelete(parent);
121 super.OnVariablesSynchronized();
283 sound.SetAutodestroy(
true);
298 else if (
GetGame().SurfaceIsPond(pos[0], pos[2]) ||
GetGame().SurfaceIsSea(pos[0], pos[2]))
316 else if (
GetGame().SurfaceIsPond(pos[0], pos[2]) ||
GetGame().SurfaceIsSea(pos[0], pos[2]))
ActionExtinguishFireplaceByLiquidCB ActionContinuousBaseCB ActionExtinguishFireplaceByLiquid()
void AddAction(typename actionName)
override void OnVariablesSynchronized()
override void EECargoIn(EntityAI item)
EffectSound m_PouringLoopSound
void StopEmptyingLoopSound()
void StopPouringLoopSound()
void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
int PARTICLE_BOILING_DONE
string GetEmptyingEndSoundset()
EffectSound m_EmptyingLoopSound
int PARTICLE_DRYING_START
void RemoveAudioVisuals()
int PARTICLE_BAKING_START
const float QUANTITY_EMPTIED_PER_SEC_DEFAULT
void ParticleCookingStart(int particle_id)
void PlayEmptyingLoopSound()
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
int PARTICLE_BURNING_DONE
void RemoveAudioVisualsOnClient()
string GetEmptyingLoopSoundset()
const string SOUND_DRYING_START
CookingMethodType m_CookingMethod
int PARTICLE_BOILING_EMPTY
float GetLiquidEmptyRate()
Returns base liquid empty rate (absolute)..preferrably use the 'GetLiquidThroughputCoef' instead.
const string SOUND_DRYING_DONE
const string SOUND_BOILING_DONE
const string SOUND_BOILING_START
enum SoundTypeBottle m_ParticleCooking
void ParticleCookingStop()
void PlayPouringLoopSound()
int PARTICLE_BOILING_START
const string SOUND_BOILING_EMPTY
override void EEDelete(EntityAI parent)
void OnRPC(ParamsReadContext ctx)
const string SOUND_BURNING_DONE
const string SOUND_BAKING_DONE
void SoundCookingStart(string sound_name)
const string SOUND_BAKING_START
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
class JsonUndergroundAreaTriggerData GetPosition
override string GetEmptyingEndSoundsetWater()
override void SetActions()
override string GetEmptyingLoopSoundsetWater()
override string GetEmptyingLoopSoundsetHard()
override string GetEmptyingEndSoundsetSoft()
override string GetEmptyingLoopSoundsetSoft()
override string GetEmptyingEndSoundsetHard()
override string GetPouringSoundset()
Wrapper class for managing sound through SEffectManager.
bool IsSoundPlaying()
Get whether EffectSound is currently playing.
void SoundStop()
Stops sound.
Legacy way of using particles in the game.
static const int COOKING_DRYING_DONE
static const int COOKING_BOILING_DONE
static const int COOKING_BOILING_EMPTY
static const int COOKING_DRYING_START
static const int COOKING_BOILING_START
static const int COOKING_BAKING_START
static const int COOKING_BURNING_DONE
static const int COOKING_BAKING_DONE
The class that will be instanced (moddable)
Manager class for managing Effect (EffectParticle, EffectSound)
static EffectSound PlaySoundOnObject(string sound_set, Object parent_object, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
static void DestroyEffect(Effect effect)
Unregisters, stops and frees the Effect.
Serialization general interface. Serializer API works with:
proto native CGame GetGame()