From 925f960ea2aeeea8eaeae94a8ef6602690b215c2 Mon Sep 17 00:00:00 2001 From: dImrich Date: Thu, 4 Feb 2021 00:33:17 +0100 Subject: Adds playerlist header and footer broadcasting (1.8-1.13) --- src/Root.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/Root.cpp') 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) -- cgit v1.2.3