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

◆ PredictiveTakeEntityToTargetCargo()

override bool EntityAI::PredictiveTakeEntityToTargetCargo ( notnull EntityAI target,
notnull EntityAI item )
inlineprotected

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

689 {
690 if (!ScriptInputUserData.CanStoreInputUserData())
691 {
692 Print("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::PredictiveTakeEntityToTargetCargo input data not sent yet, cannot allow another input action");
693 return false;
694 }
695
696 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), target))
697 return JunctureTakeEntityToTargetCargo(target, item);
698 else
699 return TakeEntityToTargetCargoImpl(InventoryMode.PREDICTIVE, target, item);
700 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
bool JunctureTakeEntityToTargetCargo(notnull EntityAI target, notnull EntityAI item)
to target cgo juncture
Определения Man.c:683
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения Man.c:155
bool TakeEntityToTargetCargoImpl(InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
Определения Man.c:715
override string GetDebugName()
Определения dayzplayer.c:1170
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки ScriptInputUserData::CanStoreInputUserData(), GetDebugName(), JunctureTakeEntityToTargetCargo(), NeedInventoryJunctureFromServer(), Print() и TakeEntityToTargetCargoImpl().