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

◆ PredictiveTakeEntityToHands()

void EntityAI::PredictiveTakeEntityToHands ( EntityAI item)
inlineprotected

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

172 {
173 if (!ScriptInputUserData.CanStoreInputUserData())
174 {
175 Print("[inv] " + GetSimulationTimeStamp() + " Man@" + this + " ::PredictiveTakeEntityToHands input data not sent yet, cannot allow another input action");
176 return;
177 }
178
179 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), this))
181 else
182 TakeEntityToHandsImpl(InventoryMode.PREDICTIVE, item);
183 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void JunctureTakeEntityToHands(notnull EntityAI item)
hand juncture
Определения 3_Game/DayZ/Entities/Man.c:166
void TakeEntityToHandsImpl(InventoryMode mode, EntityAI item)
Определения 3_Game/DayZ/Entities/Man.c:195
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/DayZ/Entities/Man.c:163
proto void Print(void var)
Prints content of variable to console/log.

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