summaryrefslogtreecommitdiffstats
path: root/source/Root.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-17 23:58:37 +0200
committermadmaxoft <github@xoft.cz>2013-08-17 23:58:37 +0200
commitd287183137a616c9cbb6eb878d2a177fd2cafbd3 (patch)
tree4fc462fc34648b8b7745cd1ac8d5139722911744 /source/Root.h
parentThe server Tick thread ticks PluginManager. (diff)
downloadcuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.tar
cuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.tar.gz
cuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.tar.bz2
cuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.tar.lz
cuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.tar.xz
cuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.tar.zst
cuberite-d287183137a616c9cbb6eb878d2a177fd2cafbd3.zip
Diffstat (limited to '')
-rw-r--r--source/Root.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Root.h b/source/Root.h
index 262c9b0e5..194b1cbb5 100644
--- a/source/Root.h
+++ b/source/Root.h
@@ -95,6 +95,9 @@ public:
/// Saves all chunks in all worlds
void SaveAllChunks(void); // tolua_export
+ /// Sends a chat message to all connected clients (in all worlds)
+ void BroadcastChat(const AString & a_Message); // tolua_export
+
/// Calls the callback for each player in all worlds
bool ForEachPlayer(cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<