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