44 HandEventBase __Re_ =
new HandEventDestroyAndReplaceWithNewElsewhere;
45 HandEventBase __Rh_ =
new HandEventDestroyElsewhereAndReplaceWithNewInHands;
48 HandEventBase _fin_ =
new HandEventHumanCommandActionFinished;
52 HandReplacingItemInHands replacing =
new HandReplacingItemInHands(
GetManOwner());
53 HandReplacingItemInHands replacingElsewhere =
new HandReplacingItemInHands(
GetManOwner());
54 HandReplacingItemElsewhereWithNewInHands replacingElsewhere3 =
new HandReplacingItemElsewhereWithNewInHands(
GetManOwner());
77 replacingElsewhere3.AddTransition(
new HandTransition(replacingElsewhere3.m_Replacing, _abt_,
m_Empty));
120 m_FSM.ProcessAbortEvent(e, aa);
123 hndDebugSpam(
"[hndfsm] STS = " +
GetManOwner().GetSimulationTimeStamp() +
" Processed event e=" + e.ToString());
135 if ( !super.OnStoreLoad(ctx, version) )
146 super.OnStoreSave(ctx);
163 m_FSM.NetSyncCurrentStateID(
id);
void hndDebugSpam(string s)
void hndDebugPrint(string s)
FSMTransition< HandStateBase, HandEventBase, HandActionBase, HandGuardBase > HandTransition
static void InventoryHFSMLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Abstracted event, not to be used, only inherited.
Hand finite state machine.
represent hand state base
inventory for plain man/human
HumanInventory... with FSM (synchronous, no anims)
void NetSyncCurrentStateID(int id)
Engine callback - network synchronization of FSM's state. not intended to direct use.
void CreateStableStates()
protected ref HandStateBase m_Equipped
bool CanProcessHandEvents()
override void OnStoreSave(ParamsWriteContext ctx)
override bool ProcessHandEvent(HandEventBase e)
hand's fsm handling of events @NOTE: warning: ProcessHandEvent can be called only within DayZPlayer::...
void HumanInventoryWithFSM()
override bool OnStoreLoad(ParamsReadContext ctx, int version)
protected ref HandStateBase m_Empty
hand slot state machine
protected ref HandFSM m_FSM
bool ProcessHandAbortEvent(HandEventBase e)
static bool IsInventoryHFSMLogEnable()
Serialization general interface. Serializer API works with: