DayZ 1.24
Loading...
Searching...
No Matches
Inventory_Base Class Reference
Inheritance diagram for Inventory_Base:
[legend]
Collaboration diagram for Inventory_Base:
[legend]

Protected Member Functions

void HescoBox ()
 
void ~HescoBox ()
 
override bool HasProxyParts ()
 
override bool CanPutIntoHands (EntityAI parent)
 
void Synchronize ()
 
override void OnVariablesSynchronized ()
 
void RefreshVisuals ()
 
int GetState ()
 
void SetState (int state)
 
bool CanBeFilledAtPosition (vector position)
 
bool CanBeManipulated ()
 
void Fold ()
 
void Unfold ()
 
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
override void RefreshPhysics ()
 
void Fill ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override bool IsDeployable ()
 
override string GetDeploySoundset ()
 
override string GetLoopDeploySoundset ()
 
void PlayDeployLoopSound ()
 
void StopDeployLoopSound ()
 
override void SetActions ()
 
void FryingPan ()
 DEPRECATED.
 
void ~FryingPan ()
 
override bool IsContainer ()
 
override bool CanHaveTemperature ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override bool CanLoadItemIntoCargo (EntityAI item)
 
override void SetActions ()
 
override void EEDelete (EntityAI parent)
 
void Synchronize ()
 
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 SoundCookingStart (string sound_name)
 DEPRECATED.
 
void SoundCookingStop ()
 

Protected Attributes

EffectSound m_DeployLoopSound
 
int m_State
 
CookingMethodType m_CookingMethod
 
bool m_CookingIsDone
 
bool m_CookingIsEmpty
 
bool m_CookingIsBurned
 
Particle m_ParticleCooking
 
int m_ParticlePlaying = ParticleList.INVALID
 
int PARTICLE_BAKING_START = ParticleList.COOKING_BAKING_START
 
int PARTICLE_BAKING_DONE = ParticleList.COOKING_BAKING_DONE
 
int PARTICLE_DRYING_START = ParticleList.COOKING_DRYING_START
 
int PARTICLE_DRYING_DONE = ParticleList.COOKING_DRYING_DONE
 
int PARTICLE_BURNING_DONE = ParticleList.COOKING_BURNING_DONE
 
SoundOnVehicle m_SoundCooking
 
EffectSound m_SoundEffectCooking
 DEPRECATED.
 
string m_SoundPlaying = ""
 
const string SOUND_BAKING_START = "Baking_SoundSet"
 
const string SOUND_BAKING_DONE = "Baking_Done_SoundSet"
 DEPRECATED.
 
const string SOUND_DRYING_START = "Drying_SoundSet"
 DEPRECATED.
 
const string SOUND_DRYING_DONE = "Drying_Done_SoundSet"
 DEPRECATED.
 
const string SOUND_BURNING_DONE = "Food_Burning_SoundSet"
 DEPRECATED.
 

Private Member Functions

override void SetActions ()
 
override void SetActions ()
 
override bool CanDetachAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanDetachAttachment (EntityAI attachment)
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanDetachAttachment (EntityAI parent)
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override bool CanPutAsAttachment (EntityAI parent)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void SetActions ()
 
override bool CanDetachAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanDetachAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanDetachAttachment (EntityAI parent)
 
override void SetActions ()
 
override void InitItemVariables ()
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override bool CanPutAsAttachment (EntityAI parent)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void SetActions ()
 
override void SetActions ()
 
void SeedPackBase ()
 
void EmptySeedPack (PlayerBase player)
 
override void SetActions ()
 
override void SetActions ()
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
void XmasLights ()
 
override bool IsElectricAppliance ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
void AttachToObject (ItemBase parent)
 
void DetachFromObject (ItemBase parent)
 
void TurnOnItem (ItemBase item)
 
void TurnOffItem (ItemBase item)
 
void HideOnItem (ItemBase item)
 
override void SetActions ()
 

Private Attributes

ref Timer m_Timer
 
ItemBase m_AttachedTo = NULL
 

Static Private Attributes

static const int FOLDED = 0
 
static const int UNFOLDED = 1
 
static const int FILLED = 2
 
static const int PERCENTUAL_DAMAGE = 1
 
static const float PACK_DAMAGE_TOLERANCE = 0.5
 

Detailed Description

Definition at line 1 of file BarbedBaseballBat.c.

Constructor & Destructor Documentation

◆ ~HescoBox()

void Inventory_Base::~HescoBox ( )
inlineprotected

Definition at line 23 of file HescoBox.c.

24 {
26 }
EffectSound m_DeployLoopSound
Definition HescoBox.c:9
Manager class for managing Effect (EffectParticle, EffectSound)
static void DestroyEffect(Effect effect)
Unregisters, stops and frees the Effect.

References SEffectManager::DestroyEffect(), and m_DeployLoopSound.

◆ ~FryingPan()

void Inventory_Base::~FryingPan ( )
inlineprotected

Definition at line 37 of file FryingPan.c.

37{}

Member Function Documentation

◆ AttachToObject()

void Inventory_Base::AttachToObject ( ItemBase parent)
inlineprivate

Definition at line 27 of file XmasLights.c.

28 {
29 //SetPilotLight( false );
30
31 m_AttachedTo = parent;
32 TurnOnItem(parent);
33
34 if (GetCompEM().IsPlugged())
35 {
36 parent.SetAnimationPhase("Cord_plugged", 0);
37 parent.SetAnimationPhase("Cord_folded", 1);
38 }
39 else
40 {
41 parent.SetAnimationPhase("Cord_plugged", 1);
42 parent.SetAnimationPhase("Cord_folded", 0);
43 }
44 }
void TurnOnItem(ItemBase item)
Definition XmasLights.c:55
ItemBase m_AttachedTo
Definition XmasLights.c:3

References TurnOnItem().

◆ CanBeFilledAtPosition()

bool Inventory_Base::CanBeFilledAtPosition ( vector position)
inlineprotected

Definition at line 76 of file HescoBox.c.

77 {
78 string surface_type;
79 GetGame().SurfaceGetType(position[0], position[2], surface_type);
80
81 return GetGame().IsSurfaceDigable(surface_type);
82 }
proto native CGame GetGame()

References GetGame().

◆ CanBeManipulated()

bool Inventory_Base::CanBeManipulated ( )
inlineprotected

Definition at line 84 of file HescoBox.c.

85 {
86 if (GetState() == FOLDED)
87 return true;
88 else
89 return false;
90 }
static const int FOLDED
Definition HescoBox.c:3
int GetState()
Definition HescoBox.c:66

References FOLDED, and GetState().

Referenced by CanPutIntoHands().

◆ CanDetachAttachment() [1/6]

override bool Inventory_Base::CanDetachAttachment ( EntityAI attachment)
inlineprivate

Definition at line 21 of file AtlasBipod.c.

22 {
23 return false;
24 }

◆ CanDetachAttachment() [2/6]

override bool Inventory_Base::CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file AK_RailHndgrd.c.

4 {
5 if (Weapon_Base.Cast(parent) && parent.FindAttachmentBySlotName("weaponFlashlight")/*.IsKindOf("UniversalLight")*/)
6 return false;
7 return true;
8 }

◆ CanDetachAttachment() [3/6]

override bool Inventory_Base::CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file M4_RISHndgrd.c.

4 {
5 if (Weapon_Base.Cast(parent) && parent.FindAttachmentBySlotName("weaponFlashlight"))
6 return false;
7 return true;
8 }

◆ CanDetachAttachment() [4/6]

override bool Inventory_Base::CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file MP5_RailHndgrd.c.

4 {
5 if (Weapon_Base.Cast(parent) && parent.FindAttachmentBySlotName("weaponFlashlight")/*.IsKindOf("UniversalLight")*/)
6 return false;
7 return true;
8 }

◆ CanDetachAttachment() [5/6]

override bool Inventory_Base::CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 36 of file Nail.c.

37 {
38
39 bool is_barrel = false;
40 bool is_opened_barrel = false;
41
42 // is barrel
43 if (parent.IsKindOf("Barrel_ColorBase"))
44 is_barrel = true;
45
46 // is opened barrel
47 if (is_barrel && parent.GetAnimationPhase("Lid") == 1)
48 is_opened_barrel = true;
49
51 return true;
52 return false;
53 }

◆ CanDetachAttachment() [6/6]

override bool Inventory_Base::CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 57 of file PlantMaterial.c.

58 {
59
60 /*bool is_barrel = false;
61 bool is_opened_barrel = false;
62
63 // is barrel
64 if ( parent.IsKindOf("Barrel_ColorBase") )
65 {
66 is_barrel = true;
67 }
68
69 // is opened barrel
70 if ( is_barrel && parent.GetAnimationPhase("Lid") == 1 )
71 {
72 is_opened_barrel = true;
73 }
74
75 if ( is_opened_barrel || !is_barrel )
76 {
77 return true;
78 }*/
79 return false;
80 }

◆ CanHaveTemperature()

override bool Inventory_Base::CanHaveTemperature ( )
inlineprotected

Definition at line 44 of file FryingPan.c.

45 {
46 return true;
47 }

◆ CanLoadItemIntoCargo()

override bool Inventory_Base::CanLoadItemIntoCargo ( EntityAI item)
inlineprotected

Definition at line 91 of file FryingPan.c.

92 {
93 if (!super.CanLoadItemIntoCargo(item))
94 return false;
95
97 return false;
98
99 //can 'this' be attached to the item (->assumed smaller size than item)?
100 int slotId;
101 for (int i = 0; i < GetInventory().GetSlotIdCount(); i++)
102 {
103 slotId = GetInventory().GetSlotId(i);
104 if (item.GetInventory().HasAttachmentSlot(slotId))
105 {
106 //Print("CanLoadItemIntoCargo | item " + item + " matches in slot name: " + InventorySlots.GetSlotName(slotId) + " of " + this);
107 return false;
108 }
109 }
110
111 return true;
112 }
bool IsCargoException4x3(EntityAI item)
Definition ItemBase.c:9270

References IsCargoException4x3().

◆ CanPutAsAttachment() [1/6]

override bool Inventory_Base::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file AtlasBipod.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 bool m4_hndgrd = false;
7 bool ak_hndgrd = false;
8
9 if (parent.FindAttachmentBySlotName("weaponHandguardM4") != NULL)
10 m4_hndgrd = parent.FindAttachmentBySlotName("weaponHandguardM4").IsKindOf("M4_RISHndgrd");
11
12 if (parent.FindAttachmentBySlotName("weaponHandguardAK") != NULL)
13 ak_hndgrd = parent.FindAttachmentBySlotName("weaponHandguardAK").IsKindOf("AK_RailHndgrd");
14
15 if (m4_hndgrd || ak_hndgrd)
16 return true;
17
18 return false;
19 }

◆ CanPutAsAttachment() [2/6]

override bool Inventory_Base::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file Mosin_Bayonet.c.

14 {
15 if (!super.CanPutAsAttachment(parent)) return false;
16 if (parent.FindAttachmentBySlotName("suppressorImpro") == null && parent.FindAttachmentBySlotName("weaponMuzzleMosin") == null)
17 return true;
18 return false;
19 }

◆ CanPutAsAttachment() [3/6]

override bool Inventory_Base::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file Nail.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 const int SLOTS_ARRAY = 8;
7 bool is_barrel = false;
8 bool is_opened_barrel = false;
9 bool slot_test = true;
10 string slot_names[SLOTS_ARRAY] = { "BerryR", "BerryB", "Plant", "OakBark", "BirchBark", "Lime", "Disinfectant", "Guts" };
11
12
13 // is barrel
14 if (parent.IsKindOf("Barrel_ColorBase"))
15 is_barrel = true;
16
17 // is opened barrel
18 if (is_barrel && parent.GetAnimationPhase("Lid") == 1)
19 is_opened_barrel = true;
20
21 // all of the barrel slots are empty
22 for (int i = 0; i < SLOTS_ARRAY ; i++)
23 {
24 if (parent.FindAttachmentBySlotName(slot_names[i]) != NULL)
25 {
26 slot_test = false;
27 break;
28 }
29 }
30
32 return true;
33 return false;
34 }

◆ CanPutAsAttachment() [4/6]

override bool Inventory_Base::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file PlantMaterial.c.

4 {
5 if (!super.CanPutAsAttachment(parent))
6 return false;
7 /*const int SLOTS_ARRAY1 = 6;
8 const int SLOTS_ARRAY2 = 7;
9 bool is_barrel = false;
10 bool is_opened_barrel = false;
11 bool slot_test1 = true;
12 bool slot_test2 = true;
13 string slot_names1[SLOTS_ARRAY1] = { "Nails", "OakBark", "BirchBark", "Lime", "Disinfectant", "Guts" };
14 string slot_names2[SLOTS_ARRAY2] = { "BerryR", "BerryB", "Nails", "OakBark", "BirchBark", "Lime", "Disinfectant" };
15
16
17 // is barrel
18 if ( parent.IsKindOf("Barrel_ColorBase") )
19 {
20 is_barrel = true;
21 }
22
23 // is opened barrel
24 if ( is_barrel && parent.GetAnimationPhase("Lid") == 1 )
25 {
26 is_opened_barrel = true;
27 }
28
29 // all of the barrel attachment slots are empty (first set of ingredients)
30 for ( int idx1 = 0; idx1 < SLOTS_ARRAY1 ; idx1++ )
31 {
32 if ( parent.FindAttachmentBySlotName(slot_names1[idx1]) != NULL )
33 {
34 slot_test1 = false;
35 break;
36 }
37 }
38
39 // all of the barrel attachment slots are empty (second set of ingredients)
40 for ( int idx2 = 0; idx2 < SLOTS_ARRAY2 ; idx2++ )
41 {
42 if ( parent.FindAttachmentBySlotName(slot_names2[idx2]) != NULL )
43 {
44 slot_test2 = false;
45 break;
46 }
47 }
48
49 if ( ( is_opened_barrel && slot_test1 ) || ( is_opened_barrel && slot_test2) || !is_barrel )
50 {
51 return true;
52 }*/
53
54 return false;
55 }

◆ CanPutAsAttachment() [5/6]

override bool Inventory_Base::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file Red9Bttstck.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 if (!parent.IsKindOf("PlateCarrierHolster") && !parent.IsKindOf("PlateCarrierComplete") && !parent.IsKindOf("CarrierHolsterSolo") && !parent.IsKindOf("ChestHolster"))
7 return true;
8 return false;
9 }

◆ CanPutAsAttachment() [6/6]

override bool Inventory_Base::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file SKS_Bayonet.c.

14 {
15 if (!super.CanPutAsAttachment(parent)) return false;
16 if (parent.FindAttachmentBySlotName("suppressorImpro") == null && parent.FindAttachmentBySlotName("weaponMuzzle") == null)
17 return true;
18 return false;
19 }

◆ CanPutInCargo() [1/2]

override bool Inventory_Base::CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 3 of file Candle.c.

4 {
5 if (!super.CanPutInCargo(parent)) return false;
6 if (parent && !parent.HasSelection("flame"))
7 return true;
8 return false;
9 }

◆ CanPutInCargo() [2/2]

override bool Inventory_Base::CanPutInCargo ( EntityAI parent)
inlineprotected

Definition at line 49 of file FryingPan.c.

50 {
51 if (!super.CanPutInCargo(parent))
52 return false;
53
54 if (parent && IsCargoException4x3(parent))
55 return false;
56
57 //is 'parent' somewhere in cargo?
58 if (parent && parent.GetInventory().IsCargoInHiearchy())
59 return false;
60
61 return true;
62 }

References IsCargoException4x3().

◆ CanPutIntoHands()

override bool Inventory_Base::CanPutIntoHands ( EntityAI parent)
inlineprotected

Definition at line 33 of file HescoBox.c.

34 {
35 if (!super.CanPutIntoHands(parent))
36 return false;
37 return CanBeManipulated();
38 }
bool CanBeManipulated()
Definition HescoBox.c:84

References CanBeManipulated().

◆ CanReceiveItemIntoCargo()

override bool Inventory_Base::CanReceiveItemIntoCargo ( EntityAI item)
inlineprotected

Definition at line 64 of file FryingPan.c.

65 {
66 if (!super.CanReceiveItemIntoCargo(item))
67 return false;
68
70 return false;
71
72 //is 'this' somewhere in cargo?
73 if (GetInventory().IsCargoInHiearchy())
74 return false;
75
76 //can 'this' be attached to the item (->assumed smaller size than item)?
77 int slotId;
78 for (int i = 0; i < GetInventory().GetSlotIdCount(); i++)
79 {
80 slotId = GetInventory().GetSlotId(i);
81 if (item.GetInventory().HasAttachmentSlot(slotId))
82 {
83 //Print("CanReceiveItemIntoCargo | item " + item + " matches in slot name: " + InventorySlots.GetSlotName(slotId) + " of " + this);
84 return false;
85 }
86 }
87
88 return true;
89 }

References IsCargoException4x3().

◆ DetachFromObject()

void Inventory_Base::DetachFromObject ( ItemBase parent)
inlineprivate

Definition at line 46 of file XmasLights.c.

47 {
49 HideOnItem(parent);
50 TurnOnItem(this);
51
52 GetCompEM().UnplugThis();
53 }
void HideOnItem(ItemBase item)
Definition XmasLights.c:92

References HideOnItem(), and TurnOnItem().

◆ EEDelete()

override void Inventory_Base::EEDelete ( EntityAI parent)
inlineprotected

Definition at line 124 of file FryingPan.c.

125 {
126 super.EEDelete(parent);
127
128 //remove audio visuals
130 }
void RemoveAudioVisuals()
Definition FryingPan.c:195

References RemoveAudioVisuals().

◆ EEItemLocationChanged()

override void Inventory_Base::EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
inlineprotected

Definition at line 128 of file HescoBox.c.

129 {
130 super.EEItemLocationChanged(oldLoc, newLoc);
131
132 //RefreshPhysics();
133 }

◆ EmptySeedPack()

void Inventory_Base::EmptySeedPack ( PlayerBase player)
inlineprivate

Definition at line 9 of file SeedPackBase.c.

10 {
11
12 string pack_type = GetType();
13 string seeds_type = "";
14
15 GetGame().ConfigGetText("cfgVehicles " + pack_type + " Horticulture ContainsSeedsType", seeds_type);
16
17 int seeds_quantity_max = GetGame().ConfigGetInt("cfgVehicles " + pack_type + " Horticulture ContainsSeedsQuantity");
19
20 seeds_quantity = Math.Round(seeds_quantity_max * GetHealth01("", ""));
21
22 if (seeds_quantity < 1)
24
25 if (player)
26 {
28 player.ServerReplaceItemInHandsWithNew(lambda);
29 }
30 else
31 {
32 vector pos = GetPosition();
33 GetGame().CreateObjectEx(seeds_type, pos, ECE_PLACE_ON_SURFACE);
34 GetGame().ObjectDelete(this);
35 }
36 }
eBleedingSourceType GetType()
const int ECE_PLACE_ON_SURFACE
void EmptySeedsPackLambda(EntityAI old_item, string new_item_type, PlayerBase player, int count)
class JsonUndergroundAreaTriggerData GetPosition
Definition EnMath.c:7
static proto float Round(float f)
Returns mathematical round of value.

References ECE_PLACE_ON_SURFACE, EmptySeedsPackLambda(), GetGame(), GetPosition, GetType(), and Math::Round().

◆ Fill()

void Inventory_Base::Fill ( )
inlineprotected

Definition at line 166 of file HescoBox.c.

167 {
168 this.HideSelection("inventory");
169 this.HideSelection("placing");
170 this.ShowSelection("filled");
171
174
175 if (GetGame().IsServer())
176 {
177 Synchronize();
178 DecreaseHealth("", "", 5); //TODO Daniel implement soft skill bonus via useraction
179 SetAllowDamage(false);
180 }
181 }
void SetState(int state)
Definition HescoBox.c:71
void Synchronize()
Definition HescoBox.c:40
override void RefreshPhysics()
Definition HescoBox.c:135
static const int FILLED
Definition HescoBox.c:5

References GetGame(), RefreshPhysics(), SetState(), and Synchronize().

Referenced by OnStoreLoad().

◆ Fold()

void Inventory_Base::Fold ( )
inlineprotected

Definition at line 92 of file HescoBox.c.

93 {
94 this.ShowSelection("inventory");
95 this.HideSelection("placing");
96 this.HideSelection("filled");
97
100
101 if (GetGame().IsServer())
102 {
103 SetAllowDamage(true);
104 Synchronize();
105 float fold_damage = (GetMaxHealth("", "") / 100) * PERCENTUAL_DAMAGE;
106 DecreaseHealth("", "", fold_damage);
107 }
108 }
static const int PERCENTUAL_DAMAGE
Definition HescoBox.c:6

References FOLDED, GetGame(), RefreshPhysics(), SetState(), and Synchronize().

Referenced by OnStoreLoad().

◆ FryingPan()

void Inventory_Base::FryingPan ( )
inlineprotected

DEPRECATED.

Definition at line 30 of file FryingPan.c.

31 {
32 RegisterNetSyncVariableInt("m_CookingMethod", CookingMethodType.NONE, CookingMethodType.COUNT);
33 RegisterNetSyncVariableBool("m_CookingIsDone");
34 RegisterNetSyncVariableBool("m_CookingIsEmpty");
35 RegisterNetSyncVariableBool("m_CookingIsBurned");
36 }
CookingMethodType
Definition Cooking.c:2

◆ GetDeploySoundset()

override string Inventory_Base::GetDeploySoundset ( )
inlineprotected

Definition at line 243 of file HescoBox.c.

244 {
245 return "placeHescoBox_SoundSet";
246 }

◆ GetLoopDeploySoundset()

override string Inventory_Base::GetLoopDeploySoundset ( )
inlineprotected

Definition at line 248 of file HescoBox.c.

249 {
250 return "hescobox_deploy_SoundSet";
251 }

Referenced by PlayDeployLoopSound().

◆ GetState()

int Inventory_Base::GetState ( )
inlineprotected

Definition at line 66 of file HescoBox.c.

67 {
68 return m_State;
69 }

References m_State.

Referenced by CanBeManipulated(), and RefreshPhysics().

◆ GetValidFinishers() [1/2]

override array< int > Inventory_Base::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file Mosin_Bayonet.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [2/2]

override array< int > Inventory_Base::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file SKS_Bayonet.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ HasProxyParts()

override bool Inventory_Base::HasProxyParts ( )
inlineprotected

Definition at line 28 of file HescoBox.c.

29 {
30 return true;
31 }

◆ HescoBox()

void Inventory_Base::HescoBox ( )
inlineprotected

Definition at line 13 of file HescoBox.c.

14 {
16
17 //synchronized variables
18 RegisterNetSyncVariableInt("m_State", FOLDED, FILLED);
19 RegisterNetSyncVariableBool("m_IsSoundSynchRemote");
20 RegisterNetSyncVariableBool("m_IsDeploySound");
21 }

References FOLDED, FOLDED, and m_State.

◆ HideOnItem()

void Inventory_Base::HideOnItem ( ItemBase item)
inlineprivate

Definition at line 92 of file XmasLights.c.

93 {
94 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_r"), "");
95 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_g"), "");
96 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_b"), "");
97 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_y"), "");
98 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_r"), "");
99 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_g"), "");
100 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_b"), "");
101 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_y"), "");
102 // item.SetPilotLight(false);
103 item.SetAnimationPhase("Cord_plugged", 1);
104 item.SetAnimationPhase("Cord_folded", 1);
105 }

Referenced by DetachFromObject().

◆ InitItemVariables()

override void Inventory_Base::InitItemVariables ( )
inlineprivate

Definition at line 89 of file PlantMaterial.c.

90 {
91 super.InitItemVariables();
93 }
bool can_this_be_combined
Definition ItemBase.c:4741

References can_this_be_combined.

◆ IsContainer()

override bool Inventory_Base::IsContainer ( )
inlineprotected

Definition at line 39 of file FryingPan.c.

40 {
41 return true;
42 }

◆ IsDeployable()

override bool Inventory_Base::IsDeployable ( )
inlineprotected

Definition at line 238 of file HescoBox.c.

239 {
240 return true;
241 }

◆ IsElectricAppliance()

override bool Inventory_Base::IsElectricAppliance ( )
inlineprivate

Definition at line 10 of file XmasLights.c.

11 {
12 return true;
13 }

◆ IsMeleeFinisher() [1/2]

override bool Inventory_Base::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file Mosin_Bayonet.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [2/2]

override bool Inventory_Base::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file SKS_Bayonet.c.

4 {
5 return true;
6 }

◆ OnPlacementComplete()

override void Inventory_Base::OnPlacementComplete ( Man player,
vector position = "0 0 0",
vector orientation = "0 0 0" )
inlineprotected

Definition at line 226 of file HescoBox.c.

227 {
228 super.OnPlacementComplete(player, position, orientation);
229
230 if (GetGame().IsServer())
231 {
232 Unfold();
233
234 SetIsDeploySound(true);
235 }
236 }
void SetIsDeploySound(bool is_deploy_sound)
Definition ItemBase.c:8972
void Unfold()
Definition HescoBox.c:110

References GetGame(), SetIsDeploySound(), and Unfold().

◆ OnStoreLoad()

override bool Inventory_Base::OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

Definition at line 191 of file HescoBox.c.

192 {
193 if (!super.OnStoreLoad(ctx, version))
194 return false;
195
196 // Load folded/unfolded state
197 int state = FOLDED;
198 if (!ctx.Read(state))
199 state = FOLDED;
200
201 switch (state)
202 {
203 case FOLDED:
204 {
205 Fold();
206 break;
207 }
208 case UNFOLDED:
209 {
210 Unfold();
211 break;
212 }
213 case FILLED:
214 {
215 Fill();
216 break;
217 }
218 }
219 return true;
220 }
void Fold()
Definition HescoBox.c:92
static const int UNFOLDED
Definition HescoBox.c:4

References Fill(), FILLED, Fold(), FOLDED, Unfold(), and UNFOLDED.

◆ OnStoreSave()

override void Inventory_Base::OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 183 of file HescoBox.c.

184 {
185 super.OnStoreSave(ctx);
186
187 // Save state
188 ctx.Write(m_State);
189 }

References m_State.

◆ OnVariablesSynchronized() [1/2]

override void Inventory_Base::OnVariablesSynchronized ( )
inlineprotected

Definition at line 45 of file HescoBox.c.

46 {
47 super.OnVariablesSynchronized();
48
49 //refresh visuals
51
52 if (IsDeploySound())
54
57
60 }
bool CanPlayDeployLoopSound()
Definition ItemBase.c:9039
void PlayDeploySound()
Definition ItemBase.c:9003
bool IsDeploySound()
Definition ItemBase.c:8977
void PlayDeployLoopSound()
Definition HescoBox.c:253
void StopDeployLoopSound()
Definition HescoBox.c:262
void RefreshVisuals()
Definition HescoBox.c:62

References CanPlayDeployLoopSound(), IsDeploySound(), m_DeployLoopSound, PlayDeployLoopSound(), PlayDeploySound(), RefreshVisuals(), and StopDeployLoopSound().

◆ OnVariablesSynchronized() [2/2]

override void Inventory_Base::OnVariablesSynchronized ( )
inlineprotected

Definition at line 138 of file FryingPan.c.

139 {
140 super.OnVariablesSynchronized();
141
142 //refresh audio visuals
145 else
147 }
bool m_CookingIsDone
Definition FryingPan.c:5
bool m_CookingIsBurned
Definition FryingPan.c:7
CookingMethodType m_CookingMethod
Definition FryingPan.c:4
bool m_CookingIsEmpty
Definition FryingPan.c:6
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
Definition FryingPan.c:166

References m_CookingIsBurned, m_CookingIsDone, m_CookingIsEmpty, m_CookingMethod, RefreshAudioVisuals(), and RemoveAudioVisuals().

◆ OnWasAttached() [1/3]

override void Inventory_Base::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 21 of file Mosin_Bayonet.c.

22 {
23 super.OnWasAttached(parent, slot_id);
24
25 if (parent.IsWeapon())
26 parent.SetBayonetAttached(true, slot_id);
27 }

◆ OnWasAttached() [2/3]

override void Inventory_Base::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 21 of file SKS_Bayonet.c.

22 {
23 super.OnWasAttached(parent, slot_id);
24
25 if (parent.IsWeapon())
26 parent.SetBayonetAttached(true, slot_id);
27 }

◆ OnWasAttached() [3/3]

override void Inventory_Base::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 3 of file Attachments.c.

4 {
5 super.OnWasAttached(parent, slot_id);
6
7 if (parent.IsWeapon())
8 parent.SetButtstockAttached(true, slot_id);
9 }

◆ OnWasDetached() [1/3]

override void Inventory_Base::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 29 of file Mosin_Bayonet.c.

30 {
31 super.OnWasDetached(parent, slot_id);
32
33 if (parent.IsWeapon())
34 parent.SetBayonetAttached(false);
35 }

◆ OnWasDetached() [2/3]

override void Inventory_Base::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 29 of file SKS_Bayonet.c.

30 {
31 super.OnWasDetached(parent, slot_id);
32
33 if (parent.IsWeapon())
34 parent.SetBayonetAttached(false);
35 }

◆ OnWasDetached() [3/3]

override void Inventory_Base::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 11 of file Attachments.c.

12 {
13 super.OnWasDetached(parent, slot_id);
14
15 if (parent.IsWeapon())
16 parent.SetButtstockAttached(false);
17 }

◆ OnWorkStart()

override void Inventory_Base::OnWorkStart ( )
inlineprivate

Definition at line 15 of file XmasLights.c.

16 {
18 TurnOnItem(this);
19 }

References TurnOnItem().

◆ OnWorkStop()

override void Inventory_Base::OnWorkStop ( )
inlineprivate

Definition at line 21 of file XmasLights.c.

22 {
24 TurnOffItem(this);
25 }
void TurnOffItem(ItemBase item)
Definition XmasLights.c:76

References TurnOffItem().

◆ ParticleCookingStart()

void Inventory_Base::ParticleCookingStart ( int particle_id)
inlineprotected

Definition at line 200 of file FryingPan.c.

201 {
203 {
204 //stop previous particles
206
207 //create new
208 if (GetGame() && (!GetGame().IsDedicatedServer()))
209 {
210 vector local_pos = MiscGameplayFunctions.GetSteamPosition(GetHierarchyParent());
211 //TODO set steam position to pot (proxy) memory point (new hierarchy needed)
212 //m_ParticleCooking = Particle.Create( particle_id, this, local_pos );
213 m_ParticleCooking = ParticleManager.GetInstance().PlayInWorld(particle_id, local_pos);
215 }
216 }
217 }
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
int particle_id
int m_ParticlePlaying
Definition FryingPan.c:11
Particle m_ParticleCooking
Definition FryingPan.c:10
void ParticleCookingStop()
Definition FryingPan.c:218

References GetGame(), m_ParticleCooking, m_ParticlePlaying, particle_id, ParticleCookingStop(), and ParticleManager().

Referenced by RefreshAudioVisuals().

◆ ParticleCookingStop()

void Inventory_Base::ParticleCookingStop ( )
inlineprotected

Definition at line 218 of file FryingPan.c.

219 {
220 if (m_ParticleCooking && GetGame() && (!GetGame().IsDedicatedServer()))
221 {
225 }
226 }
void Stop()
Legacy function for backwards compatibility with 1.14 and below.
Definition Particle.c:262
static const int INVALID

References GetGame(), ParticleList::INVALID, m_ParticleCooking, and m_ParticlePlaying.

Referenced by ParticleCookingStart(), and RemoveAudioVisuals().

◆ PlayDeployLoopSound()

void Inventory_Base::PlayDeployLoopSound ( )
inlineprotected

Definition at line 253 of file HescoBox.c.

254 {
255 if (!GetGame().IsDedicatedServer())
256 {
259 }
260 }
bool IsSoundPlaying()
Get whether EffectSound is currently playing.
override string GetLoopDeploySoundset()
Definition HescoBox.c:248
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.

References GetGame(), GetLoopDeploySoundset(), GetPosition, m_DeployLoopSound, and SEffectManager::PlaySound().

Referenced by OnVariablesSynchronized().

◆ RefreshAudioVisuals()

void Inventory_Base::RefreshAudioVisuals ( CookingMethodType cooking_method,
bool is_done,
bool is_empty,
bool is_burned )
inlineprotected

Definition at line 166 of file FryingPan.c.

167 {
168 int particleId;
169
170 //if at least one of the food items is burned
171 if (is_burned)
173 //proper cooking methods
174 else
175 {
176 if (cooking_method == CookingMethodType.BAKING)
177 {
178 if (is_done)
180 else
182 }
183 else if (cooking_method == CookingMethodType.DRYING)
184 {
185 if (is_done)
187 else
189 }
190 }
191
193 }
int PARTICLE_BURNING_DONE
Definition FryingPan.c:17
int PARTICLE_DRYING_START
Definition FryingPan.c:15
int PARTICLE_DRYING_DONE
Definition FryingPan.c:16
void ParticleCookingStart(int particle_id)
Definition FryingPan.c:200
int PARTICLE_BAKING_START
Definition FryingPan.c:13
int PARTICLE_BAKING_DONE
Definition FryingPan.c:14

References PARTICLE_BAKING_DONE, PARTICLE_BAKING_START, PARTICLE_BURNING_DONE, PARTICLE_DRYING_DONE, PARTICLE_DRYING_START, and ParticleCookingStart().

Referenced by OnVariablesSynchronized().

◆ RefreshAudioVisualsOnClient()

void Inventory_Base::RefreshAudioVisualsOnClient ( CookingMethodType cooking_method,
bool is_done,
bool is_empty,
bool is_burned )
inlineprotected

◆ RefreshPhysics()

override void Inventory_Base::RefreshPhysics ( )
inlineprotected

Definition at line 135 of file HescoBox.c.

136 {
137 super.RefreshPhysics();
138
139 if (this && !ToDelete())
140 {
141 RemoveProxyPhysics("inventory");
142 RemoveProxyPhysics("placing");
143 RemoveProxyPhysics("filled");
144
145 int state = GetState();
146
147 switch (state)
148 {
149 case UNFOLDED:
150 //ShowSelection( "placing" );
151 AddProxyPhysics("placing");
152
153 return;
154
155 case FOLDED:
156 AddProxyPhysics("inventory");
157 return;
158
159 case FILLED:
160 AddProxyPhysics("filled");
161 return;
162 }
163 }
164 }

References FILLED, FOLDED, GetState(), and UNFOLDED.

Referenced by Fill(), Fold(), and Unfold().

◆ RefreshVisuals()

void Inventory_Base::RefreshVisuals ( )
inlineprotected

Definition at line 62 of file HescoBox.c.

63 {
64 }

Referenced by OnVariablesSynchronized().

◆ RemoveAudioVisuals()

void Inventory_Base::RemoveAudioVisuals ( )
inlineprotected

Definition at line 195 of file FryingPan.c.

196 {
198 }

References ParticleCookingStop().

Referenced by EEDelete(), and OnVariablesSynchronized().

◆ RemoveAudioVisualsOnClient()

void Inventory_Base::RemoveAudioVisualsOnClient ( )
inlineprotected

Definition at line 149 of file FryingPan.c.

150 {
152
153 Synchronize();
154 }

References m_CookingMethod, and Synchronize().

◆ SeedPackBase()

void Inventory_Base::SeedPackBase ( )
inlineprivate

Definition at line 5 of file SeedPackBase.c.

6 {
7 }

◆ SetActions() [1/11]

override void Inventory_Base::SetActions ( )
inlineprivate

Definition at line 3 of file Mace.c.

4 {
5 super.SetActions();
6
8 }
void AddAction(typename actionName)

References AddAction().

◆ SetActions() [2/11]

override void Inventory_Base::SetActions ( )
inlineprivate

Definition at line 3 of file Hammer.c.

References AddAction().

◆ SetActions() [3/11]

override void Inventory_Base::SetActions ( )
inlineprotected

Definition at line 271 of file HescoBox.c.

References AddAction().

◆ SetActions() [4/11]

override void Inventory_Base::SetActions ( )
inlineprotected

Definition at line 114 of file FryingPan.c.

References ActionDetach(), and AddAction().

◆ SetActions() [5/11]

◆ SetActions() [6/11]

override void Inventory_Base::SetActions ( )
inlineprivate

Definition at line 82 of file PlantMaterial.c.

83 {
84 super.SetActions();
85
87 }

References AddAction().

◆ SetActions() [7/11]

◆ SetActions() [8/11]

override void Inventory_Base::SetActions ( )
inlineprivate

Definition at line 3 of file PipeWrench.c.

4 {
5 super.SetActions();
6 //AddAction(ActionDismantlePart);
7 //AddAction(ActionRepairCarEngine);
9 }

References AddAction().

◆ SetActions() [9/11]

override void Inventory_Base::SetActions ( )
inlineprivate

Definition at line 38 of file SeedPackBase.c.

References AddAction().

◆ SetActions() [10/11]

override void Inventory_Base::SetActions ( )
inlineprivate

◆ SetActions() [11/11]

override void Inventory_Base::SetActions ( )
inlineprivate

◆ SetState()

void Inventory_Base::SetState ( int state)
inlineprotected

Definition at line 71 of file HescoBox.c.

72 {
73 m_State = state;
74 }

References m_State.

Referenced by Fill(), Fold(), and Unfold().

◆ SoundCookingStart()

void Inventory_Base::SoundCookingStart ( string sound_name)
protected

DEPRECATED.

◆ SoundCookingStop()

void Inventory_Base::SoundCookingStop ( )
protected

◆ StopDeployLoopSound()

void Inventory_Base::StopDeployLoopSound ( )
inlineprotected

Definition at line 262 of file HescoBox.c.

263 {
264 if (!GetGame().IsDedicatedServer())
265 {
268 }
269 }
void SetSoundFadeOut(float fade_out)
Set the sound fade out duration.
void SoundStop()
Stops sound.

References GetGame(), and m_DeployLoopSound.

Referenced by OnVariablesSynchronized().

◆ Synchronize() [1/2]

void Inventory_Base::Synchronize ( )
inlineprotected

Definition at line 40 of file HescoBox.c.

41 {
42 SetSynchDirty();
43 }

Referenced by Fill(), Fold(), RefreshAudioVisualsOnClient(), RemoveAudioVisualsOnClient(), and Unfold().

◆ Synchronize() [2/2]

void Inventory_Base::Synchronize ( )
inlineprotected

Definition at line 132 of file FryingPan.c.

133 {
134 if (GetGame() && GetGame().IsServer())
135 SetSynchDirty();
136 }

References GetGame().

◆ TurnOffItem()

void Inventory_Base::TurnOffItem ( ItemBase item)
inlineprivate

Definition at line 76 of file XmasLights.c.

77 {
78 if (item != NULL)
79 {
80 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_r"), "dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
81 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_g"), "dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
82 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_b"), "dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
83 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_y"), "dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
84 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_r"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
85 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_g"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
86 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_b"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
87 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_y"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
88 //item.SetPilotLight(false);
89 }
90 }

Referenced by OnWorkStop(), TurnOnItem(), and XmasLights().

◆ TurnOnItem()

void Inventory_Base::TurnOnItem ( ItemBase item)
inlineprivate

Definition at line 55 of file XmasLights.c.

56 {
57 if (item != NULL)
58 {
59 if (GetCompEM().IsWorking())
60 {
61 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_r"), "dz\\gear\\camping\\data\\christmas_lights_red_on.rvmat");
62 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_g"), "dz\\gear\\camping\\data\\christmas_lights_green_on.rvmat");
63 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_b"), "dz\\gear\\camping\\data\\christmas_lights_blue_on.rvmat");
64 item.SetObjectMaterial(item.GetHiddenSelectionIndex("xlights_glass_y"), "dz\\gear\\camping\\data\\christmas_lights_yellow_on.rvmat");
65 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_r"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
66 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_g"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
67 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_b"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
68 item.SetObjectTexture(item.GetHiddenSelectionIndex("xlights_glass_y"), "dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
69 //item.SetPilotLight(true);
70 }
71 else
73 }
74 }

References TurnOffItem().

Referenced by AttachToObject(), DetachFromObject(), and OnWorkStart().

◆ Unfold()

void Inventory_Base::Unfold ( )
inlineprotected

Definition at line 110 of file HescoBox.c.

111 {
112 this.HideSelection("inventory");
113 this.ShowSelection("placing");
114 this.HideSelection("filled");
115
118
119 if (GetGame().IsServer())
120 {
121 SetAllowDamage(true);
122 Synchronize();
123 float unfold_damage = (GetMaxHealth("", "") / 100) * PERCENTUAL_DAMAGE;
124 DecreaseHealth("", "", unfold_damage);
125 }
126 }

References GetGame(), RefreshPhysics(), SetState(), and Synchronize().

Referenced by OnPlacementComplete(), and OnStoreLoad().

◆ XmasLights()

void Inventory_Base::XmasLights ( )
inlineprivate

Definition at line 5 of file XmasLights.c.

6 {
7 TurnOffItem(this);
8 }

References TurnOffItem().

Member Data Documentation

◆ FILLED

const int Inventory_Base::FILLED = 2
staticprivate

Definition at line 5 of file HescoBox.c.

Referenced by OnStoreLoad(), and RefreshPhysics().

◆ FOLDED

const int Inventory_Base::FOLDED = 0
staticprivate

Definition at line 3 of file HescoBox.c.

Referenced by HescoBox(), OnStoreLoad(), and RefreshPhysics().

◆ m_AttachedTo

ItemBase Inventory_Base::m_AttachedTo = NULL
private

Definition at line 3 of file XmasLights.c.

◆ m_CookingIsBurned

bool Inventory_Base::m_CookingIsBurned
protected

Definition at line 7 of file FryingPan.c.

◆ m_CookingIsDone

bool Inventory_Base::m_CookingIsDone
protected

Definition at line 5 of file FryingPan.c.

◆ m_CookingIsEmpty

bool Inventory_Base::m_CookingIsEmpty
protected

Definition at line 6 of file FryingPan.c.

◆ m_CookingMethod

CookingMethodType Inventory_Base::m_CookingMethod
protected

Definition at line 4 of file FryingPan.c.

◆ m_DeployLoopSound

EffectSound Inventory_Base::m_DeployLoopSound
protected

Definition at line 9 of file HescoBox.c.

◆ m_ParticleCooking

Particle Inventory_Base::m_ParticleCooking
protected

Definition at line 10 of file FryingPan.c.

◆ m_ParticlePlaying

int Inventory_Base::m_ParticlePlaying = ParticleList.INVALID
protected

Definition at line 11 of file FryingPan.c.

◆ m_SoundCooking

SoundOnVehicle Inventory_Base::m_SoundCooking
protected

Definition at line 20 of file FryingPan.c.

◆ m_SoundEffectCooking

EffectSound Inventory_Base::m_SoundEffectCooking
protected

DEPRECATED.

Definition at line 21 of file FryingPan.c.

◆ m_SoundPlaying

string Inventory_Base::m_SoundPlaying = ""
protected

Definition at line 22 of file FryingPan.c.

◆ m_State

int Inventory_Base::m_State
protected

Definition at line 11 of file HescoBox.c.

Referenced by GetState().

◆ m_Timer

ref Timer Inventory_Base::m_Timer
private

Definition at line 8 of file HescoBox.c.

◆ PACK_DAMAGE_TOLERANCE

const float Inventory_Base::PACK_DAMAGE_TOLERANCE = 0.5
staticprivate

Definition at line 3 of file SeedPackBase.c.

◆ PARTICLE_BAKING_DONE

int Inventory_Base::PARTICLE_BAKING_DONE = ParticleList.COOKING_BAKING_DONE
protected

Definition at line 14 of file FryingPan.c.

Referenced by RefreshAudioVisuals().

◆ PARTICLE_BAKING_START

int Inventory_Base::PARTICLE_BAKING_START = ParticleList.COOKING_BAKING_START
protected

Definition at line 13 of file FryingPan.c.

Referenced by RefreshAudioVisuals().

◆ PARTICLE_BURNING_DONE

int Inventory_Base::PARTICLE_BURNING_DONE = ParticleList.COOKING_BURNING_DONE
protected

Definition at line 17 of file FryingPan.c.

Referenced by RefreshAudioVisuals().

◆ PARTICLE_DRYING_DONE

int Inventory_Base::PARTICLE_DRYING_DONE = ParticleList.COOKING_DRYING_DONE
protected

Definition at line 16 of file FryingPan.c.

Referenced by RefreshAudioVisuals().

◆ PARTICLE_DRYING_START

int Inventory_Base::PARTICLE_DRYING_START = ParticleList.COOKING_DRYING_START
protected

Definition at line 15 of file FryingPan.c.

Referenced by RefreshAudioVisuals().

◆ PERCENTUAL_DAMAGE

const int Inventory_Base::PERCENTUAL_DAMAGE = 1
staticprivate

Definition at line 6 of file HescoBox.c.

◆ SOUND_BAKING_DONE

const string Inventory_Base::SOUND_BAKING_DONE = "Baking_Done_SoundSet"
protected

DEPRECATED.

Definition at line 25 of file FryingPan.c.

◆ SOUND_BAKING_START

const string Inventory_Base::SOUND_BAKING_START = "Baking_SoundSet"
protected

Definition at line 24 of file FryingPan.c.

◆ SOUND_BURNING_DONE

const string Inventory_Base::SOUND_BURNING_DONE = "Food_Burning_SoundSet"
protected

DEPRECATED.

Definition at line 28 of file FryingPan.c.

◆ SOUND_DRYING_DONE

const string Inventory_Base::SOUND_DRYING_DONE = "Drying_Done_SoundSet"
protected

DEPRECATED.

Definition at line 27 of file FryingPan.c.

◆ SOUND_DRYING_START

const string Inventory_Base::SOUND_DRYING_START = "Drying_SoundSet"
protected

DEPRECATED.

Definition at line 26 of file FryingPan.c.

◆ UNFOLDED

const int Inventory_Base::UNFOLDED = 1
staticprivate

Definition at line 4 of file HescoBox.c.

Referenced by OnStoreLoad(), and RefreshPhysics().


The documentation for this class was generated from the following files: