projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add sqlite and use it
[carveJwlIkooP6JGAAIwe30JlM.git]
/
gameserver.h
diff --git
a/gameserver.h
b/gameserver.h
index a1b5d6ae0b2d5a64b7c3b18a1495e1f052e7372d..2f5cfd4600bab13ced741ad7f3f11eee1b00bd8c 100644
(file)
--- 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 "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>
#include "highscores.h"
#include <sys/socket.h>
@@
-19,8
+20,10
@@
struct {
int active;
int authenticated;
HSteamNetConnection connection;
int active;
int authenticated;
HSteamNetConnection connection;
+ 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 ];
u8 app_symmetric_key[ k_nSteamEncryptedAppTicketSymmetricKeyLen ];