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

◆ TakeEntityToInventoryImpl()

bool EntityAI::TakeEntityToInventoryImpl ( InventoryMode mode,
FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

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

397 {
398 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Inv(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
399 bool code = GetHumanInventory().TakeEntityToInventory(mode, flags, item);
401 return code;
402 }
void syncDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
override bool TakeEntityToInventory(InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item)
Определения HumanInventory.c:253
override string GetDebugName()
Определения dayzplayer.c:1173
class LOD Object

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

Используется в JunctureTakeEntityToInventory(), LocalTakeEntityToInventory(), PredictiveTakeEntityToInventory() и ServerTakeEntityToInventory().