DDraceNetwork Documentation
Loading...
Searching...
No Matches
protocol_ex_msgs.h
Go to the documentation of this file.
1// UUID(name_in_code, name)
2//
3// When adding your own extended net messages, choose the name (third
4// parameter) as `<name>@<domain>` where `<name>` is a name you can choose
5// freely and `<domain>` is a domain you own. If you don't own a domain, try
6// choosing a string that is not a domain and uniquely identifies you, e.g. use
7// the name of the client/server you develop.
8//
9// Example:
10//
11// 1) `i-unfreeze-you@ddnet.org`
12// 2) `creeper@minetee`
13//
14// The first example applies if you own the `ddnet.org` domain, that is, if you
15// are adding this message on behalf of the DDNet team.
16//
17// The second example shows how you could add a message if you don't own a
18// domain, but need a message for your minetee client/server.
19
20// This file can be included several times.
21
22#ifndef UUID
23// This helps IDEs properly syntax highlight the uses of the macro below.
24#define UUID(Id, Name)
25#endif
26
27UUID(NETMSG_WHATIS, "what-is@ddnet.tw")
28UUID(NETMSG_ITIS, "it-is@ddnet.tw")
29UUID(NETMSG_IDONTKNOW, "i-dont-know@ddnet.tw")
30
31UUID(NETMSG_RCONTYPE, "rcon-type@ddnet.tw")
32UUID(NETMSG_MAP_DETAILS, "map-details@ddnet.tw")
33UUID(NETMSG_CAPABILITIES, "capabilities@ddnet.tw")
34UUID(NETMSG_CLIENTVER, "clientver@ddnet.tw")
35UUID(NETMSG_PINGEX, "ping@ddnet.tw")
36UUID(NETMSG_PONGEX, "pong@ddnet.tw")
37UUID(NETMSG_CHECKSUM_REQUEST, "checksum-request@ddnet.tw")
38UUID(NETMSG_CHECKSUM_RESPONSE, "checksum-response@ddnet.tw")
39UUID(NETMSG_CHECKSUM_ERROR, "checksum-error@ddnet.tw")
40UUID(NETMSG_REDIRECT, "redirect@ddnet.org")
41UUID(NETMSG_RCON_CMD_GROUP_START, "rcon-cmd-group-start@ddnet.org")
42UUID(NETMSG_RCON_CMD_GROUP_END, "rcon-cmd-group-end@ddnet.org")
43UUID(NETMSG_MAP_RELOAD, "map-reload@ddnet.org")
44UUID(NETMSG_RECONNECT, "reconnect@ddnet.org")
45UUID(NETMSG_MAPLIST_ADD, "sv-maplist-add@ddnet.org")
46UUID(NETMSG_MAPLIST_GROUP_START, "sv-maplist-start@ddnet.org")
47UUID(NETMSG_MAPLIST_GROUP_END, "sv-maplist-end@ddnet.org")
#define UUID(id, name)
@ NETMSG_MAPLIST_GROUP_END
Definition protocol_ex.h:65
@ NETMSG_CAPABILITIES
Definition protocol_ex.h:51
@ NETMSG_WHATIS
Definition protocol_ex.h:45
@ NETMSG_PINGEX
Definition protocol_ex.h:53
@ NETMSG_PONGEX
Definition protocol_ex.h:54
@ NETMSG_MAPLIST_ADD
Definition protocol_ex.h:63
@ NETMSG_CHECKSUM_ERROR
Definition protocol_ex.h:57
@ NETMSG_CHECKSUM_RESPONSE
Definition protocol_ex.h:56
@ NETMSG_RCONTYPE
Definition protocol_ex.h:49
@ NETMSG_CHECKSUM_REQUEST
Definition protocol_ex.h:55
@ NETMSG_IDONTKNOW
Definition protocol_ex.h:47
@ NETMSG_CLIENTVER
Definition protocol_ex.h:52
@ NETMSG_RCON_CMD_GROUP_START
Definition protocol_ex.h:59
@ NETMSG_MAP_DETAILS
Definition protocol_ex.h:50
@ NETMSG_RCON_CMD_GROUP_END
Definition protocol_ex.h:60
@ NETMSG_REDIRECT
Definition protocol_ex.h:58
@ NETMSG_MAPLIST_GROUP_START
Definition protocol_ex.h:64
@ NETMSG_RECONNECT
Definition protocol_ex.h:62
@ NETMSG_MAP_RELOAD
Definition protocol_ex.h:61
@ NETMSG_ITIS
Definition protocol_ex.h:46
#define UUID(Id, Name)
Definition protocol_ex_msgs.h:24