projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix errors
[carveJwlIkooP6JGAAIwe30JlM.git]
/
gameserver.h
diff --git
a/gameserver.h
b/gameserver.h
index 646457e5a52e2817267d23a91d25a4acc317a74e..fa856cee1785aed63b10e9112a84d411cd58dec2 100644
(file)
--- a/
gameserver.h
+++ b/
gameserver.h
@@
-2,6
+2,7
@@
#define GAMESERVER_H
#define VG_SERVER
#define GAMESERVER_H
#define VG_SERVER
+
#include "vg/vg.h"
#include "vg/vg_steam.h"
#include "vg/vg_steam_networking.h"
#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;
struct gameserver_client {
int active;
+ u32 version;
int authenticated;
HSteamNetConnection connection;
char username[ NETWORK_USERNAME_MAX ];
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 ];
}
clients[ NETWORK_MAX_PLAYERS ];