DayZ
1.24
Loading...
Searching...
No Matches
ModStructure.c
Go to the documentation of this file.
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
Definition
OptionSelectorMultistate.c:121
ModStructure
Definition
ModStructure.c:2
ModStructure::m_ModOverview
string m_ModOverview
Definition
ModStructure.c:11
ModStructure::m_ModActionURL
string m_ModActionURL
Definition
ModStructure.c:9
ModStructure::GetModActionURL
string GetModActionURL()
Definition
ModStructure.c:54
ModStructure::LoadData
void LoadData()
Definition
ModStructure.c:20
ModStructure::m_ModLogo
string m_ModLogo
Definition
ModStructure.c:6
ModStructure::GetModLogoOver
string GetModLogoOver()
Definition
ModStructure.c:49
ModStructure::m_ModIndex
int m_ModIndex
Definition
ModStructure.c:3
ModStructure::m_ModPath
string m_ModPath
Definition
ModStructure.c:4
ModStructure::GetModName
string GetModName()
Definition
ModStructure.c:34
ModStructure::GetModToltip
string GetModToltip()
Definition
ModStructure.c:59
ModStructure::GetModLogo
string GetModLogo()
Definition
ModStructure.c:39
ModStructure::GetModOverview
string GetModOverview()
Definition
ModStructure.c:64
ModStructure::ModStructure
void ModStructure(int index, string path)
Definition
ModStructure.c:13
ModStructure::m_ModTooltip
string m_ModTooltip
Definition
ModStructure.c:10
ModStructure::m_ModName
string m_ModName
Definition
ModStructure.c:5
ModStructure::m_ModLogoOver
string m_ModLogoOver
Definition
ModStructure.c:8
ModStructure::m_ModLogoSmall
string m_ModLogoSmall
Definition
ModStructure.c:7
ModStructure::GetModLogoSmall
string GetModLogoSmall()
Definition
ModStructure.c:44
Param3
Definition
EntityAI.c:95
GetGame
proto native CGame GetGame()
scripts
3_Game
Client
Mods
ModStructure.c
Generated by
1.10.0