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