Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс HiddenSelectionsData

Закрытые члены

void HiddenSelectionsData (string type)
 
int GetHiddenSelectionIndex (string selection)
 
TStringArray GetHiddenSelectionsTextures ()
 
TStringArray GetHiddenSelectionsMaterials ()
 

Закрытые статические члены

static array< stringGetHiddenSelectionsConfig (string type)
 
static array< stringGetHiddenSelectionsTexturesConfig (string type)
 
static array< stringGetHiddenSelectionsMaterialsConfig (string type)
 

Закрытые данные

ref array< stringm_HiddenSelections = new array<string>
 
ref array< stringm_HiddenSelectionsTextures = new array<string>
 
ref array< stringm_HiddenSelectionsMaterials = new array<string>
 
ref map< string, intm_HiddenSelectionNameToIndex = new map<string, int>
 

Подробное описание

Конструктор(ы)

◆ HiddenSelectionsData()

void HiddenSelectionsData ( string type)
inlineprivate
10 {
11 GetGame().ConfigGetTextArray( string.Format("CfgVehicles %1 hiddenSelections", type), m_HiddenSelections );
12 GetGame().ConfigGetTextArray( string.Format("CfgVehicles %1 hiddenSelectionsTextures", type), m_HiddenSelectionsTextures );
13 GetGame().ConfigGetTextArray( string.Format("CfgVehicles %1 hiddenSelectionsMaterials", type), m_HiddenSelectionsMaterials );
14
15 for (int i = 0; i < m_HiddenSelections.Count(); ++i)
17 }
ref map< string, int > m_HiddenSelectionNameToIndex
Definition HiddenSelectionsData.c:7
ref array< string > m_HiddenSelectionsMaterials
Definition HiddenSelectionsData.c:5
ref array< string > m_HiddenSelections
Definition HiddenSelectionsData.c:3
ref array< string > m_HiddenSelectionsTextures
Definition HiddenSelectionsData.c:4
Definition EntityAI.c:95
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_HiddenSelectionNameToIndex, m_HiddenSelections, m_HiddenSelectionsMaterials и m_HiddenSelectionsTextures.

Методы

◆ GetHiddenSelectionIndex()

int GetHiddenSelectionIndex ( string selection)
inlineprivate
20 {
21 int index;
22 if (m_HiddenSelectionNameToIndex.Find(selection, index))
23 return index;
24
25 return -1;
26 }

Перекрестные ссылки m_HiddenSelectionNameToIndex.

◆ GetHiddenSelectionsConfig()

static array< string > GetHiddenSelectionsConfig ( string type)
inlinestaticprivate
39 {
41 GetGame().ConfigGetTextArray( string.Format("CfgVehicles %1 hiddenSelections", type), hiddenSelections );
42 return hiddenSelections;
43 }

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

Используется в IEntity::GetHiddenSelections().

◆ GetHiddenSelectionsMaterials()

TStringArray GetHiddenSelectionsMaterials ( )
inlineprivate
34 {
36 }

Перекрестные ссылки m_HiddenSelectionsMaterials.

◆ GetHiddenSelectionsMaterialsConfig()

static array< string > GetHiddenSelectionsMaterialsConfig ( string type)
inlinestaticprivate
53 {
55 GetGame().ConfigGetTextArray( string.Format("CfgVehicles %1 hiddenSelectionsMaterials", type), hiddenSelectionsMaterials );
57 }

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

Используется в IEntity::GetHiddenSelectionsMaterials().

◆ GetHiddenSelectionsTextures()

TStringArray GetHiddenSelectionsTextures ( )
inlineprivate
29 {
31 }

Перекрестные ссылки m_HiddenSelectionsTextures.

◆ GetHiddenSelectionsTexturesConfig()

static array< string > GetHiddenSelectionsTexturesConfig ( string type)
inlinestaticprivate
46 {
48 GetGame().ConfigGetTextArray( string.Format("CfgVehicles %1 hiddenSelectionsTextures", type), hiddenSelectionsTextures );
50 }

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

Используется в IEntity::GetHiddenSelectionsTextures().

Поля

◆ m_HiddenSelectionNameToIndex

ref map<string, int> m_HiddenSelectionNameToIndex = new map<string, int>
private

Используется в GetHiddenSelectionIndex() и HiddenSelectionsData().

◆ m_HiddenSelections

ref array<string> m_HiddenSelections = new array<string>
private

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

◆ m_HiddenSelectionsMaterials

ref array<string> m_HiddenSelectionsMaterials = new array<string>
private

Используется в GetHiddenSelectionsMaterials() и HiddenSelectionsData().

◆ m_HiddenSelectionsTextures

ref array<string> m_HiddenSelectionsTextures = new array<string>
private

Используется в GetHiddenSelectionsTextures() и HiddenSelectionsData().


Объявления и описания членов класса находятся в файле: