summaryrefslogtreecommitdiff
path: root/src/eventmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventmanager.h')
-rw-r--r--src/eventmanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eventmanager.h b/src/eventmanager.h
index 611c4eca..53a3be60 100644
--- a/src/eventmanager.h
+++ b/src/eventmanager.h
@@ -25,6 +25,11 @@
#include <map>
#include <set>
+#define SERVER_NOTICE(message) { \
+Mana::Event event("ServerNotice"); \
+event.setString("message", message); \
+Mana::EventManager::trigger("Notices", event); }
+
namespace Mana
{