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

◆ Init2DPreloadType()

void ItemOptics::Init2DPreloadType ( )
inlineprivate

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

506 {
507 string path = "cfgVehicles " + GetType() + " OpticsInfo preloadOpticType";
508 string type_2d;
509
510 if ( GetGame().ConfigIsExisting(path) )
511 {
512 GetGame().ConfigGetText(path, type_2d);
513 m_2D_preload_type = type_2d;
514 }
515 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
string path
Определения OptionSelectorMultistate.c:142
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
string m_2D_preload_type
Определения ItemOptics.c:14
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetText(), GetGame(), GetType(), m_2D_preload_type и path.

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