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

◆ IsWeaponAndMagazineType()

static bool PlayerSpawnHandler::IsWeaponAndMagazineType ( EntityAI parent,
string type )
inlinestaticprivate

Used for exceptions in the system.

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

355 {
356 return (GetGame().ConfigIsExisting(CFG_MAGAZINESPATH + " " + type) && parent.IsWeapon());
357 }
proto native CGame GetGame()
const string CFG_MAGAZINESPATH
Определения 3_Game/constants.c:222

Перекрестные ссылки CFG_MAGAZINESPATH и GetGame().

Используется в SpawnComplexChildrenItems() и SpawnSimpleChildrenItems().