diff options
author | Lukas Pioch <lukas@zgow.de> | 2014-11-02 21:01:23 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2014-11-02 21:01:23 +0100 |
commit | 9f71a4e7aec04c4c7fa57ac4b82f27a21044f798 (patch) | |
tree | 25761b6d78453e356cab4debd1db8348e50c0a7c /src/World.h | |
parent | Merge pull request #1569 from mc-server/GrownBiomes (diff) | |
download | cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.tar cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.tar.gz cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.tar.bz2 cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.tar.lz cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.tar.xz cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.tar.zst cuberite-9f71a4e7aec04c4c7fa57ac4b82f27a21044f798.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index ec6dcadde..aeb8abf81 100644 --- a/src/World.h +++ b/src/World.h @@ -323,6 +323,9 @@ public: // TODO: This interface is dangerous - rewrite to DoWithClosestPlayer(pos, sight, action) cPlayer * FindClosestPlayer(const Vector3d & a_Pos, float a_SightLimit, bool a_CheckLineOfSight = true); + /** Finds a player with the same uuid and call the callback */ + bool FindAndDoWithUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS << + void SendPlayerList(cPlayer * a_DestPlayer); // Sends playerlist to the player /** Adds the entity into its appropriate chunk; takes ownership of the entity ptr. |