summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h9
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