From b1280fd17ebaf9e4df086b63074d0bd8b8c9155d Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 3 Jul 2021 11:04:32 +0200 Subject: Add: use Game Coordinator to annouce public servers --- src/network/network_type.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/network/network_type.h') 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 -- cgit v1.2.3-54-g00ecf