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

◆ PredictiveTakeEntityToTargetAttachmentEx()

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

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

749 {
750 if (!ScriptInputUserData.CanStoreInputUserData())
751 {
752 Print("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::PredictiveTakeEntityToTargetAttachmentEx input data not sent yet, cannot allow another input action");
753 return false;
754 }
755
756 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), target))
757 return JunctureTakeEntityToTargetAttachmentEx(target, item, slot);
758 else
759 return TakeEntityToTargetAttachmentExImpl(InventoryMode.PREDICTIVE, target, item, slot);
760 }
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/Entities/Man.c:772
bool JunctureTakeEntityToTargetAttachmentEx(notnull EntityAI target, notnull EntityAI item, int slot)
to target att ex juncture
Определения 3_Game/Entities/Man.c:743
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/Entities/Man.c:155
override string GetDebugName()
Определения dayzplayer.c:1170
proto void Print(void var)
Prints content of variable to console/log.

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