DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ModStructure.c
См. документацию.
2{
3 protected int m_ModIndex;
4 protected string m_ModPath;
5 protected string m_ModName;
6 protected string m_ModLogo;
7 protected string m_ModLogoSmall;
8 protected string m_ModLogoOver;
9 protected string m_ModActionURL;
10 protected string m_ModTooltip;
11 protected string m_ModOverview;
12
13 void ModStructure( int index, string path )
14 {
15 m_ModIndex = index;
17 LoadData();
18 }
19
20 void LoadData()
21 {
22 if( GetGame().ConfigIsExisting( m_ModPath ) )
23 {
25 GetGame().ConfigGetText( m_ModPath + " picture", m_ModLogo );
27 GetGame().ConfigGetText( m_ModPath + " logoSmall", m_ModLogoOver );
30 GetGame().ConfigGetText( m_ModPath + " overview", m_ModOverview );
31 }
32 }
33
34 string GetModName()
35 {
36 return m_ModName;
37 }
38
39 string GetModLogo()
40 {
41 return m_ModName;
42 }
43
45 {
46 return m_ModName;
47 }
48
50 {
51 return m_ModName;
52 }
53
55 {
56 return m_ModName;
57 }
58
59 string GetModToltip()
60 {
61 return m_ModName;
62 }
63
65 {
66 return m_ModName;
67 }
68}
string path
Определения OptionSelectorMultistate.c:142
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
string m_ModOverview
Определения ModStructure.c:11
string m_ModActionURL
Определения ModStructure.c:9
string GetModActionURL()
Определения ModStructure.c:54
void LoadData()
Определения ModStructure.c:20
string m_ModLogo
Определения ModStructure.c:6
string GetModLogoOver()
Определения ModStructure.c:49
int m_ModIndex
Определения ModStructure.c:3
string m_ModPath
Определения ModStructure.c:4
string GetModName()
Определения ModStructure.c:34
string GetModToltip()
Определения ModStructure.c:59
string GetModLogo()
Определения ModStructure.c:39
string GetModOverview()
Определения ModStructure.c:64
void ModStructure(int index, string path)
Определения ModStructure.c:13
string m_ModTooltip
Определения ModStructure.c:10
string m_ModName
Определения ModStructure.c:5
string m_ModLogoOver
Определения ModStructure.c:8
string m_ModLogoSmall
Определения ModStructure.c:7
string GetModLogoSmall()
Определения ModStructure.c:44
proto native CGame GetGame()