summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-07-11 21:57:05 +0200
committerGitHub <noreply@github.com>2021-07-11 21:57:05 +0200
commitb6a116a2479eb62aece540633c41d0f54a481fd6 (patch)
tree977ffda77d342bf5adc9105f25eed7e13e5d993f /src/network/network_type.h
parent8bb9c3f6466c6d15a1a02e963b06b95f9ffb6397 (diff)
downloadopenttd-b6a116a2479eb62aece540633c41d0f54a481fd6.tar.xz
Add: allow setting your server visibility to "invite-only" (#9434)
In this mode you do register to the Game Coordinator, but your server will not show up in the public server listing. You can give your friends the invite code of the server with which they can join.
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h
index 6e6fe33de..a3fb217fe 100644
--- a/src/network/network_type.h
+++ b/src/network/network_type.h
@@ -42,6 +42,7 @@ enum NetworkVehicleType {
enum ServerGameType : uint8 {
SERVER_GAME_TYPE_LOCAL = 0,
SERVER_GAME_TYPE_PUBLIC,
+ SERVER_GAME_TYPE_INVITE_ONLY,
};
/** 'Unique' identifier to be given to clients */