diff options
author | Mattes D <github@xoft.cz> | 2014-11-30 11:11:47 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-30 11:11:47 +0100 |
commit | a73c800377be83f6a4ed1cc16ba32f8deef4d27f (patch) | |
tree | b301c1c739ae519ac8b76fd1a1c8120a600f6abc /src/World.h | |
parent | Merge pull request #1626 from mc-server/StackTraceOnFailure (diff) | |
download | cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.tar cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.tar.gz cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.tar.bz2 cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.tar.lz cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.tar.xz cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.tar.zst cuberite-a73c800377be83f6a4ed1cc16ba32f8deef4d27f.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 */ |