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

◆ TakeEntityAsAttachmentExImpl()

bool EntityAI::TakeEntityAsAttachmentExImpl ( InventoryMode mode,
notnull EntityAI item,
int slot )
inlineprotected

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

514 {
515 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2AttEx(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
516 bool code = GetHumanInventory().TakeEntityAsAttachmentEx(mode, item, slot);
518 return code;
519 }
void syncDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
override bool TakeEntityAsAttachmentEx(InventoryMode mode, notnull EntityAI item, int slot)
Определения HumanInventory.c:308
override string GetDebugName()
Определения dayzplayer.c:1173
class LOD Object

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

Используется в JunctureTakeEntityAsAttachmentEx(), LocalTakeEntityAsAttachmentEx(), PredictiveTakeEntityAsAttachmentEx() и ServerTakeEntityAsAttachmentEx().