board pose
[carveJwlIkooP6JGAAIwe30JlM.git] / gameserver.h
index 670a9ba089be4debe5a46160d33b0ee6875b934f..646457e5a52e2817267d23a91d25a4acc317a74e 100644 (file)
@@ -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 <sys/socket.h>
 
@@ -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[ NETWORK_MAX_PLAYERS ];
+
    u8 app_symmetric_key[ k_nSteamEncryptedAppTicketSymmetricKeyLen ];
 
    int monitor_fd;