summaryrefslogtreecommitdiffstats
path: root/src/Root.h
diff options
context:
space:
mode:
authorb33duck <b33duck@gmail.com>2015-05-28 22:17:21 +0200
committerb33duck <b33duck@gmail.com>2015-05-29 04:43:16 +0200
commit022348645e5f4a39c57ab6c899dd9de12bcb3794 (patch)
tree150ae108fa58f6c9f9f842c1bb50906315f6921a /src/Root.h
parentUpdated DumpInfo plugin. (diff)
downloadcuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.tar
cuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.tar.gz
cuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.tar.bz2
cuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.tar.lz
cuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.tar.xz
cuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.tar.zst
cuberite-022348645e5f4a39c57ab6c899dd9de12bcb3794.zip
Diffstat (limited to 'src/Root.h')
-rw-r--r--src/Root.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Root.h b/src/Root.h
index ab820427f..81551a503 100644
--- a/src/Root.h
+++ b/src/Root.h
@@ -145,6 +145,12 @@ 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);
+
+ /** Broadcast Player through all worlds */
+ void BroadcastPlayerListsAddPlayer(const cPlayer & a_Player, const cClientHandle * a_Exclude = nullptr);
+
// tolua_begin
/// Sends a chat message to all connected clients (in all worlds)