projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remote items test
[carveJwlIkooP6JGAAIwe30JlM.git]
/
network.h
diff --git
a/network.h
b/network.h
index 16594e84184c1f01ad8519142d7f48fca77986c2..de64d44e60a115f2db9d4bf7e997deecf0233c35 100644
(file)
--- a/
network.h
+++ b/
network.h
@@
-10,6
+10,7
@@
#include "steam.h"
#include "network_msg.h"
#include "highscores.h"
#include "steam.h"
#include "network_msg.h"
#include "highscores.h"
+#include "addon_types.h"
static int network_scores_updated = 0;
static int network_scores_updated = 0;
@@
-42,19
+43,21
@@
struct {
u8 app_symmetric_key[ 1024 ];
u32 app_key_length;
EServerMode auth_mode;
u8 app_symmetric_key[ 1024 ];
u32 app_key_length;
EServerMode auth_mode;
-
- int name_update;
HSteamNetConnection remote;
ESteamNetworkingConnectionState state;
f64 last_attempt, last_frame;
u32 retries;
HSteamNetConnection remote;
ESteamNetworkingConnectionState state;
f64 last_attempt, last_frame;
u32 retries;
+
+ i32 network_info;
}
static network_client = {
.state = k_ESteamNetworkingConnectionState_None,
.auth_mode = eServerModeAuthentication,
}
static network_client = {
.state = k_ESteamNetworkingConnectionState_None,
.auth_mode = eServerModeAuthentication,
- .name_update = 1
};
};
+static int packet_minsize( SteamNetworkingMessage_t *msg, u32 size );
+static void network_send_item( enum addon_type type );
+
#endif /* NETWORK_H */
#endif /* NETWORK_H */