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

◆ PredictiveTakeEntityToHands()

void EntityAI::PredictiveTakeEntityToHands ( EntityAI item)
inlineprotected

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

164 {
165 if (!ScriptInputUserData.CanStoreInputUserData())
166 {
167 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveTakeEntityToHands input data not sent yet, cannot allow another input action");
168 return;
169 }
170
171 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), this))
173 else
174 TakeEntityToHandsImpl(InventoryMode.PREDICTIVE, item);
175 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
void JunctureTakeEntityToHands(notnull EntityAI item)
hand juncture
Определения Man.c:158
void TakeEntityToHandsImpl(InventoryMode mode, EntityAI item)
Определения Man.c:187
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(), JunctureTakeEntityToHands(), NeedInventoryJunctureFromServer(), Print() и TakeEntityToHandsImpl().