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

◆ TakeEntityAsAttachmentEx()

bool GameInventory::TakeEntityAsAttachmentEx ( InventoryMode mode,
notnull EntityAI item,
int slot )
inlineprotected

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

1376 {
1377 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("[inv] I::Take2AttEx(" + typename.EnumToString(InventoryMode, mode) + ") item=" + item + " slot=" + slot);
1378 return TakeEntityAsTargetAttachmentEx(mode, GetInventoryOwner(), item, slot);
1379 }
void inventoryDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
proto native EntityAI GetInventoryOwner()
Engine native functions.
bool TakeEntityAsTargetAttachmentEx(InventoryMode mode, notnull EntityAI target, notnull EntityAI item, int slot)
put item as attachment of target

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