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

◆ InitTranslatedSelections()

void SelectionTranslation::InitTranslatedSelections ( int idx)
inlineprivate

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

84 {
85 if ( !m_Head.ConfigIsExisting("HairHiding") )
86 return;
87
88 string path;
89 int selectionIdx = -1;
90 m_TranslatedSelections = new array<int>;
91
92 //Hair
93 path = m_BasePath + " Group_Hair";
95 //Beard
96 path = m_BasePath + " Group_Beard";
98 //Hair + Beard
99 path = m_BasePath + " Group_HairBeard";
101
102 //other
103 for (int i = 0; !m_TranslationFinished; i++)
104 {
105 path = m_BasePath + " Group_" + i;
106 if ( g_Game.ConfigIsExisting(path) )
107 {
109 }
110 else
111 {
113 }
114 }
115 }
DayZGame g_Game
Определения DayZGame.c:3868
string path
Определения OptionSelectorMultistate.c:142
string m_BasePath
Определения Head.c:72
bool SearchAndTranslate(string path, int idx)
Определения Head.c:117
ref array< int > m_TranslatedSelections
Определения Head.c:73
Head_Default m_Head
Определения Head.c:74
bool m_TranslationFinished
Определения Head.c:71

Перекрестные ссылки g_Game, m_BasePath, m_Head, m_TranslatedSelections, m_TranslationFinished, path и SearchAndTranslate().

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