diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-22 21:32:34 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-22 21:32:34 +0000 |
commit | a6f9773c358dd7d091ff64cbda504ab8d8066dd3 (patch) | |
tree | 226e23c4656957e908623ccda9d3d1c50240a0b4 /src/core/netserver.h | |
parent | bbb43d1c15f2858573f5abb595aa62f8224e4d76 (diff) |
full trading support for networked games
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r-- | src/core/netserver.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h index afbb5a0..6eeb49b 100644 --- a/src/core/netserver.h +++ b/src/core/netserver.h @@ -7,12 +7,6 @@ #ifndef __INCLUDED_CORE_NETSERVER_H__ #define __INCLUDED_CORE_NETSERVER_H__ -#ifndef _WIN32 -#include <sys/select.h> -#else -#include <winsock2.h> -#endif - #include <list> #include <string> @@ -101,8 +95,14 @@ protected: /// send player disconnect information message void send_player_disconnect_info(NetClient *client, Player *player); + /// send info types + void send_infotypes(NetClient *client); + /// send player an info record void send_info_update(NetClient *client, Info *info); + + /// send player an inventory update + void send_inventory_update(NetClient *client, Entity *entity, const unsigned long timestamp); /// set the error state void abort(); |