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

◆ TakeEntityToCargoImpl()

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

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

409 {
410 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Cgo(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
411 bool code = GetHumanInventory().TakeEntityToCargo(mode, item);
413 return code;
414 }
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()
bool TakeEntityToCargo(InventoryMode mode, notnull EntityAI item)
moves item to cargo of this intentory
Определения Inventory.c:1079
override string GetDebugName()
Определения dayzplayer.c:1170
class LOD Object

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

Используется в JunctureTakeEntityToCargo(), LocalTakeEntityToCargo(), PredictiveTakeEntityToCargo() и ServerTakeEntityToCargo().