Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-22 21:32:34 +0000
committerStijn Buys <ingar@osirion.org>2010-09-22 21:32:34 +0000
commita6f9773c358dd7d091ff64cbda504ab8d8066dd3 (patch)
tree226e23c4656957e908623ccda9d3d1c50240a0b4 /src/core/netconnection.h
parentbbb43d1c15f2858573f5abb595aa62f8224e4d76 (diff)
full trading support for networked games
Diffstat (limited to 'src/core/netconnection.h')
-rw-r--r--src/core/netconnection.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/netconnection.h b/src/core/netconnection.h
index 8aa0727..ffab093 100644
--- a/src/core/netconnection.h
+++ b/src/core/netconnection.h
@@ -7,6 +7,8 @@
#ifndef __INCLUDED_CORE_NETCONNECTION_H__
#define __INCLUDED_CORE_NETCONNECTION_H__
+#include "core/net.h"
+
#include <unistd.h>
#include <errno.h>
@@ -20,8 +22,6 @@
#include <sys/select.h>
#include <netdb.h>
-#else
-#include <windows.h>
#endif
#include <string>
@@ -81,6 +81,9 @@ public:
/// send an info request
void send_info_request(Info *info);
+
+ /// send an inventory udpate request
+ void send_inventory_request(Entity *entity);
/// transmit messages in the send queue to the remote server
void transmit();