X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=gameserver.h;h=fa856cee1785aed63b10e9112a84d411cd58dec2;hb=8090b8da9ce1397ba47d7e2d91b4f1716f708f25;hp=2f5cfd4600bab13ced741ad7f3f11eee1b00bd8c;hpb=074fa69f479724f9800849430bad5caf730b01ef;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/gameserver.h b/gameserver.h index 2f5cfd4..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,10 +19,12 @@ struct { struct gameserver_client { int active; + u32 version; int authenticated; HSteamNetConnection connection; char username[ NETWORK_USERNAME_MAX ]; char items[k_netmsg_playeritem_max][ADDON_UID_MAX]; + u64 steamid; } clients[ NETWORK_MAX_PLAYERS ];