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

◆ GetComponentNamesFromDamageZone()

static bool GetComponentNamesFromDamageZone ( notnull EntityAI entity,
string damageZone,
out array< string > componentNames )
static

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

104 {
105 string path;
106
107 if (entity.IsWeapon())
108 {
110 }
111 else if (entity.IsMagazine())
112 {
114 }
115 else
116 {
118 }
119
120 path = string.Format("%1 %2 DamageSystem DamageZones %3 componentNames", path, entity.GetType(), damageZone);
121 if (g_Game.ConfigIsExisting(path))
122 {
123 g_Game.ConfigGetTextArray(path,componentNames);
124 return true;
125 }
126
127 return false;
128 }
DayZGame g_Game
Определения DayZGame.c:4074
string path
Определения OptionSelectorMultistate.c:142
const string CFG_VEHICLESPATH
Определения 3_Game/DayZ/constants.c:228
const string CFG_WEAPONSPATH
Определения 3_Game/DayZ/constants.c:229
const string CFG_MAGAZINESPATH
Определения 3_Game/DayZ/constants.c:230

Перекрестные ссылки CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, g_Game и path.