49 RegisterNetSyncVariableBool(
"m_CookingIsDone");
50 RegisterNetSyncVariableBool(
"m_CookingIsEmpty");
51 RegisterNetSyncVariableBool(
"m_CookingIsBurned");
64 super.EEDelete( parent );
84 super.OnRPC(sender, rpc_type, ctx);
86 Param1<bool> p =
new Param1<bool>(
false);
114 super.OnVariablesSynchronized();
227 vector localPos = MiscGameplayFunctions.GetSteamPosition(GetHierarchyParent());
280 string soundSet =
"";
292 else if (
GetGame().SurfaceIsPond(pos[0], pos[2]) ||
GetGame().SurfaceIsSea(pos[0], pos[2]))
304 string soundSet =
"";
316 else if (
GetGame().SurfaceIsPond(pos[0], pos[2]) ||
GetGame().SurfaceIsSea(pos[0], pos[2]))
void AddAction(typename actionName)
void StopEmptyingLoopSound()
void StopPouringLoopSound()
protected bool m_CookingIsBurned
protected int PARTICLE_BAKING_DONE
void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
protected bool m_CookingIsEmpty
protected EffectSound m_EmptyingLoopSound
private const float QUANTITY_EMPTIED_PER_SEC_DEFAULT
string GetEmptyingEndSoundset()
protected int PARTICLE_BURNING_DONE
void RemoveAudioVisuals()
protected int PARTICLE_BAKING_START
protected int PARTICLE_DRYING_START
void ParticleCookingStart(int particle_id)
void PlayEmptyingLoopSound()
protected int PARTICLE_BOILING_START
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
void RemoveAudioVisualsOnClient()
string GetEmptyingLoopSoundset()
const string SOUND_DRYING_START
protected int PARTICLE_DRYING_DONE
float GetLiquidEmptyRate()
Returns base liquid empty rate (absolute)..preferrably use the 'GetLiquidThroughputCoef' instead.
protected int PARTICLE_BOILING_EMPTY
const string SOUND_DRYING_DONE
protected bool m_CookingIsDone
protected CookingMethodType m_CookingMethod
protected int PARTICLE_BOILING_DONE
const string SOUND_BOILING_DONE
const string SOUND_BOILING_START
enum SoundTypeBottle m_ParticleCooking
protected EffectSound m_PouringLoopSound
void ParticleCookingStop()
void PlayPouringLoopSound()
protected int m_ParticlePlaying
const string SOUND_BOILING_EMPTY
protected void SoundCookingStop()
const string SOUND_BURNING_DONE
const string SOUND_BAKING_DONE
const string SOUND_BAKING_START
protected void SoundCookingStart(string sound_name)
override void EEDelete(EntityAI parent)
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
override void OnVariablesSynchronized()
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
void OnRPC(float stamina, float stamina_cap, bool cooldown)
deprecated use, StaminaHandler uses SyncJunctures now
class JsonUndergroundAreaTriggerData GetPosition
override string GetEmptyingEndSoundsetSoft()
override string GetEmptyingEndSoundsetHard()
override string GetPouringSoundset()
override string GetEmptyingLoopSoundsetWater()
override string GetEmptyingEndSoundsetWater()
override string GetEmptyingLoopSoundsetSoft()
override string GetEmptyingLoopSoundsetHard()
override void SetActions()
bool IsSurfaceDigable(string surface)
Checks if the surface is digable.
proto native DayZPlayer GetPlayer()
string GetSurfaceType(SurfaceAnimationBone limbType)
Wrapper class for managing sound through SEffectManager.
bool IsSoundPlaying()
Get whether EffectSound is currently playing.
void SoundStop()
Stops sound.
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Legacy way of using particles in the game.
static const int COOKING_BOILING_DONE
static const int COOKING_BAKING_DONE
static const int COOKING_DRYING_START
static const int COOKING_BOILING_EMPTY
static const int COOKING_BURNING_DONE
static const int COOKING_DRYING_DONE
static const int COOKING_BAKING_START
static const int COOKING_BOILING_START
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 bool Read(void value_in)
proto native CGame GetGame()