X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=gameserver.h;h=2f5cfd4600bab13ced741ad7f3f11eee1b00bd8c;hb=603805f69c5484316a52ee099d03254c5a1096f3;hp=670a9ba089be4debe5a46160d33b0ee6875b934f;hpb=a5cdfe2fc872f03c7988d63498abb7e7827325c1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/gameserver.h b/gameserver.h index 670a9ba..2f5cfd4 100644 --- a/gameserver.h +++ b/gameserver.h @@ -8,6 +8,7 @@ #include "vg/vg_steam_http.h" #include "vg/vg_steam_auth.h" #include "network_msg.h" +#include "network_common.h" #include "highscores.h" #include @@ -15,6 +16,15 @@ struct { HSteamNetPollGroup client_group; EServerMode auth_mode; + struct gameserver_client { + int active; + int authenticated; + HSteamNetConnection connection; + char username[ NETWORK_USERNAME_MAX ]; + char items[k_netmsg_playeritem_max][ADDON_UID_MAX]; + } + clients[ NETWORK_MAX_PLAYERS ]; + u8 app_symmetric_key[ k_nSteamEncryptedAppTicketSymmetricKeyLen ]; int monitor_fd;