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

◆ PredictiveTakeToDst()

override bool EntityAI::PredictiveTakeToDst ( notnull InventoryLocation src,
notnull InventoryLocation dst )
inlineprotected

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

812 {
813 if (!ScriptInputUserData.CanStoreInputUserData())
814 {
815 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveTakeToDst input data not sent yet, cannot allow another input action");
816 return false;
817 }
818
819 if (NeedInventoryJunctureFromServer(src.GetItem(), src.GetParent(), dst.GetParent()))
820 return JunctureTakeToDst(src, dst);
821 else
822 return TakeToDstImpl(InventoryMode.PREDICTIVE, src, dst);
823 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
bool JunctureTakeToDst(notnull InventoryLocation src, notnull InventoryLocation dst)
to dst juncture
Определения Man.c:806
bool TakeToDstImpl(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
Определения Man.c:835
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(), JunctureTakeToDst(), NeedInventoryJunctureFromServer(), Print() и TakeToDstImpl().