1 class HandStartReplacingItemElsewhereWithNewInHands
extends HandStateBase
3 void HandStartReplacingItemElsewhereWithNewInHands (Man player = NULL,
HandStateBase parent = NULL)
10 Man player = e.m_Player;
14 if (
LogManager.IsInventoryHFSMLogEnable())
hndDebugPrint(
"[hndfsm] HandStartReplacingItemElsewhereWithNewInHands about to execute lambda");
17 edr.m_Lambda.Execute(inv);
21 Error(
"[hndfsm] HandStartReplacingItemElsewhereWithNewInHands - not a HandEvenReplaceWithNewBase event");
38 class HandReplacingItemElsewhereWithNewInHands
extends HandStateBase
40 ref HandStartReplacingItemElsewhereWithNewInHands m_Replacing;
42 void HandReplacingItemElsewhereWithNewInHands (Man player = NULL,
HandStateBase parent = NULL)
45 m_Replacing =
new HandStartReplacingItemElsewhereWithNewInHands(player,
this);
48 HandEventBase _fin_ =
new HandEventHumanCommandActionFinished;
52 m_FSM.AddTransition(
new HandTransition( m_Replacing, _fin_, NULL ));
54 m_FSM.SetInitialState(m_Replacing);