Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
debug.c
Go to the documentation of this file.
1
void
syncDebugPrint
(
string
s)
2
{
3
#ifdef LOG_TO_RPT
4
PrintToRPT
(
""
+ s);
// comment/uncomment to hide/see debug logs
5
#endif
6
7
#ifdef LOG_TO_SCRIPT
8
Print
(
string
.Format(
"%1"
, s));
9
#endif
10
}
11
12
void
actionDebugPrint
(
string
s)
13
{
14
#ifdef LOG_TO_RPT
15
PrintToRPT
(
""
+ s);
// comment/uncomment to hide/see debug logs
16
#endif
17
18
#ifdef LOG_TO_SCRIPT
19
Print
(
string
.Format(
"%1"
, s));
20
#endif
21
}
22
23
void
inventoryDebugPrint
(
string
s)
24
{
25
#ifdef LOG_TO_RPT
26
PrintToRPT
(
""
+ s);
// comment/uncomment to hide/see debug logs
27
#endif
28
29
#ifdef LOG_TO_SCRIPT
30
Print
(
string
.Format(
"%1"
, s));
31
#endif
32
}
33
34
#ifdef DIAG_DEVELOPER
35
class
InventoryDebug
36
{
37
static
bool
m_IsHandAckEnable;
38
39
static
void
SetHandAckEnable(
bool
enable)
40
{
41
m_IsHandAckEnable = enable;
42
}
43
44
static
bool
IsHandAckEnable()
45
{
46
return
m_IsHandAckEnable;
47
}
48
}
49
#endif
syncDebugPrint
void syncDebugPrint(string s)
Definition
debug.c:1
inventoryDebugPrint
void inventoryDebugPrint(string s)
Definition
debug.c:23
actionDebugPrint
void actionDebugPrint(string s)
Definition
debug.c:12
Print
proto void Print(void var)
Prints content of variable to console/log.
PrintToRPT
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
Games
Dayz
scripts
3_game
systems
inventory
debug.c
Generated by
1.17.0