DDraceNetwork Documentation
Loading...
Searching...
No Matches
protocol_ex.h File Reference
Include dependency graph for protocol_ex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UUID(id, name)

Enumerations

enum  {
  NETMSG_EX_INVALID = UUID_INVALID , NETMSG_EX_UNKNOWN = UUID_UNKNOWN , OFFSET_NETMSG_UUID = OFFSET_UUID , __NETMSG_UUID_HELPER = OFFSET_NETMSG_UUID - 1 ,
  NETMSG_WHATIS , NETMSG_ITIS , NETMSG_IDONTKNOW , NETMSG_RCONTYPE ,
  NETMSG_MAP_DETAILS , NETMSG_CAPABILITIES , NETMSG_CLIENTVER , NETMSG_PINGEX ,
  NETMSG_PONGEX , NETMSG_CHECKSUM_REQUEST , NETMSG_CHECKSUM_RESPONSE , NETMSG_CHECKSUM_ERROR ,
  NETMSG_REDIRECT , NETMSG_RCON_CMD_GROUP_START , NETMSG_RCON_CMD_GROUP_END , NETMSG_MAP_RELOAD ,
  NETMSG_RECONNECT , NETMSG_MAPLIST_ADD , NETMSG_MAPLIST_GROUP_START , NETMSG_MAPLIST_GROUP_END ,
  OFFSET_TEEHISTORIAN_UUID
}
enum  { UNPACKMESSAGE_ERROR = 0 , UNPACKMESSAGE_OK , UNPACKMESSAGE_ANSWER }
enum  {
  SERVERCAP_CURVERSION = 5 , SERVERCAPFLAG_DDNET = 1 << 0 , SERVERCAPFLAG_CHATTIMEOUTCODE = 1 << 1 , SERVERCAPFLAG_ANYPLAYERFLAG = 1 << 2 ,
  SERVERCAPFLAG_PINGEX = 1 << 3 , SERVERCAPFLAG_ALLOWDUMMY = 1 << 4 , SERVERCAPFLAG_SYNCWEAPONINPUT = 1 << 5
}

Functions

void RegisterUuids (CUuidManager *pManager)
int UnpackMessageId (int *pId, bool *pSys, CUuid *pUuid, CUnpacker *pUnpacker, CMsgPacker *pPacker)

Macro Definition Documentation

◆ UUID

#define UUID ( id,
name )
Value:
id,

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERVERCAP_CURVERSION 
SERVERCAPFLAG_DDNET 
SERVERCAPFLAG_CHATTIMEOUTCODE 
SERVERCAPFLAG_ANYPLAYERFLAG 
SERVERCAPFLAG_PINGEX 
SERVERCAPFLAG_ALLOWDUMMY 
SERVERCAPFLAG_SYNCWEAPONINPUT 

◆ anonymous enum

anonymous enum
Enumerator
UNPACKMESSAGE_ERROR 
UNPACKMESSAGE_OK 
UNPACKMESSAGE_ANSWER 

◆ anonymous enum

anonymous enum
Enumerator
NETMSG_EX_INVALID 
NETMSG_EX_UNKNOWN 
OFFSET_NETMSG_UUID 
__NETMSG_UUID_HELPER 
NETMSG_WHATIS 
NETMSG_ITIS 
NETMSG_IDONTKNOW 
NETMSG_RCONTYPE 
NETMSG_MAP_DETAILS 
NETMSG_CAPABILITIES 
NETMSG_CLIENTVER 
NETMSG_PINGEX 
NETMSG_PONGEX 
NETMSG_CHECKSUM_REQUEST 
NETMSG_CHECKSUM_RESPONSE 
NETMSG_CHECKSUM_ERROR 
NETMSG_REDIRECT 
NETMSG_RCON_CMD_GROUP_START 
NETMSG_RCON_CMD_GROUP_END 
NETMSG_MAP_RELOAD 
NETMSG_RECONNECT 
NETMSG_MAPLIST_ADD 
NETMSG_MAPLIST_GROUP_START 
NETMSG_MAPLIST_GROUP_END 
OFFSET_TEEHISTORIAN_UUID 

Function Documentation

◆ RegisterUuids()

void RegisterUuids ( CUuidManager * pManager)

◆ UnpackMessageId()

int UnpackMessageId ( int * pId,
bool * pSys,
CUuid * pUuid,
CUnpacker * pUnpacker,
CMsgPacker * pPacker )