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

◆ TakeEntityToCargo()

bool GameInventory::TakeEntityToCargo ( InventoryMode mode,
notnull EntityAI item )
inlineprotected

См. определение в файле 3_Game/DayZ/Systems/Inventory/Inventory.c строка 1346

1347 {
1348 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("[inv] I::Take2Cgo(" + typename.EnumToString(InventoryMode, mode) + ") item=" + item);
1349 return TakeEntityToInventory(mode, FindInventoryLocationType.CARGO, item);
1350 }
void inventoryDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
FindInventoryLocationType
flags for searching locations in inventory
Определения InventoryLocation.c:18
bool TakeEntityToInventory(InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item)
Put item anywhere into this entity (as attachment or into cargo, recursively)

Перекрестные ссылки inventoryDebugPrint(), LogManager::IsInventoryMoveLogEnable() и TakeEntityToInventory().