PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
Inventory_Base Class Reference

Private Member Functions

override void SetActions ()
 
override void SetActions ()
 
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 ()
 
override void SetActions ()
 
void PlayDeployLoopSound ()
 
void StopDeployLoopSound ()
 DEPRECATED.
 
override bool CanDetachAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanDetachAttachment (EntityAI parent)
 
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
 
protected int m_State
 
protected ref EffectSound m_DeployLoopSound
 DEPRECATED.
 
private 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 private const float PACK_DAMAGE_TOLERANCE = 0.5
 

Member Function Documentation

◆ AttachToObject()

void AttachToObject ( ItemBase  parent)
inlineprivate

References TurnOnItem().

◆ CanBeFilledAtPosition()

bool CanBeFilledAtPosition ( vector  position)
inlineprivate

◆ CanBeManipulated()

bool CanBeManipulated ( )
inlineprivate

References FOLDED, and GetState().

Referenced by CanPutIntoHands().

◆ CanDetachAttachment() [1/6]

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

◆ CanDetachAttachment() [2/6]

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

◆ CanDetachAttachment() [3/6]

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

◆ CanDetachAttachment() [4/6]

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

◆ CanDetachAttachment() [5/6]

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

◆ CanDetachAttachment() [6/6]

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutAsAttachment() [1/6]

override bool CanPutAsAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutAsAttachment() [2/6]

override bool CanPutAsAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutAsAttachment() [3/6]

override bool CanPutAsAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutAsAttachment() [4/6]

override bool CanPutAsAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutAsAttachment() [5/6]

override bool CanPutAsAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutAsAttachment() [6/6]

override bool CanPutAsAttachment ( EntityAI  parent)
inlineprivate

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI  parent)
inlineprivate

◆ CanPutIntoHands()

override bool CanPutIntoHands ( EntityAI  parent)
inlineprivate

References CanBeManipulated().

◆ DetachFromObject()

void DetachFromObject ( ItemBase  parent)
inlineprivate

References HideOnItem(), and TurnOnItem().

◆ EEItemLocationChanged()

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

◆ EmptySeedPack()

◆ Fill()

void Fill ( )
inlineprivate

◆ Fold()

void Fold ( )
inlineprivate

◆ GetDeploySoundset()

override string GetDeploySoundset ( )
inlineprivate

◆ GetLoopDeploySoundset()

override string GetLoopDeploySoundset ( )
inlineprivate

◆ GetState()

int GetState ( )
inlineprivate

◆ GetValidFinishers() [1/2]

override array< int > GetValidFinishers ( )
inlineprivate

◆ GetValidFinishers() [2/2]

override array< int > GetValidFinishers ( )
inlineprivate

◆ HasProxyParts()

override bool HasProxyParts ( )
inlineprivate

◆ HescoBox()

void HescoBox ( )
inlineprivate

References FOLDED, FOLDED, and m_State.

◆ HideOnItem()

void HideOnItem ( ItemBase  item)
inlineprivate

Referenced by DetachFromObject().

◆ InitItemVariables()

override void InitItemVariables ( )
inlineprivate

References can_this_be_combined.

◆ IsDeployable()

override bool IsDeployable ( )
inlineprivate

◆ IsElectricAppliance()

override bool IsElectricAppliance ( )
inlineprivate

◆ IsMeleeFinisher() [1/2]

override bool IsMeleeFinisher ( )
inlineprivate

◆ IsMeleeFinisher() [2/2]

override bool IsMeleeFinisher ( )
inlineprivate

◆ OnPlacementComplete()

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

References GetGame(), and Unfold().

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)
inlineprivate

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext  ctx)
inlineprivate

References m_State, and Serializer::Write().

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprivate

References RefreshVisuals().

◆ OnWasAttached() [1/3]

override void OnWasAttached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

◆ OnWasAttached() [2/3]

override void OnWasAttached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

◆ OnWasAttached() [3/3]

override void OnWasAttached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

◆ OnWasDetached() [1/3]

override void OnWasDetached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

◆ OnWasDetached() [2/3]

override void OnWasDetached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

◆ OnWasDetached() [3/3]

override void OnWasDetached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprivate

References TurnOnItem().

◆ OnWorkStop()

override void OnWorkStop ( )
inlineprivate

References TurnOffItem().

◆ PlayDeployLoopSound()

void PlayDeployLoopSound ( )
private

◆ RefreshPhysics()

override void RefreshPhysics ( )
inlineprivate

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

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

◆ RefreshVisuals()

void RefreshVisuals ( )
inlineprivate

Referenced by OnVariablesSynchronized().

◆ SeedPackBase()

void SeedPackBase ( )
inlineprivate

◆ SetActions() [1/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [2/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [3/10]

override void SetActions ( )
inlineprivate

◆ SetActions() [4/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [5/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [6/10]

override void SetActions ( )
inlineprivate

References ActionSkinning(), and AddAction().

◆ SetActions() [7/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [8/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [9/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetActions() [10/10]

override void SetActions ( )
inlineprivate

References AddAction().

◆ SetState()

void SetState ( int  state)
inlineprivate

◆ StopDeployLoopSound()

void StopDeployLoopSound ( )
private

DEPRECATED.

◆ Synchronize()

void Synchronize ( )
inlineprivate

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

◆ TurnOffItem()

void TurnOffItem ( ItemBase  item)
inlineprivate

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

◆ TurnOnItem()

void TurnOnItem ( ItemBase  item)
inlineprivate

◆ Unfold()

void Unfold ( )
inlineprivate

◆ XmasLights()

void XmasLights ( )
inlineprivate

References TurnOffItem().

Field Documentation

◆ FILLED

const int FILLED = 2
staticprivate

Referenced by OnStoreLoad(), and RefreshPhysics().

◆ FOLDED

const int FOLDED = 0
staticprivate

◆ m_AttachedTo

private ItemBase m_AttachedTo = NULL
private

◆ m_DeployLoopSound

protected ref EffectSound m_DeployLoopSound
private

DEPRECATED.

◆ m_State

protected int m_State
private

◆ m_Timer

ref Timer m_Timer
private

◆ PACK_DAMAGE_TOLERANCE

private const float PACK_DAMAGE_TOLERANCE = 0.5
staticprivate

◆ PERCENTUAL_DAMAGE

const int PERCENTUAL_DAMAGE = 1
staticprivate

◆ UNFOLDED

const int UNFOLDED = 1
staticprivate

Referenced by OnStoreLoad(), and RefreshPhysics().


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