|
Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the documentation of this file.
33 RegisterNetSyncVariableBool(
"m_CookingIsDone" );
34 RegisterNetSyncVariableBool(
"m_CookingIsEmpty" );
35 RegisterNetSyncVariableBool(
"m_CookingIsBurned" );
39 override bool IsContainer()
51 if ( !super.CanPutInCargo( parent ) )
58 if (parent && parent.GetInventory().IsCargoInHiearchy())
66 if ( !super.CanReceiveItemIntoCargo( item ) )
73 if (GetInventory().IsCargoInHiearchy())
78 for (
int i = 0; i < GetInventory().GetSlotIdCount(); i++)
80 slotId = GetInventory().GetSlotId(i);
81 if (item.GetInventory().HasAttachmentSlot(slotId))
93 if ( !super.CanLoadItemIntoCargo( item ) )
101 for (
int i = 0; i < GetInventory().GetSlotIdCount(); i++)
103 slotId = GetInventory().GetSlotId(i);
104 if (item.GetInventory().HasAttachmentSlot(slotId))
126 super.EEDelete( parent );
142 super.OnVariablesSynchronized();
218 vector local_pos = MiscGameplayFunctions.GetSteamPosition( GetHierarchyParent() );
proto native CGame GetGame()
protected int PARTICLE_BAKING_DONE
protected int m_ParticlePlaying
void RemoveAudioVisuals()
protected CookingMethodType m_CookingMethod
protected int PARTICLE_DRYING_DONE
protected EffectSound m_SoundEffectCooking
DEPRECATED.
Legacy way of using particles in the game.
protected int PARTICLE_BAKING_START
const string SOUND_BAKING_DONE
protected bool m_CookingIsEmpty
override bool CanHaveTemperature()
bool IsCargoException4x3(EntityAI item)
override bool CanReceiveItemIntoCargo(EntityAI item)
void Synchronize(eInjuryHandlerLevels level)
void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
const string SOUND_DRYING_DONE
override void OnVariablesSynchronized()
protected void SoundCookingStart(string sound_name)
protected SoundOnVehicle m_SoundCooking
override void EEDelete(EntityAI parent)
void ParticleCookingStop()
Wrapper class for managing sound through SEffectManager.
void ParticleCookingStart(int particle_id)
override bool CanPutInCargo(EntityAI parent)
protected int PARTICLE_DRYING_START
void AddAction(typename actionName)
ActionAttachWheels ActionAttach
protected int PARTICLE_BURNING_DONE
void RemoveAudioVisualsOnClient()
const string SOUND_BAKING_START
protected void SoundCookingStop()
const string SOUND_BURNING_DONE
protected bool m_CookingIsBurned
protected bool m_CookingIsDone
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
override bool CanLoadItemIntoCargo(EntityAI item)
enum SoundTypeBottle m_ParticleCooking
const string SOUND_DRYING_START
protected string m_SoundPlaying