summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authordImrich <damian@haze.sk>2021-02-04 00:33:17 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-06 15:14:40 +0100
commit925f960ea2aeeea8eaeae94a8ef6602690b215c2 (patch)
treec865f2e046008670b8fc9e7985c8394a7590c97e /src/Root.cpp
parentCreative mode hits immediately disappear boats (#5117) (diff)
downloadcuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.gz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.bz2
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.lz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.xz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.zst
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 57782fbb4..a1023e8e9 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -648,6 +648,18 @@ void cRoot::BroadcastPlayerListsRemovePlayer(const cPlayer & a_Player, const cCl
+void cRoot::BroadcastPlayerListsHeaderFooter(const cCompositeChat & a_Header, const cCompositeChat & a_Footer)
+{
+ for (auto & Entry : m_WorldsByName)
+ {
+ Entry.second.BroadcastPlayerListHeaderFooter(a_Header, a_Footer);
+ }
+}
+
+
+
+
+
void cRoot::BroadcastChat(const AString & a_Message, eMessageType a_ChatPrefix)
{
for (auto & Entry : m_WorldsByName)