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

◆ TakeEntityToCargo()

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

moves item to cargo of this intentory

Аргументы
[in]modeinventory mode
[in]itemitem to be put in this inventory as cargo

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

1080 {
1081 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("[inv] I::Take2Cgo(" + typename.EnumToString(InventoryMode, mode) + ") item=" + item);
1082 return TakeEntityToInventory(mode, FindInventoryLocationType.CARGO, item);
1083 }
void inventoryDebugPrint(string s)
Определения Debug.c:19
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
bool TakeEntityToInventory(InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item)
Put item anywhere into this entity (as attachment or into cargo, recursively)
Определения Inventory.c:1011

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

Используется в EntityAI::TakeEntityToCargoImpl().