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

◆ TakeEntityToCargoImpl()

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

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

426 {
427 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Cgo(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
428 bool code = GetHumanInventory().TakeEntityToCargo(mode, item);
430 return code;
431 }
void syncDebugPrint(string s)
Определения 3_Game/Systems/Inventory/Debug.c:1
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool TakeEntityToCargo(InventoryMode mode, notnull EntityAI item)
moves item to cargo of this intentory
override string GetDebugName()
Определения dayzplayer.c:1170
class LOD Object

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

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