add $exit on game server

This commit is contained in:
Martin Michelsen
2023-02-04 19:51:00 -08:00
parent ed770a8b74
commit 8582e18861
7 changed files with 48 additions and 18 deletions
+7
View File
@@ -10,6 +10,13 @@ using namespace std;
const vector<string> version_to_login_port_name({
"bb-patch", "console-login", "pc-login", "console-login", "console-login", "bb-init"});
const vector<string> version_to_lobby_port_name({
"bb-patch", "console-lobby", "pc-lobby", "console-lobby", "console-lobby", "bb-lobby"});
const vector<string> version_to_proxy_port_name({
"", "dc-proxy", "pc-proxy", "gc-proxy", "xb-proxy", "bb-proxy"});
uint16_t flags_for_version(GameVersion version, int64_t sub_version) {
switch (sub_version) {
case -1: // Initial check (before sub_version recognition)