DDraceNetwork Docs
protocol_ex.h
Go to the documentation of this file.
1#ifndef ENGINE_SHARED_PROTOCOL_EX_H
2#define ENGINE_SHARED_PROTOCOL_EX_H
3
5
6class CMsgPacker;
7class CUnpacker;
8
9enum
10{
13
15
17#define UUID(id, name) id,
18#include "protocol_ex_msgs.h"
19#undef UUID
21
25
33};
34
35void RegisterUuids(CUuidManager *pManager);
36bool NetworkExDefaultHandler(int *pId, CUuid *pUuid, CUnpacker *pUnpacker, CMsgPacker *pPacker, int Type);
37
38int UnpackMessageId(int *pId, bool *pSys, CUuid *pUuid, CUnpacker *pUnpacker, CMsgPacker *pPacker);
39
40#endif // ENGINE_SHARED_PROTOCOL_EX_H
Definition: message.h:10
Definition: packer.h:32
Definition: uuid_manager.h:53
int UnpackMessageId(int *pId, bool *pSys, CUuid *pUuid, CUnpacker *pUnpacker, CMsgPacker *pPacker)
Definition: protocol_ex.cpp:18
bool NetworkExDefaultHandler(int *pId, CUuid *pUuid, CUnpacker *pUnpacker, CMsgPacker *pPacker, int Type)
void RegisterUuids(CUuidManager *pManager)
Definition: protocol_ex.cpp:11
@ SERVERCAPFLAG_PINGEX
Definition: protocol_ex.h:30
@ SERVERCAPFLAG_CHATTIMEOUTCODE
Definition: protocol_ex.h:28
@ NETMSG_EX_INVALID
Definition: protocol_ex.h:11
@ SERVERCAP_CURVERSION
Definition: protocol_ex.h:26
@ SERVERCAPFLAG_ANYPLAYERFLAG
Definition: protocol_ex.h:29
@ UNPACKMESSAGE_OK
Definition: protocol_ex.h:23
@ UNPACKMESSAGE_ANSWER
Definition: protocol_ex.h:24
@ __NETMSG_UUID_HELPER
Definition: protocol_ex.h:16
@ OFFSET_TEEHISTORIAN_UUID
Definition: protocol_ex.h:20
@ OFFSET_NETMSG_UUID
Definition: protocol_ex.h:14
@ SERVERCAPFLAG_SYNCWEAPONINPUT
Definition: protocol_ex.h:32
@ NETMSG_EX_UNKNOWN
Definition: protocol_ex.h:12
@ SERVERCAPFLAG_DDNET
Definition: protocol_ex.h:27
@ SERVERCAPFLAG_ALLOWDUMMY
Definition: protocol_ex.h:31
@ UNPACKMESSAGE_ERROR
Definition: protocol_ex.h:22
Definition: uuid_manager.h:17
@ OFFSET_UUID
Definition: uuid_manager.h:13
@ UUID_INVALID
Definition: uuid_manager.h:10
@ UUID_UNKNOWN
Definition: uuid_manager.h:11