Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
HumanInventoryWithFSM Class Reference

HumanInventory... with FSM (synchronous, no anims). More...

Inheritance diagram for HumanInventoryWithFSM:
HumanInventory

Protected Member Functions

void HumanInventoryWithFSM ()
bool CanProcessHandEvents ()
void CheckFSMState ()
void CreateStableStates ()
int GetCurrentStateID ()
override void Init ()
bool IsIdle ()
void NetSyncCurrentStateID (int id)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
bool ProcessHandAbortEvent (HandEventBase e)
override bool ProcessHandEvent (HandEventBase e)

Protected Attributes

ref HandStateBase m_Empty
 hand slot state machine
ref HandStateBase m_Equipped
ref HandFSM m_FSM

Additional Inherited Members

Private Member Functions inherited from HumanInventory
void HandleInventoryManipulation ()
bool OnInventoryCheck (int userDataType, ParamsReadContext ctx)
bool PostDeferredEventTakeToDst (InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
bool PostDeferredForceSwapEntities (InventoryMode mode, notnull EntityAI item1, notnull EntityAI item2, notnull InventoryLocation dst1, notnull InventoryLocation dst2)
bool ReplaceItemInElsewhereWithNewinHandsImpl (InventoryMode mode, HandEventBase e)
bool ReplaceItemInHandsWithNew (InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
bool ReplaceItemInHandsWithNewElsewhere (InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
bool ReplaceItemInHandsWithNewImpl (InventoryMode mode, HandEventBase e)
bool SwappingToPreviousLocation (EntityAI item1, EntityAI item2, out InventoryLocation dst)
void Update (float delta_time)
bool ValidateUserReservationCancel (inout Serializer ctx, InventoryValidation validation)

Detailed Description

HumanInventory... with FSM (synchronous, no anims).

Definition at line 5 of file humaninventorywithfsm.c.

Constructor & Destructor Documentation

◆ HumanInventoryWithFSM()

void HumanInventoryWithFSM ( )
inlineprotected

Definition at line 11 of file humaninventorywithfsm.c.

References m_FSM.

Member Function Documentation

◆ CanProcessHandEvents()

bool CanProcessHandEvents ( )
inlineprotected

Definition at line 90 of file humaninventorywithfsm.c.

References m_FSM.

◆ CheckFSMState()

void CheckFSMState ( )
inlineprotected

◆ CreateStableStates()

void CreateStableStates ( )
inlineprotected

Definition at line 16 of file humaninventorywithfsm.c.

References HumanInventory::GetManOwner(), m_Empty, and m_Equipped.

Referenced by Init().

◆ GetCurrentStateID()

int GetCurrentStateID ( )
inlineprotected
Returns
identifier of current stable state

Definition at line 169 of file humaninventorywithfsm.c.

References m_FSM.

Referenced by CheckFSMState().

◆ Init()

◆ IsIdle()

bool IsIdle ( )
inlineprotected

Definition at line 171 of file humaninventorywithfsm.c.

References m_FSM.

Referenced by HandleFightLogic().

◆ NetSyncCurrentStateID()

void NetSyncCurrentStateID ( int id)
inlineprotected

Definition at line 176 of file humaninventorywithfsm.c.

References m_FSM.

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

Definition at line 148 of file humaninventorywithfsm.c.

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 159 of file humaninventorywithfsm.c.

◆ ProcessHandAbortEvent()

bool ProcessHandAbortEvent ( HandEventBase e)
inlineprotected

◆ ProcessHandEvent()

override bool ProcessHandEvent ( HandEventBase e)
inlineprotected

Field Documentation

◆ m_Empty

ref HandStateBase m_Empty
protected

hand slot state machine

Definition at line 8 of file humaninventorywithfsm.c.

Referenced by CheckFSMState(), CreateStableStates(), and Init().

◆ m_Equipped

ref HandStateBase m_Equipped
protected

Definition at line 9 of file humaninventorywithfsm.c.

Referenced by CheckFSMState(), CreateStableStates(), and Init().

◆ m_FSM


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