См. определение в файле DayZPlayerInventory.c строка 3705
Перекрестные ссылки g_Game, GetDayZPlayerOwner() и GetInstanceType().