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

◆ TakeEntityAsAttachmentExImpl()

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

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

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

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

Используется в JunctureTakeEntityAsAttachmentEx().