| 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 | |
| 27 | UUID(NETMSG_WHATIS, "what-is@ddnet.tw" ) |
| 28 | UUID(NETMSG_ITIS, "it-is@ddnet.tw" ) |
| 29 | UUID(NETMSG_IDONTKNOW, "i-dont-know@ddnet.tw" ) |
| 30 | |
| 31 | UUID(NETMSG_RCONTYPE, "rcon-type@ddnet.tw" ) |
| 32 | UUID(NETMSG_MAP_DETAILS, "map-details@ddnet.tw" ) |
| 33 | UUID(NETMSG_CAPABILITIES, "capabilities@ddnet.tw" ) |
| 34 | UUID(NETMSG_CLIENTVER, "clientver@ddnet.tw" ) |
| 35 | UUID(NETMSG_PINGEX, "ping@ddnet.tw" ) |
| 36 | UUID(NETMSG_PONGEX, "pong@ddnet.tw" ) |
| 37 | UUID(NETMSG_CHECKSUM_REQUEST, "checksum-request@ddnet.tw" ) |
| 38 | UUID(NETMSG_CHECKSUM_RESPONSE, "checksum-response@ddnet.tw" ) |
| 39 | UUID(NETMSG_CHECKSUM_ERROR, "checksum-error@ddnet.tw" ) |
| 40 | UUID(NETMSG_REDIRECT, "redirect@ddnet.org" ) |
| 41 | UUID(NETMSG_RCON_CMD_GROUP_START, "rcon-cmd-group-start@ddnet.org" ) |
| 42 | UUID(NETMSG_RCON_CMD_GROUP_END, "rcon-cmd-group-end@ddnet.org" ) |
| 43 | UUID(NETMSG_MAP_RELOAD, "map-reload@ddnet.org" ) |
| 44 | UUID(NETMSG_RECONNECT, "reconnect@ddnet.org" ) |
| 45 | UUID(NETMSG_MAPLIST_ADD, "sv-maplist-add@ddnet.org" ) |
| 46 | UUID(NETMSG_MAPLIST_GROUP_START, "sv-maplist-start@ddnet.org" ) |
| 47 | UUID(NETMSG_MAPLIST_GROUP_END, "sv-maplist-end@ddnet.org" ) |
| 48 | |