From a6f9773c358dd7d091ff64cbda504ab8d8066dd3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 22 Sep 2010 21:32:34 +0000 Subject: full trading support for networked games --- src/core/netconnection.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/core/netconnection.h') 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 #include @@ -20,8 +22,6 @@ #include #include -#else -#include #endif #include @@ -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(); -- cgit v1.2.3