Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
plugininventorydebug.c
Go to the documentation of this file.
1
// *************************************************************************************
2
// ! PluginInventoryDebug
3
// *************************************************************************************
4
#ifdef DIAG_DEVELOPER
5
class
PluginInventoryDebug
extends
PluginBase
6
{
7
// Inventory movement is not send to server
8
bool
m_IsOnlyLocalMoveEnable =
false
;
9
// For hand manipulation client wait for ack from server
10
bool
m_IsHandAckEnable =
false
;
11
// Repair desync system, if disable server will not send or respond on repair request
12
bool
m_IsDesyncRepairEnable =
true
;
13
14
//---------------------------------------------------
15
// gui stuff
16
17
void
PluginInventoryDebug()
18
{
19
m_IsOnlyLocalMoveEnable =
false
;
20
m_IsHandAckEnable =
false
;
21
m_IsDesyncRepairEnable =
true
;
22
}
23
24
bool
IsLocalOnlyMoveEnable()
25
{
26
return
m_IsOnlyLocalMoveEnable;
27
}
28
29
void
SetLocalOnlyMoveEnable(
bool
enable)
30
{
31
m_IsOnlyLocalMoveEnable = enable;
32
}
33
34
void
SetHandAckEnable(
bool
enable)
35
{
36
m_IsHandAckEnable = enable;
37
InventoryDebug.SetHandAckEnable(enable);
38
}
39
40
bool
IsHandAckEnable()
41
{
42
return
m_IsHandAckEnable;
43
}
44
45
void
SetDesyncRepairEnable(
bool
enable)
46
{
47
m_IsDesyncRepairEnable = enable;
48
}
49
50
bool
IsDesyncRepairEnable()
51
{
52
return
m_IsDesyncRepairEnable;
53
}
54
}
55
#endif
PluginBase
Class PluginMessageManager provides some basic Message Distribution mechanics, if you get instance of...
Definition
pluginbase.c:2
Games
Dayz
scripts
4_world
plugins
pluginbase
plugininventorydebug.c
Generated by
1.17.0