DayZ 1.29
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

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

1081 {
1082 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("[inv] I::Take2Cgo(" + typename.EnumToString(InventoryMode, mode) + ") item=" + item);
1083 return TakeEntityToInventory(mode, FindInventoryLocationType.CARGO, item);
1084 }
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().