OpenClonk
C4GameControlNetwork.h File Reference
Include dependency graph for C4GameControlNetwork.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4GameControlNetwork
 
class  C4GameControlPacket
 
class  C4GameControlClient
 
class  C4PacketControlReq
 
class  C4PacketControlPkt
 
class  C4PacketExecSyncCtrl
 

Enumerations

enum  C4GameControlNetworkMode { CNM_Decentral = 0 , CNM_Central = 1 , CNM_Async = 2 }
 

Variables

const int32_t C4ControlBacklog = 100
 
const int32_t C4ClientIDAll = C4ClientIDUnknown
 
const int32_t C4ControlOverflowLimit = 3
 
const int32_t C4MaxPreSend = 15
 
const uint32_t C4ControlRequestInterval = 2000
 

Enumeration Type Documentation

◆ C4GameControlNetworkMode

Enumerator
CNM_Decentral 
CNM_Central 
CNM_Async 

Definition at line 33 of file C4GameControlNetwork.h.

34 {
35  CNM_Decentral = 0, // 0 is the standard mode set in config
36  CNM_Central = 1,
37  CNM_Async = 2
38 };
@ CNM_Async
@ CNM_Decentral
@ CNM_Central

Variable Documentation

◆ C4ClientIDAll

◆ C4ControlBacklog

const int32_t C4ControlBacklog = 100

Definition at line 26 of file C4GameControlNetwork.h.

Referenced by C4GameControlNetwork::CheckCompleteCtrl().

◆ C4ControlOverflowLimit

const int32_t C4ControlOverflowLimit = 3

Definition at line 28 of file C4GameControlNetwork.h.

Referenced by C4GameControlNetwork::CtrlOverflow().

◆ C4ControlRequestInterval

const uint32_t C4ControlRequestInterval = 2000

◆ C4MaxPreSend

const int32_t C4MaxPreSend = 15

Definition at line 29 of file C4GameControlNetwork.h.

Referenced by C4GameControlNetwork::setControlPreSend().