X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=gameserver.h;h=2f5cfd4600bab13ced741ad7f3f11eee1b00bd8c;hb=603805f69c5484316a52ee099d03254c5a1096f3;hp=092f0b5d99dff3a913dcdaeb0785b1da1dd5d294;hpb=b1f5771eda7a9788b86604a4368eb83babdf486d;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/gameserver.h b/gameserver.h index 092f0b5..2f5cfd4 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 @@ -19,9 +20,10 @@ struct { int active; int authenticated; HSteamNetConnection connection; - char username[32]; + char username[ NETWORK_USERNAME_MAX ]; + char items[k_netmsg_playeritem_max][ADDON_UID_MAX]; } - clients[ 32 ]; + clients[ NETWORK_MAX_PLAYERS ]; u8 app_symmetric_key[ k_nSteamEncryptedAppTicketSymmetricKeyLen ];