Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
DSConfig.c
Go to the documentation of this file.
1
class
DSGameConfig:
JsonApiStruct
2
{
3
string
name;
4
string
scenarioId;
5
string
hostedScenarioModId;
6
int
maxPlayers;
7
string
password;
8
string
passwordAdmin;
9
bool
visible;
10
11
bool
crossPlatform;
12
13
ref DSGameProperties gameProperties;
14
ref array<ref DSMod> mods;
15
16
void
DSGameConfig()
17
{
18
RegV(
"name"
);
19
RegV(
"password"
);
20
RegV(
"passwordAdmin"
);
21
RegV(
"maxPlayers"
);
22
RegV(
"scenarioId"
);
23
RegV(
"gameProperties"
);
24
RegV(
"mods"
);
25
}
26
27
override
void
OnPack
()
28
{
29
UnregV(
"visible"
);
30
StoreBoolean(
"visible"
, visible);
31
32
UnregV(
"crossPlatform"
);
33
StoreBoolean(
"crossPlatform"
, crossPlatform);
34
}
35
36
override
void
OnExpand
()
37
{
38
RegV(
"visible"
);
39
RegV(
"crossPlatform"
);
40
}
41
}
42
43
class
DSGameProperties:
JsonApiStruct
44
{
45
bool
battlEye
;
46
47
override
void
OnPack
()
48
{
49
UnregV(
"battlEye"
);
50
StoreBoolean(
"battlEye"
,
battlEye
);
51
}
52
53
override
void
OnExpand
()
54
{
55
RegV(
"battlEye"
);
56
}
57
}
58
59
class
DSMod:
JsonApiStruct
60
{
61
string
modId;
62
string
name;
63
string
version;
64
65
void
DSMod()
66
{
67
RegV(
"modId"
);
68
RegV(
"name"
);
69
RegV(
"version"
);
70
}
71
}
72
73
class
DSConfig
:
JsonApiStruct
74
{
75
string
bindAddress
;
76
int
bindPort
;
77
78
string
publicAddress
;
79
int
publicPort
;
80
81
ref
DSGameConfig
game
;
82
83
void
DSConfig
()
84
{
85
RegV(
"bindAddress"
);
86
RegV(
"bindPort"
);
87
RegV(
"publicAddress"
);
88
RegV(
"publicPort"
);
89
RegV(
"game"
);
90
}
91
}
battlEye
DSGameConfig battlEye
publicPort
int publicPort
Definition
DSConfig.c:79
DSConfig
void DSConfig()
Definition
DSConfig.c:83
OnExpand
override void OnExpand()
Definition
DSConfig.c:53
publicAddress
string publicAddress
Definition
DSConfig.c:78
bindAddress
DSMod bindAddress
bindPort
int bindPort
Definition
DSConfig.c:76
OnPack
override void OnPack()
Definition
DSConfig.c:47
game
ref DSGameConfig game
Definition
DSConfig.c:81
OnPack
override void OnPack()
Definition
SCR_ContentBrowser_AddonsSubMenu.c:1677
OnExpand
override void OnExpand()
Definition
ServerBrowserMenuCallbacks.c:60
DSGameConfig
Definition
DSConfig.c:2
JsonApiStruct
base classes for filtering in server browser
Definition
SCR_FeedbackDialogUI.c:3
scripts
GameLib
online
DSConfig.c
Generated by
1.17.0