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

◆ TakeEntityToInventoryImpl()

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

См. определение в файле Man.c строка 369

370 {
371 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Inv(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
372 bool code = GetHumanInventory().TakeEntityToInventory(mode, flags, item);
374 return code;
375 }
void syncDebugPrint(string s)
Определения Debug.c:1
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
override bool TakeEntityToInventory(InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item)
Определения HumanInventory.c:245
override string GetDebugName()
Определения dayzplayer.c:1170
class LOD Object

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

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