diff options
Diffstat (limited to 'src/Broadcaster.cpp')
-rw-r--r-- | src/Broadcaster.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Broadcaster.cpp b/src/Broadcaster.cpp index e7a29cb5d..98759a58b 100644 --- a/src/Broadcaster.cpp +++ b/src/Broadcaster.cpp @@ -418,6 +418,19 @@ void cWorld::BroadcastPlayerListAddPlayer(const cPlayer & a_Player, const cClien +void cWorld::BroadcastPlayerListHeaderFooter(const cCompositeChat & a_Header, const cCompositeChat & a_Footer) +{ + ForClientsInWorld(*this, nullptr, [&](cClientHandle & a_Client) + { + a_Client.SendPlayerListHeaderFooter(a_Header, a_Footer); + } + ); +} + + + + + void cWorld::BroadcastPlayerListRemovePlayer(const cPlayer & a_Player, const cClientHandle * a_Exclude) { ForClientsInWorld(*this, a_Exclude, [&](cClientHandle & a_Client) |