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

◆ PredictiveDropEntity()

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

См. определение в файле 3_Game/DayZ/Entities/Man.c строка 126

127 {
128 if (!ScriptInputUserData.CanStoreInputUserData())
129 {
130 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveDropEntity input data not sent yet, cannot allow another input action");
131 return false;
132 }
133
134 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), this))
135 return JunctureDropEntity(item);
136 else
137 return DropEntityImpl(InventoryMode.PREDICTIVE, this, item);
138 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
bool JunctureDropEntity(notnull EntityAI item)
drop juncture
Определения 3_Game/DayZ/Entities/Man.c:121
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/DayZ/Entities/Man.c:163
bool DropEntityImpl(InventoryMode mode, notnull EntityAI owner, notnull EntityAI item)
Определения 3_Game/DayZ/Entities/Man.c:150
proto void Print(void var)
Prints content of variable to console/log.

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