DDraceNetwork Docs
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
22UUID(NETMSG_WHATIS, "what-is@ddnet.tw")
23UUID(NETMSG_ITIS, "it-is@ddnet.tw")
24UUID(NETMSG_IDONTKNOW, "i-dont-know@ddnet.tw")
25
26UUID(NETMSG_RCONTYPE, "rcon-type@ddnet.tw")
27UUID(NETMSG_MAP_DETAILS, "map-details@ddnet.tw")
28UUID(NETMSG_CAPABILITIES, "capabilities@ddnet.tw")
29UUID(NETMSG_CLIENTVER, "clientver@ddnet.tw")
30UUID(NETMSG_PINGEX, "ping@ddnet.tw")
31UUID(NETMSG_PONGEX, "pong@ddnet.tw")
32UUID(NETMSG_CHECKSUM_REQUEST, "checksum-request@ddnet.tw")
33UUID(NETMSG_CHECKSUM_RESPONSE, "checksum-response@ddnet.tw")
34UUID(NETMSG_CHECKSUM_ERROR, "checksum-error@ddnet.tw")
35UUID(NETMSG_REDIRECT, "redirect@ddnet.org")
36UUID(NETMSG_RCON_CMD_GROUP_START, "rcon-cmd-group-start@ddnet.org")
37UUID(NETMSG_RCON_CMD_GROUP_END, "rcon-cmd-group-end@ddnet.org")
38UUID(NETMSG_MAP_RELOAD, "map-reload@ddnet.org")
#define UUID(id, name)