Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r--src/core/netserver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h
index 7277866..95ada0d 100644
--- a/src/core/netserver.h
+++ b/src/core/netserver.h
@@ -18,7 +18,9 @@
namespace core
{
-/// network server
+/**
+ * Handles server-side network messages
+ * */
class NetServer
{
public:
@@ -72,6 +74,9 @@ public:
/// send a message on a specified channel
void send_message(NetClient *client, const Message::Channel channel, const std::string & message);
+
+ /// send a messagebox to a single client
+ void send_messagebox(NetClient *client, const std::string & text, const std::string &label1, const std::string command1, const std::string &label2, const std::string command2);
protected: