27 {
28
29 if (LogManager.IsInventoryHFSMLogEnable())
hndDebugPrint(
"[hndfsm] Initializing Human Inventory FSM");
30
31
33
34
44 HandEventBase __Re_ =
new HandEventDestroyAndReplaceWithNewElsewhere;
45 HandEventBase __Rh_ =
new HandEventDestroyElsewhereAndReplaceWithNewInHands;
48 HandEventBase _fin_ =
new HandEventHumanCommandActionFinished;
50
51
52 HandReplacingItemInHands replacing =
new HandReplacingItemInHands(
GetManOwner());
53 HandReplacingItemInHands replacingElsewhere =
new HandReplacingItemInHands(
GetManOwner());
54 HandReplacingItemElsewhereWithNewInHands replacingElsewhere3 =
new HandReplacingItemElsewhereWithNewInHands(
GetManOwner());
55
56
59
66
70
74
77 replacingElsewhere3.AddTransition(
new HandTransition(replacingElsewhere3.m_Replacing, _abt_,
m_Empty));
78
82
83
86
87 super.Init();
88 }
void HandEventBase(Man p=null, InventoryLocation src=null)
void hndDebugPrint(string s)
FSMTransition< HandStateBase, HandEventBase, HandActionBase, HandGuardBase > HandTransition
void CreateStableStates()
ref HandStateBase m_Equipped
ref HandStateBase m_Empty
hand slot state machine