DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnItemInHandsChangedEx()

override void DayZPlayer::OnItemInHandsChangedEx ( bool pInstant = false,
bool pChangeAnimationInstance = true )
inlineprotected

См. определение в файле DayZPlayerImplement.c строка 1002

1003 {
1004 //Print("inv: DayZPlayerImplement::OnItemInHandsChanged: "/* + GetEntityInHands()*/);
1006 GetItemAccessor().OnItemInHandsChanged(pInstant, pChangeAnimationInstance);
1007
1008 if (!IsAlive())
1009 {
1010 //Print("inv: DayZPlayerImplement::OnItemInHandsChanged - human not alive! calling ResetWeaponInHands");
1011 GetItemAccessor().ResetWeaponInHands();
1012 }
1013
1014 HumanInventoryWithFSM.Cast(GetHumanInventory()).CheckFSMState();
1015 }
void StopWeaponEvent()
Определения DayZPlayerImplement.c:1866

Перекрестные ссылки HumanInventoryWithFSM::CheckFSMState() и StopWeaponEvent().

Используется в OnItemInHandsChanged().