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

◆ EEItemOutOfHands()

override void ManBase::EEItemOutOfHands ( EntityAI item)
inlineprotected

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

2971 {
2972 super.EEItemOutOfHands(item);
2973
2974 if (IsPlacingLocal())
2975 {
2976 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).Call(TogglePlacingLocal, item);
2977 }
2978
2979 SurrenderDummyItem dummyItem;
2980 if (Class.CastTo(dummyItem, item) && GetEmoteManager())
2981 GetEmoteManager().ForceSurrenderState(false);
2982
2984 }
DayZGame g_Game
Определения DayZGame.c:3942
void TogglePlacingLocal(ItemBase item=null)
Определения PlayerBase.c:2669
EmoteManager GetEmoteManager()
Определения PlayerBase.c:1834
bool IsPlacingLocal()
Определения PlayerBase.c:2558
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8
class HumanItemBehaviorCfg OnItemInHandsChanged(bool pInstant=false)
signalization from script to engine that item in hands changed

Перекрестные ссылки CALL_CATEGORY_SYSTEM, Class::CastTo(), g_Game, GetEmoteManager(), IsPlacingLocal(), OnItemInHandsChanged() и TogglePlacingLocal().