См. определение в файле PlayerBase.c строка 4044
Перекрестные ссылки GetWeaponManager() и GameInventory::UnlockInventory().