Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
utilityclasses.c
Go to the documentation of this file.
1
class
ItemVariableFlags
2
{
3
static
const
int
NONE
= 0;
4
static
const
int
FLOAT
= 0x0001;
5
static
const
int
STRING
= 0x0002;
6
static
const
int
BOOL
= 0x0004;
7
};
8
9
class
CachedObjectsParams
10
{
11
static
ref Param1<int>
PARAM1_INT
;
//CachedObjectsParams.PARAM1_INT
12
static
ref Param1<bool>
PARAM1_BOOL
;
//CachedObjectsParams.PARAM1_BOOL
13
static
ref Param1<float>
PARAM1_FLOAT
;
//CachedObjectsParams.PARAM1_FLOAT
14
static
ref Param1<string>
PARAM1_STRING
;
//CachedObjectsParams.PARAM1_STRING
15
16
static
ref
Param2<int,int>
PARAM2_INT_INT
;
//CachedObjectsParams.PARAM2_INT_INT
17
static
ref
Param2<int,float>
PARAM2_INT_FLOAT
;
//CachedObjectsParams.PARAM2_INT_FLOAT
18
static
ref
Param2<int,string>
PARAM2_INT_STRING
;
//CachedObjectsParams.PARAM2_INT_STRING
19
static
ref
Param2<string,float>
PARAM2_STRING_FLOAT
;
//CachedObjectsParams.PARAM2_STRING_FLOAT
20
static
ref
Param2<string,string>
PARAM2_STRING_STRING
;
//CachedObjectsParams.PARAM2_STRING_STRING
21
static
ref
Param2<float,float>
PARAM2_FLOAT_FLOAT
;
//CachedObjectsParams.PARAM2_STRING_STRING
22
23
static
void
Init
()
24
{
25
PARAM1_INT
=
new
Param1<int>(0);
26
PARAM1_BOOL
=
new
Param1<bool>(
false
);
27
PARAM1_FLOAT
=
new
Param1<float>(0);
28
PARAM1_STRING
=
new
Param1<string>(
""
);
29
30
PARAM2_INT_INT
=
new
Param2<int,int>
(0,0);
31
PARAM2_INT_FLOAT
=
new
Param2<int,float>
(0,0);
32
PARAM2_INT_STRING
=
new
Param2<int,string>
(0,
""
);
33
PARAM2_STRING_FLOAT
=
new
Param2<string,float>
(
""
,0);
34
PARAM2_STRING_STRING
=
new
Param2<string,string>
(
""
,
""
);
35
PARAM2_FLOAT_FLOAT
=
new
Param2<float,float>
(0,0);
36
}
37
};
38
39
40
class
CachedObjectsArrays
//don't forget to .Clear() your cache object before using it
41
{
42
static
void
Init
()
43
{
44
ARRAY_STRING
=
new
TStringArray
;
45
ARRAY_FLOAT
=
new
TFloatArray
;
46
ARRAY_INT
=
new
TIntArray
;
47
}
48
49
static
ref
TStringArray
ARRAY_STRING
;
//CachedObjectsArrays.ARRAY_STRING
50
static
ref
TFloatArray
ARRAY_FLOAT
;
//CachedObjectsArrays.ARRAY_FLOAT
51
static
ref
TIntArray
ARRAY_INT
;
//CachedObjectsArrays.ARRAY_INT
52
};
CachedObjectsArrays
Definition
utilityclasses.c:41
CachedObjectsArrays::Init
static void Init()
Definition
utilityclasses.c:42
CachedObjectsArrays::ARRAY_STRING
static ref TStringArray ARRAY_STRING
Definition
utilityclasses.c:49
CachedObjectsArrays::ARRAY_INT
static ref TIntArray ARRAY_INT
Definition
utilityclasses.c:51
CachedObjectsArrays::ARRAY_FLOAT
static ref TFloatArray ARRAY_FLOAT
Definition
utilityclasses.c:50
CachedObjectsParams
Definition
utilityclasses.c:10
CachedObjectsParams::PARAM2_INT_INT
static ref Param2< int, int > PARAM2_INT_INT
Definition
utilityclasses.c:16
CachedObjectsParams::Init
static void Init()
Definition
utilityclasses.c:23
CachedObjectsParams::PARAM1_BOOL
static ref Param1< bool > PARAM1_BOOL
Definition
utilityclasses.c:12
CachedObjectsParams::PARAM1_FLOAT
static ref Param1< float > PARAM1_FLOAT
Definition
utilityclasses.c:13
CachedObjectsParams::PARAM2_INT_STRING
static ref Param2< int, string > PARAM2_INT_STRING
Definition
utilityclasses.c:18
CachedObjectsParams::PARAM2_STRING_STRING
static ref Param2< string, string > PARAM2_STRING_STRING
Definition
utilityclasses.c:20
CachedObjectsParams::PARAM2_INT_FLOAT
static ref Param2< int, float > PARAM2_INT_FLOAT
Definition
utilityclasses.c:17
CachedObjectsParams::PARAM2_FLOAT_FLOAT
static ref Param2< float, float > PARAM2_FLOAT_FLOAT
Definition
utilityclasses.c:21
CachedObjectsParams::PARAM1_STRING
static ref Param1< string > PARAM1_STRING
Definition
utilityclasses.c:14
CachedObjectsParams::PARAM1_INT
static ref Param1< int > PARAM1_INT
Definition
utilityclasses.c:11
CachedObjectsParams::PARAM2_STRING_FLOAT
static ref Param2< string, float > PARAM2_STRING_FLOAT
Definition
utilityclasses.c:19
ItemVariableFlags
Definition
utilityclasses.c:2
ItemVariableFlags::BOOL
static const int BOOL
Definition
utilityclasses.c:6
ItemVariableFlags::FLOAT
static const int FLOAT
Definition
utilityclasses.c:4
ItemVariableFlags::NONE
static const int NONE
Definition
utilityclasses.c:3
ItemVariableFlags::STRING
static const int STRING
Definition
utilityclasses.c:5
Param2
Definition
ppeconstants.c:68
TFloatArray
array< float > TFloatArray
Definition
enscript.c:713
TStringArray
array< string > TStringArray
Definition
enscript.c:712
TIntArray
array< int > TIntArray
Definition
enscript.c:714
Games
Dayz
scripts
3_game
tools
utilityclasses.c
Generated by
1.17.0