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

◆ PredictiveTakeEntityToTargetInventory()

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

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

595 {
596 if (!ScriptInputUserData.CanStoreInputUserData())
597 {
598 Print("[inv] " + GetSimulationTimeStamp() + " ::PredictiveTakeEntityToTargetInventory input data not sent yet, cannot allow another input action");
599 return false;
600 }
601
602 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), target))
603 return JunctureTakeEntityToTargetInventory(target, flags, item);
604 else
605 return TakeEntityToTargetInventoryImpl(InventoryMode.PREDICTIVE, target, flags, item);
606 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
bool JunctureTakeEntityToTargetInventory(notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)
to target inv juncture
Определения Man.c:589
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения Man.c:155
bool TakeEntityToTargetInventoryImpl(InventoryMode mode, notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)
Определения Man.c:634
proto void Print(void var)
Prints content of variable to console/log.

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