summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-11-29 09:36:15 +0100
committerVincent <vincent.leung60@gmail.com>2014-11-29 09:36:15 +0100
commit61e761fdc2bfa5c77002d68bb24e0470def37b48 (patch)
treeefb8e5a7b544f9402d186201c1f9150511bcc1a9 /src/World.h
parentMerge pull request #1619 from mc-server/WarningFixes (diff)
downloadcuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.tar
cuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.tar.gz
cuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.tar.bz2
cuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.tar.lz
cuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.tar.xz
cuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.tar.zst
cuberite-61e761fdc2bfa5c77002d68bb24e0470def37b48.zip
Diffstat (limited to '')
-rw-r--r--src/World.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 68d0654ee..81470f869 100644
--- a/src/World.h
+++ b/src/World.h
@@ -808,6 +808,8 @@ public:
as at least one requests is active the chunk will be ticked). */
void SetChunkAlwaysTicked(int a_ChunkX, int a_ChunkZ, bool a_AlwaysTicked = true); // tolua_export
+ /** Get the usernames from the World. */
+ std::list<std::string> GetUsernames(void);
private:
friend class cRoot;