summaryrefslogtreecommitdiffstats
path: root/source/cRoot.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 01:05:12 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 01:05:12 +0200
commit49a4613d94d8e500e5bd3c259693fb5ccec4612e (patch)
treeea2db28bde16c472f02b6a83651df8cf2fe486a9 /source/cRoot.h
parentAdded a documentation for block and item handlers (diff)
downloadcuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.tar
cuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.tar.gz
cuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.tar.bz2
cuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.tar.lz
cuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.tar.xz
cuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.tar.zst
cuberite-49a4613d94d8e500e5bd3c259693fb5ccec4612e.zip
Diffstat (limited to '')
-rw-r--r--source/cRoot.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/cRoot.h b/source/cRoot.h
index b65c1d91d..e25a9805b 100644
--- a/source/cRoot.h
+++ b/source/cRoot.h
@@ -70,7 +70,10 @@ public:
void SaveAllChunks(void);
/// Calls the callback for each player in all worlds
- bool ForEachPlayer(cPlayerListCallback & a_Callback);
+ bool ForEachPlayer(cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<
+
+ /// Finds a player from a partial or complete player name and calls the callback - case-insensitive
+ bool FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<
private:
void LoadGlobalSettings();