X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=gameserver.h;h=a3aa574b8114f539cd0b2424ebbbfe4f19d8ab2b;hb=825c3bce18272c0f81659e0eac469709d0462836;hp=670a9ba089be4debe5a46160d33b0ee6875b934f;hpb=a5cdfe2fc872f03c7988d63498abb7e7827325c1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/gameserver.h b/gameserver.h index 670a9ba..a3aa574 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,14 @@ struct { HSteamNetPollGroup client_group; EServerMode auth_mode; + struct gameserver_client { + int active; + int authenticated; + HSteamNetConnection connection; + char username[ NETWORK_USERNAME_MAX ]; + } + clients[ 32 ]; + u8 app_symmetric_key[ k_nSteamEncryptedAppTicketSymmetricKeyLen ]; int monitor_fd;