Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Inventory_Base Class Reference
Inheritance diagram for Inventory_Base:
AntiChemInjector AntiPestsSpray BloodTestKit BurlapSack CanOpener Cassette ChickenFeather CigarettePack_ColorBase ClearSyringe Crowbar DoorTestCamera ElectronicRepairKit Epinephrine EpoxyPutty Fabric FireExtinguisher FryingPan GorkaHelmetVisor HandSaw HandcuffKeys Handcuffs HayHook Iceaxe InjectionVial LeatherSewingKit LongWoodenStick LugWrench MeatTenderizer MessTin Morphine Paddle Pen_ColorBase SalineBag SalineBagIV ScientificBriefcaseKeys SeedBase SewingKit Spear Splint StartKitIV WeaponCleaningKit Whetstone Wrench

Protected Member Functions

bool CanBeFilledAtPosition (vector position)
bool CanBeManipulated ()
override bool CanPutIntoHands (EntityAI parent)
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
void Fill ()
void Fold ()
override string GetDeploySoundset ()
override string GetLoopDeploySoundset ()
int GetState ()
override bool HasProxyParts ()
void HescoBox ()
override bool IsDeployable ()
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnVariablesSynchronized ()
void PlayDeployLoopSound ()
override void RefreshPhysics ()
void RefreshVisuals ()
override void SetActions ()
void SetState (int state)
void StopDeployLoopSound ()
 DEPRECATED.
void Synchronize ()
void Unfold ()

Protected Attributes

ref EffectSound m_DeployLoopSound
 DEPRECATED.
int m_State

Private Member Functions

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

Private Attributes

ItemBase m_AttachedTo = NULL
ref Timer m_Timer

Static Private Attributes

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

Detailed Description

Definition at line 1 of file barbedbaseballbat.c.

Member Function Documentation

◆ AttachToObject()

void AttachToObject ( ItemBase parent)
inlineprivate

Definition at line 27 of file xmaslights.c.

References m_AttachedTo, and TurnOnItem().

◆ CanBeFilledAtPosition()

bool CanBeFilledAtPosition ( vector position)
inlineprotected

Definition at line 61 of file hescobox.c.

References g_Game.

◆ CanBeManipulated()

bool CanBeManipulated ( )
inlineprotected

Definition at line 69 of file hescobox.c.

References FOLDED, and GetState().

Referenced by CanPutIntoHands().

◆ CanDetachAttachment() [1/6]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file ak_railhndgrd.c.

◆ CanDetachAttachment() [2/6]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 27 of file atlasbipod.c.

◆ CanDetachAttachment() [3/6]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file m4_rishndgrd.c.

◆ CanDetachAttachment() [4/6]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file mp5_railhndgrd.c.

◆ CanDetachAttachment() [5/6]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 42 of file nail.c.

◆ CanDetachAttachment() [6/6]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 59 of file plantmaterial.c.

◆ CanPutAsAttachment() [1/6]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file atlasbipod.c.

◆ CanPutAsAttachment() [2/6]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file mosin_bayonet.c.

References InventorySlots::GetSlotIdFromString().

◆ CanPutAsAttachment() [3/6]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file nail.c.

◆ CanPutAsAttachment() [4/6]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file plantmaterial.c.

◆ CanPutAsAttachment() [5/6]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file red9bttstck.c.

◆ CanPutAsAttachment() [6/6]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file sks_bayonet.c.

References InventorySlots::GetSlotIdFromString().

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 3 of file candle.c.

◆ CanPutIntoHands()

override bool CanPutIntoHands ( EntityAI parent)
inlineprotected

Definition at line 25 of file hescobox.c.

References CanBeManipulated().

◆ DetachFromObject()

void DetachFromObject ( ItemBase parent)
inlineprivate

Definition at line 46 of file xmaslights.c.

References HideOnItem(), m_AttachedTo, and TurnOnItem().

◆ EEItemLocationChanged()

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

Definition at line 117 of file hescobox.c.

◆ EmptySeedPack()

void EmptySeedPack ( PlayerBase player)
inlineprivate

◆ Fill()

void Fill ( )
inlineprotected

Definition at line 155 of file hescobox.c.

References FILLED, g_Game, RefreshPhysics(), SetState(), and Synchronize().

Referenced by OnStoreLoad().

◆ Fold()

void Fold ( )
inlineprotected

Definition at line 81 of file hescobox.c.

References FOLDED, g_Game, PERCENTUAL_DAMAGE, RefreshPhysics(), SetState(), and Synchronize().

Referenced by OnStoreLoad().

◆ GetDeploySoundset()

override string GetDeploySoundset ( )
inlineprotected

Definition at line 230 of file hescobox.c.

◆ GetLoopDeploySoundset()

override string GetLoopDeploySoundset ( )
inlineprotected

Definition at line 235 of file hescobox.c.

◆ GetState()

int GetState ( )
inlineprotected

Definition at line 51 of file hescobox.c.

References m_State.

Referenced by CanBeManipulated(), and RefreshPhysics().

◆ GetValidFinishers() [1/2]

override array< int > GetValidFinishers ( )
inlineprivate

Definition at line 8 of file mosin_bayonet.c.

◆ GetValidFinishers() [2/2]

override array< int > GetValidFinishers ( )
inlineprivate

Definition at line 8 of file sks_bayonet.c.

◆ HasProxyParts()

override bool HasProxyParts ( )
inlineprotected

Definition at line 20 of file hescobox.c.

◆ HescoBox()

void HescoBox ( )
inlineprotected

Definition at line 12 of file hescobox.c.

References FILLED, FOLDED, and m_State.

◆ HideOnItem()

void HideOnItem ( ItemBase item)
inlineprivate

Definition at line 94 of file xmaslights.c.

Referenced by DetachFromObject().

◆ InitItemVariables()

override void InitItemVariables ( )
inlineprivate

Definition at line 91 of file plantmaterial.c.

References can_this_be_combined.

◆ IsDeployable()

override bool IsDeployable ( )
inlineprotected

Definition at line 225 of file hescobox.c.

◆ IsElectricAppliance()

override bool IsElectricAppliance ( )
inlineprivate

Definition at line 10 of file xmaslights.c.

◆ IsMeleeFinisher() [1/2]

override bool IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file mosin_bayonet.c.

◆ IsMeleeFinisher() [2/2]

override bool IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file sks_bayonet.c.

◆ OnPlacementComplete()

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

Definition at line 215 of file hescobox.c.

References g_Game, and Unfold().

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

Definition at line 180 of file hescobox.c.

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

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 172 of file hescobox.c.

References m_State, and Serializer::Write().

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprotected

Definition at line 39 of file hescobox.c.

References RefreshVisuals().

◆ OnWasAttached() [1/3]

override void OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 28 of file mosin_bayonet.c.

◆ OnWasAttached() [2/3]

override void OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 28 of file sks_bayonet.c.

◆ OnWasAttached() [3/3]

override void OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 3 of file attachments.c.

◆ OnWasDetached() [1/3]

override void OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 38 of file mosin_bayonet.c.

◆ OnWasDetached() [2/3]

override void OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 38 of file sks_bayonet.c.

◆ OnWasDetached() [3/3]

override void OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 13 of file attachments.c.

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprivate

Definition at line 15 of file xmaslights.c.

References m_AttachedTo, and TurnOnItem().

◆ OnWorkStop()

override void OnWorkStop ( )
inlineprivate

Definition at line 21 of file xmaslights.c.

References m_AttachedTo, and TurnOffItem().

◆ PlayDeployLoopSound()

void PlayDeployLoopSound ( )
protected

◆ RefreshPhysics()

override void RefreshPhysics ( )
inlineprotected

Definition at line 124 of file hescobox.c.

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

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

◆ RefreshVisuals()

void RefreshVisuals ( )
inlineprotected

Definition at line 47 of file hescobox.c.

Referenced by OnVariablesSynchronized().

◆ SeedPackBase()

void SeedPackBase ( )
inlineprivate

Definition at line 5 of file seedpackbase.c.

◆ SetActions() [1/10]

override void SetActions ( )
inlineprivate

Definition at line 3 of file mace.c.

References AddAction().

◆ SetActions() [2/10]

override void SetActions ( )
inlineprivate

Definition at line 3 of file hammer.c.

References AddAction().

◆ SetActions() [3/10]

override void SetActions ( )
inlineprotected

Definition at line 240 of file hescobox.c.

References ActionDeployObject(), and AddAction().

◆ SetActions() [4/10]

override void SetActions ( )
inlineprivate

Definition at line 48 of file mosin_bayonet.c.

References AddAction().

◆ SetActions() [5/10]

override void SetActions ( )
inlineprivate

Definition at line 84 of file plantmaterial.c.

References AddAction().

◆ SetActions() [6/10]

override void SetActions ( )
inlineprivate

Definition at line 48 of file sks_bayonet.c.

References ActionSkinning(), and AddAction().

◆ SetActions() [7/10]

override void SetActions ( )
inlineprivate

Definition at line 3 of file pipewrench.c.

References AddAction().

◆ SetActions() [8/10]

override void SetActions ( )
inlineprivate

Definition at line 39 of file seedpackbase.c.

References AddAction().

◆ SetActions() [9/10]

override void SetActions ( )
inlineprivate

Definition at line 3 of file sledgehammer.c.

References AddAction().

◆ SetActions() [10/10]

override void SetActions ( )
inlineprivate

Definition at line 113 of file xmaslights.c.

References AddAction().

◆ SetState()

void SetState ( int state)
inlineprotected

Definition at line 56 of file hescobox.c.

References m_State.

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

◆ StopDeployLoopSound()

void StopDeployLoopSound ( )
protected

DEPRECATED.

◆ Synchronize()

void Synchronize ( )
inlineprotected

Definition at line 34 of file hescobox.c.

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

◆ TurnOffItem()

void TurnOffItem ( ItemBase item)
inlineprivate

Definition at line 78 of file xmaslights.c.

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

◆ TurnOnItem()

void TurnOnItem ( ItemBase item)
inlineprivate

Definition at line 55 of file xmaslights.c.

References TurnOffItem().

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

◆ Unfold()

void Unfold ( )
inlineprotected

Definition at line 99 of file hescobox.c.

References g_Game, PERCENTUAL_DAMAGE, RefreshPhysics(), SetState(), Synchronize(), and UNFOLDED.

Referenced by OnPlacementComplete(), and OnStoreLoad().

◆ XmasLights()

void XmasLights ( )
inlineprivate

Definition at line 5 of file xmaslights.c.

References TurnOffItem().

Field Documentation

◆ FILLED

const int FILLED = 2
staticprivate

Definition at line 5 of file hescobox.c.

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

◆ FOLDED

const int FOLDED = 0
staticprivate

Definition at line 3 of file hescobox.c.

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

◆ m_AttachedTo

ItemBase m_AttachedTo = NULL
private

Definition at line 3 of file xmaslights.c.

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

◆ m_DeployLoopSound

ref EffectSound m_DeployLoopSound
protected

DEPRECATED.

Definition at line 250 of file hescobox.c.

◆ m_State

int m_State
protected

Definition at line 10 of file hescobox.c.

Referenced by GetState(), HescoBox(), OnStoreSave(), and SetState().

◆ m_Timer

ref Timer m_Timer
private

Definition at line 8 of file hescobox.c.

◆ PACK_DAMAGE_TOLERANCE

const float PACK_DAMAGE_TOLERANCE = 0.5
staticprivate

Definition at line 3 of file seedpackbase.c.

◆ PERCENTUAL_DAMAGE

const int PERCENTUAL_DAMAGE = 1
staticprivate

Definition at line 6 of file hescobox.c.

Referenced by Fold(), and Unfold().

◆ UNFOLDED

const int UNFOLDED = 1
staticprivate

Definition at line 4 of file hescobox.c.

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


The documentation for this class was generated from the following files:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/barbedbaseballbat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/hescobox.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/seedpackbase.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/xmaslights.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/gear/tools/mace.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/hammer.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/ak_railhndgrd.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/atlasbipod.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/candle.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/m4_rishndgrd.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/mosin_bayonet.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/mp5_railhndgrd.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/nail.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/plantmaterial.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/red9bttstck.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/sks_bayonet.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/pipewrench.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/sledgehammer.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/weaponattachments/attachments.c