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

◆ PredictiveTakeEntityToTargetAttachmentEx()

override bool EntityAI::PredictiveTakeEntityToTargetAttachmentEx ( notnull EntityAI target,
notnull EntityAI item,
int slot )
inlineprotected

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

765 {
766 if (!ScriptInputUserData.CanStoreInputUserData())
767 {
768 Print("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::PredictiveTakeEntityToTargetAttachmentEx input data not sent yet, cannot allow another input action");
769 return false;
770 }
771
772 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), target))
773 return JunctureTakeEntityToTargetAttachmentEx(target, item, slot);
774 else
775 return TakeEntityToTargetAttachmentExImpl(InventoryMode.PREDICTIVE, target, item, slot);
776 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
bool TakeEntityToTargetAttachmentExImpl(InventoryMode mode, notnull EntityAI target, notnull EntityAI item, int slot)
Определения 3_Game/DayZ/Entities/Man.c:788
bool JunctureTakeEntityToTargetAttachmentEx(notnull EntityAI target, notnull EntityAI item, int slot)
to target att ex juncture
Определения 3_Game/DayZ/Entities/Man.c:759
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/DayZ/Entities/Man.c:163
override string GetDebugName()
Определения dayzplayer.c:1173
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки ScriptInputUserData::CanStoreInputUserData(), GetDebugName(), JunctureTakeEntityToTargetAttachmentEx(), NeedInventoryJunctureFromServer(), Print() и TakeEntityToTargetAttachmentExImpl().