From c8b1778847fca653c5f9cde610d25586131698ac Mon Sep 17 00:00:00 2001 From: b33duck Date: Thu, 28 May 2015 13:17:21 -0700 Subject: Fixed the way connecting clients receive player lists and broadcast chat to worlds --- src/Root.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Root.h') diff --git a/src/Root.h b/src/Root.h index ab820427f..73fd6638c 100644 --- a/src/Root.h +++ b/src/Root.h @@ -145,6 +145,10 @@ public: /** Finds the player using it's complete username and calls the callback */ bool DoWithPlayer(const AString & a_PlayerName, cPlayerListCallback & a_Callback); + /** Send playerlist of all worlds to player */ + void SendPlayerLists(cPlayer * a_DestPlayer); + + // tolua_begin /// Sends a chat message to all connected clients (in all worlds) -- cgit v1.2.3