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

◆ TakeEntityAsAttachmentImpl()

bool EntityAI::TakeEntityAsAttachmentImpl ( InventoryMode mode,
notnull EntityAI item )
inlineprotected

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

475 {
476 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Att(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
477 bool code = GetHumanInventory().TakeEntityAsAttachment(mode, item);
479 return code;
480 }
void syncDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool TakeEntityAsAttachment(InventoryMode mode, notnull EntityAI item)
override string GetDebugName()
Определения dayzplayer.c:1173
class LOD Object

Перекрестные ссылки GetDebugName(), GetHumanInventory(), LogManager::IsSyncLogEnable(), syncDebugPrint() и UpdateInventoryMenu().

Используется в JunctureTakeEntityAsAttachment(), LocalTakeEntityAsAttachment(), PredictiveTakeEntityAsAttachment() и ServerTakeEntityAsAttachment().