diff options
author | Mattes D <github@xoft.cz> | 2015-05-29 10:57:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-29 10:57:31 +0200 |
commit | 6adf5f5e008cd143b05240cd9886cb98e61e77f4 (patch) | |
tree | 64f918963af98da2edac09da1c420bea1773ce8d /src/Root.h | |
parent | Fixed Info.lua documentation (diff) | |
parent | Merge branch 'Issue2106' of https://github.com/beeduck/MCServer into Issue2106 (diff) | |
download | cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.tar cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.tar.gz cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.tar.bz2 cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.tar.lz cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.tar.xz cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.tar.zst cuberite-6adf5f5e008cd143b05240cd9886cb98e61e77f4.zip |
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 6 |
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) |