diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-11-30 19:38:52 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-11-30 19:38:52 +0100 |
commit | 6adf749164d7bc98bf34173b1f9d64804913d734 (patch) | |
tree | e15bd9dd8512fdbb61736db4d2d0b1f218bb81f0 /src/World.h | |
parent | Removed old MobType category. (diff) | |
parent | Hopefully fixed random build fails (diff) | |
download | cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.gz cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.bz2 cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.lz cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.xz cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.zst cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index 68d0654ee..31bc9dad6 100644 --- a/src/World.h +++ b/src/World.h @@ -315,7 +315,8 @@ public: /** Calls the callback for each player in the list; returns true if all players processed, false if the callback aborted by returning true */ virtual bool ForEachPlayer(cPlayerListCallback & a_Callback) override; // >> EXPORTED IN MANUALBINDINGS << - /** Calls the callback for the player of the given name; returns true if the player was found and the callback called, false if player not found. Callback return ignored */ + /** Calls the callback for the player of the given name; returns true if the player was found and the callback called, false if player not found. + Callback return value is ignored. If there are multiple players of the same name, only (random) one is processed by the callback. */ bool DoWithPlayer(const AString & a_PlayerName, cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS << /** Finds a player from a partial or complete player name and calls the callback - case-insensitive */ |