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

◆ InheritsFrom()

bool InheritsFrom ( string value,
string baseclass )

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

207 {
208 string child = value;
209 string parent;
210 while (GetGame().ConfigGetBaseName("cfgVehicles " + child, parent))
211 {
212 if (parent == baseclass)
213 {
214 return true;
215 }
216 child = parent;
217 }
218 return false;
219 }
proto native CGame GetGame()

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

Используется в SetTextSmart().