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

◆ TakeEntityAsAttachment()

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

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

1384 {
1385 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("[inv] I::Take2Att(" + typename.EnumToString(InventoryMode, mode) + ") item=" + item);
1386 return TakeEntityToInventory(mode, FindInventoryLocationType.ATTACHMENT, item);
1387 }
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().