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

◆ SetInventoryLocationToVicinityOrCurrent()

void InventoryItem::SetInventoryLocationToVicinityOrCurrent ( EntityAI root,
inout InventoryLocation dst )
inlineprotected

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

2189 {
2190 if (root)
2191 {
2192 vector m4[4];
2193 root.GetTransform(m4);
2194 dst.SetGround(this, m4);
2195 }
2196 else
2197 {
2198 GetInventory().GetCurrentInventoryLocation(dst);
2199 }
2200 }