diff options
author | Patric Stout <truebrain@openttd.org> | 2021-07-03 11:04:32 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-07-10 20:17:07 +0200 |
commit | b1280fd17ebaf9e4df086b63074d0bd8b8c9155d (patch) | |
tree | 6a421d4e079a765ba21181ad01ab21d13434ba9a /src/network/network_type.h | |
parent | e1e2212e0e09c7739f2eb8a4421a9ed7982801f5 (diff) | |
download | openttd-b1280fd17ebaf9e4df086b63074d0bd8b8c9155d.tar.xz |
Add: use Game Coordinator to annouce public servers
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r-- | src/network/network_type.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h index fb9953695..6e6fe33de 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -35,6 +35,15 @@ enum NetworkVehicleType { NETWORK_VEH_END }; +/** + * Game type the server can be using. + * Used on the network protocol to communicate with Game Coordinator. + */ +enum ServerGameType : uint8 { + SERVER_GAME_TYPE_LOCAL = 0, + SERVER_GAME_TYPE_PUBLIC, +}; + /** 'Unique' identifier to be given to clients */ enum ClientID : uint32 { INVALID_CLIENT_ID = 0, ///< Client is not part of anything |