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

◆ PredictiveDropEntity()

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

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

119 {
120 if (!ScriptInputUserData.CanStoreInputUserData())
121 {
122 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveDropEntity input data not sent yet, cannot allow another input action");
123 return false;
124 }
125
126 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), this))
127 return JunctureDropEntity(item);
128 else
129 return DropEntityImpl(InventoryMode.PREDICTIVE, this, item);
130 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
bool JunctureDropEntity(notnull EntityAI item)
drop juncture
Определения Man.c:113
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения Man.c:155
bool DropEntityImpl(InventoryMode mode, notnull EntityAI owner, notnull EntityAI item)
Определения Man.c:142
proto void Print(void var)
Prints content of variable to console/log.

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