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

◆ PredictiveTakeEntityToTargetInventory()

override bool EntityAI::PredictiveTakeEntityToTargetInventory ( notnull EntityAI target,
FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

См. определение в файле 3_Game/DayZ/Entities/Man.c строка 519

520 {
521 if (!ScriptInputUserData.CanStoreInputUserData())
522 {
523 Print("[inv] " + GetSimulationTimeStamp() + " ::PredictiveTakeEntityToTargetInventory input data not sent yet, cannot allow another input action");
524 return false;
525 }
526
527 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), target))
528 return JunctureTakeEntityToTargetInventory(target, flags, item);
529 else
530 return TakeEntityToTargetInventoryImpl(InventoryMode.PREDICTIVE, target, flags, item);
531 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
bool JunctureTakeEntityToTargetInventory(notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)
to target inv juncture
Определения 3_Game/DayZ/Entities/Man.c:514
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/DayZ/Entities/Man.c:170
bool TakeEntityToTargetInventoryImpl(InventoryMode mode, notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)
Определения 3_Game/DayZ/Entities/Man.c:561
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки ScriptInputUserData::CanStoreInputUserData(), JunctureTakeEntityToTargetInventory(), NeedInventoryJunctureFromServer(), Print() и TakeEntityToTargetInventoryImpl().