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

◆ PredictiveTakeEntityToCargo()

override bool EntityAI::PredictiveTakeEntityToCargo ( notnull EntityAI item)
inlineprotected

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

385 {
386 if (!ScriptInputUserData.CanStoreInputUserData())
387 {
388 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveTakeEntityToCargo input data not sent yet, cannot allow another input action");
389 return false;
390 }
391
392 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), this))
393 return JunctureTakeEntityToCargo(item);
394 else
395 return TakeEntityToCargoImpl(InventoryMode.PREDICTIVE, item);
396 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
bool TakeEntityToCargoImpl(InventoryMode mode, notnull EntityAI item)
Определения Man.c:408
bool JunctureTakeEntityToCargo(notnull EntityAI item)
to cgo juncture
Определения Man.c:379
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения Man.c:155
proto void Print(void var)
Prints content of variable to console/log.

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