DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ModStructure.c
См. документацию.
1
class
ModStructure
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;
16
m_ModPath
=
path
;
17
LoadData
();
18
}
19
20
void
LoadData
()
21
{
22
if
(
GetGame
().ConfigIsExisting(
m_ModPath
) )
23
{
24
GetGame
().
ConfigGetText
(
m_ModPath
+
" name"
,
m_ModName
);
25
GetGame
().
ConfigGetText
(
m_ModPath
+
" picture"
,
m_ModLogo
);
26
GetGame
().
ConfigGetText
(
m_ModPath
+
" logo"
,
m_ModLogoSmall
);
27
GetGame
().
ConfigGetText
(
m_ModPath
+
" logoSmall"
,
m_ModLogoOver
);
28
GetGame
().
ConfigGetText
(
m_ModPath
+
" logoOver"
,
m_ModActionURL
);
29
GetGame
().
ConfigGetText
(
m_ModPath
+
" tooltip"
,
m_ModTooltip
);
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
44
string
GetModLogoSmall
()
45
{
46
return
m_ModName
;
47
}
48
49
string
GetModLogoOver
()
50
{
51
return
m_ModName
;
52
}
53
54
string
GetModActionURL
()
55
{
56
return
m_ModName
;
57
}
58
59
string
GetModToltip
()
60
{
61
return
m_ModName
;
62
}
63
64
string
GetModOverview
()
65
{
66
return
m_ModName
;
67
}
68
}
path
string path
Определения
OptionSelectorMultistate.c:142
CGame::ConfigGetText
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
ModStructure::m_ModOverview
string m_ModOverview
Определения
ModStructure.c:11
ModStructure::m_ModActionURL
string m_ModActionURL
Определения
ModStructure.c:9
ModStructure::GetModActionURL
string GetModActionURL()
Определения
ModStructure.c:54
ModStructure::LoadData
void LoadData()
Определения
ModStructure.c:20
ModStructure::m_ModLogo
string m_ModLogo
Определения
ModStructure.c:6
ModStructure::GetModLogoOver
string GetModLogoOver()
Определения
ModStructure.c:49
ModStructure::m_ModIndex
int m_ModIndex
Определения
ModStructure.c:3
ModStructure::m_ModPath
string m_ModPath
Определения
ModStructure.c:4
ModStructure::GetModName
string GetModName()
Определения
ModStructure.c:34
ModStructure::GetModToltip
string GetModToltip()
Определения
ModStructure.c:59
ModStructure::GetModLogo
string GetModLogo()
Определения
ModStructure.c:39
ModStructure::GetModOverview
string GetModOverview()
Определения
ModStructure.c:64
ModStructure::ModStructure
void ModStructure(int index, string path)
Определения
ModStructure.c:13
ModStructure::m_ModTooltip
string m_ModTooltip
Определения
ModStructure.c:10
ModStructure::m_ModName
string m_ModName
Определения
ModStructure.c:5
ModStructure::m_ModLogoOver
string m_ModLogoOver
Определения
ModStructure.c:8
ModStructure::m_ModLogoSmall
string m_ModLogoSmall
Определения
ModStructure.c:7
ModStructure::GetModLogoSmall
string GetModLogoSmall()
Определения
ModStructure.c:44
GetGame
proto native CGame GetGame()
Ishodniki
scripts
3_Game
Client
Mods
ModStructure.c
Создано системой
1.13.2