DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
PluginInventoryDebug.c
См. документацию.
1// *************************************************************************************
2// ! PluginInventoryDebug
3// *************************************************************************************
4#ifdef DIAG_DEVELOPER
5class 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 // Pre split inventory handshake
14 bool m_IsOldProcessInputDataEnable = false;
15
16 //---------------------------------------------------
17 // gui stuff
18
19 void PluginInventoryDebug()
20 {
21 m_IsOnlyLocalMoveEnable = false;
22 m_IsHandAckEnable = false;
23 m_IsDesyncRepairEnable = true;
24 m_IsOldProcessInputDataEnable = false;
25 }
26
27 bool IsLocalOnlyMoveEnable()
28 {
29 return m_IsOnlyLocalMoveEnable;
30 }
31
32 void SetLocalOnlyMoveEnable(bool enable)
33 {
34 m_IsOnlyLocalMoveEnable = enable;
35 }
36
37 void SetHandAckEnable(bool enable)
38 {
39 m_IsHandAckEnable = enable;
40 InventoryDebug.SetHandAckEnable(enable);
41 }
42
43 bool IsHandAckEnable()
44 {
45 return m_IsHandAckEnable;
46 }
47
48 void SetDesyncRepairEnable(bool enable)
49 {
50 m_IsDesyncRepairEnable = enable;
51 }
52
53 bool IsDesyncRepairEnable()
54 {
55 return m_IsDesyncRepairEnable;
56 }
57
58 void SetOldProcessInputDataEnable(bool enable)
59 {
60 m_IsOldProcessInputDataEnable = enable;
61 }
62
63 bool IsOldProcessInputDataEnable()
64 {
65 return m_IsOldProcessInputDataEnable;
66 }
67}
68#endif
Plugin interface for controlling of agent pool system.
Определения PluginBase.c:2