1class Head_Default
extends Head
3 bool m_handling_exception =
false;
20 ConfigGetTextArray(
"simpleHiddenSelections", m_HeadHairSelectionArray);
22 m_beard_idx = m_HeadHairSelectionArray.Find(
"beard");
23 m_hair_idx = m_HeadHairSelectionArray.Find(
"hair");
24 if (!ConfigIsExisting(
"HairHiding"))
25 m_handling_exception =
true;
32 for (
int i = 0;
i < m_HeadHairSelectionArray.Count();
i++)
35 selTran.SetSelectionState(
true);
36 m_HeadHairHidingStateMap.Insert(
i,
selTran);
58 return m_HeadHairSelectionArray.Find(
str);
85 if (!
m_Head.ConfigIsExisting(
"HairHiding"))
ref array< string > m_HeadHairSelectionArray
bool IsHandlingException()
bool GetHeadHideableSelections(out array< string > selections)
bool m_handling_exception
void InitSelectionTranslation()
int GetSelectionIndex(string str)
ref map< int, ref SelectionTranslation > m_HeadHairHidingStateMap
bool SearchAndTranslate(string path, int idx)
void InitTranslatedSelections(int idx)
ref array< int > m_TranslatedSelections
void SetSelectionState(bool state)
ref array< int > GetTranslatedSelections()
void SelectionTranslation(Head_Default head, int idx)
bool m_TranslationFinished