Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
BackendExamples.c
Go to the documentation of this file.
1
2
class
BackendExamples
3
{
4
5
void
ExecuteTest(
int
no )
6
{
7
Print
(
"// ----------------------------------"
);
8
Print
(
"...executing BACKEND TEST #"
+ no);
9
10
11
// #7 Authentication + Static Configuration GET
12
if
( no == 7 )
13
{
14
// save it
15
Print
(
"SAVING"
);
16
OnlineRecord_Parent p1;
17
p1 =
new
OnlineRecord_Parent();
// we character OBJ as sample too
18
p1.Initialize(5);
19
p1.PackToFile(
"ArrayTest.json"
);
20
p1.PrintThis();
21
Print
(
"PACKED"
);
22
23
// load it
24
Print
(
"LOADING"
);
25
OnlineRecord_Parent p2 =
new
OnlineRecord_Parent();
26
p2.LoadFromFile(
"ArrayTest.json"
);
27
p2.PrintThis();
28
Print
(
"LOADED"
);
29
30
31
}
32
}
33
34
35
};
BackendExamples
Definition
BackendExamples.c:3
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
scripts
GameCode
Online
BackendExamples.c
Generated by
1.17.0