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

◆ Init2DPreloadType()

void ItemOptics::Init2DPreloadType ( )
inlineprotected

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

566 {
567 string path = "cfgVehicles " + GetType() + " OpticsInfo preloadOpticType";
568 string type_2d;
569
570 if ( GetGame().ConfigIsExisting(path) )
571 {
572 GetGame().ConfigGetText(path, type_2d);
573 m_2D_preload_type = type_2d;
574 }
575 }
eBleedingSourceType GetType()
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().