DDNet documentation
Toggle main menu visibility
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
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"
)
UUID
#define UUID(id, name)
NETMSG_MAPLIST_GROUP_END
@ NETMSG_MAPLIST_GROUP_END
Definition
protocol_ex.h:65
NETMSG_CAPABILITIES
@ NETMSG_CAPABILITIES
Definition
protocol_ex.h:51
NETMSG_WHATIS
@ NETMSG_WHATIS
Definition
protocol_ex.h:45
NETMSG_PINGEX
@ NETMSG_PINGEX
Definition
protocol_ex.h:53
NETMSG_PONGEX
@ NETMSG_PONGEX
Definition
protocol_ex.h:54
NETMSG_MAPLIST_ADD
@ NETMSG_MAPLIST_ADD
Definition
protocol_ex.h:63
NETMSG_CHECKSUM_ERROR
@ NETMSG_CHECKSUM_ERROR
Definition
protocol_ex.h:57
NETMSG_CHECKSUM_RESPONSE
@ NETMSG_CHECKSUM_RESPONSE
Definition
protocol_ex.h:56
NETMSG_RCONTYPE
@ NETMSG_RCONTYPE
Definition
protocol_ex.h:49
NETMSG_CHECKSUM_REQUEST
@ NETMSG_CHECKSUM_REQUEST
Definition
protocol_ex.h:55
NETMSG_IDONTKNOW
@ NETMSG_IDONTKNOW
Definition
protocol_ex.h:47
NETMSG_CLIENTVER
@ NETMSG_CLIENTVER
Definition
protocol_ex.h:52
NETMSG_RCON_CMD_GROUP_START
@ NETMSG_RCON_CMD_GROUP_START
Definition
protocol_ex.h:59
NETMSG_MAP_DETAILS
@ NETMSG_MAP_DETAILS
Definition
protocol_ex.h:50
NETMSG_RCON_CMD_GROUP_END
@ NETMSG_RCON_CMD_GROUP_END
Definition
protocol_ex.h:60
NETMSG_REDIRECT
@ NETMSG_REDIRECT
Definition
protocol_ex.h:58
NETMSG_MAPLIST_GROUP_START
@ NETMSG_MAPLIST_GROUP_START
Definition
protocol_ex.h:64
NETMSG_RECONNECT
@ NETMSG_RECONNECT
Definition
protocol_ex.h:62
NETMSG_MAP_RELOAD
@ NETMSG_MAP_RELOAD
Definition
protocol_ex.h:61
NETMSG_ITIS
@ NETMSG_ITIS
Definition
protocol_ex.h:46
src
engine
shared
protocol_ex_msgs.h
Generated by
1.18.0