X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=gameserver.h;h=fa856cee1785aed63b10e9112a84d411cd58dec2;hb=8090b8da9ce1397ba47d7e2d91b4f1716f708f25;hp=646457e5a52e2817267d23a91d25a4acc317a74e;hpb=9385ff1868a052d92d60c0b49aa03848460b1916;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/gameserver.h b/gameserver.h index 646457e..fa856ce 100644 --- a/gameserver.h +++ b/gameserver.h @@ -2,6 +2,7 @@ #define GAMESERVER_H #define VG_SERVER + #include "vg/vg.h" #include "vg/vg_steam.h" #include "vg/vg_steam_networking.h" @@ -18,11 +19,12 @@ struct { struct gameserver_client { int active; + u32 version; int authenticated; HSteamNetConnection connection; char username[ NETWORK_USERNAME_MAX ]; - - char item_board[ ADDON_UID_MAX ], item_player[ ADDON_UID_MAX ]; + char items[k_netmsg_playeritem_max][ADDON_UID_MAX]; + u64 steamid; } clients[ NETWORK_MAX_PLAYERS ];