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

◆ TakeEntityToTargetCargoImpl()

bool EntityAI::TakeEntityToTargetCargoImpl ( InventoryMode mode,
notnull EntityAI target,
notnull EntityAI item )
inlineprotected

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

716 {
717 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Take2TargetCgo(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
718
719 bool code = GetInventory().TakeEntityToTargetInventory(mode, target, FindInventoryLocationType.CARGO, item);
721 return code;
722 }
void syncDebugPrint(string s)
Определения Debug.c:1
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
FindInventoryLocationType
flags for searching locations in inventory
Определения InventoryLocation.c:17
void UpdateInventoryMenu()
override string GetDebugName()
Определения dayzplayer.c:1170
class LOD Object

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

Используется в JunctureTakeEntityToTargetCargo(), LocalTakeEntityToTargetCargo(), PredictiveTakeEntityToTargetCargo() и ServerTakeEntityToTargetCargo().