DayZ
1.24
Loading...
Searching...
No Matches
DLCDataLoader.c
Go to the documentation of this file.
1
class
DlcDataLoader
2
{
3
protected
static
const
string
JSON_FILE_PATH
=
"scripts/data/dlcinfo.json"
;
4
5
static
JsonDataDLCList
GetData
()
6
{
7
JsonDataDLCList
data
;
8
9
string
errorMessage
;
10
if
(!
JsonFileLoader<JsonDataDLCList>
.LoadFile(
JSON_FILE_PATH
,
data
,
errorMessage
))
11
ErrorEx
(
errorMessage
);
12
13
return
data
;
14
}
15
}
DlcDataLoader
Definition
DLCDataLoader.c:2
DlcDataLoader::JSON_FILE_PATH
static const string JSON_FILE_PATH
Definition
DLCDataLoader.c:3
DlcDataLoader::GetData
static JsonDataDLCList GetData()
Definition
DLCDataLoader.c:5
JsonDataDLCList
Definition
JsonDataDLCInfo.c:2
Param3
Definition
EntityAI.c:95
ErrorEx
enum ShapeType ErrorEx
scripts
3_Game
GUI
DLCs
DLCDataLoader.c
Generated by
1.10.0