diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-11-14 22:33:54 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-11-14 22:33:54 +0100 |
commit | a0e1e43fc187d79021b4e84e70729255f7f690e2 (patch) | |
tree | 933304dcec7bc698bf7c0f70fe8938d46c642113 /src/World.h | |
parent | ... in this world (diff) | |
parent | Noise3D: Added jungles. (diff) | |
download | cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.tar cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.tar.gz cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.tar.bz2 cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.tar.lz cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.tar.xz cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.tar.zst cuberite-a0e1e43fc187d79021b4e84e70729255f7f690e2.zip |
Diffstat (limited to 'src/World.h')
-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 a782bb5ec..03d99c538 100644 --- a/src/World.h +++ b/src/World.h @@ -324,6 +324,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 the player over his uuid and calls the callback */ + bool DoWithPlayerByUUID(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. |