diff options
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(); |