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

◆ PredictiveDropEntity()

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

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

129 {
130 if (!ScriptInputUserData.CanStoreInputUserData())
131 {
132 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveDropEntity input data not sent yet, cannot allow another input action");
133 return false;
134 }
135
136 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), this))
137 return JunctureDropEntity(item);
138 else
139 return DropEntityImpl(InventoryMode.PREDICTIVE, this, item);
140 }
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:123
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/DayZ/Entities/Man.c:170
bool DropEntityImpl(InventoryMode mode, notnull EntityAI owner, notnull EntityAI item)
Определения 3_Game/DayZ/Entities/Man.c:152
proto void Print(void var)
Prints content of variable to console/log.

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