summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-07-30 22:48:59 +0200
committermadmaxoft <github@xoft.cz>2013-07-30 22:48:59 +0200
commite9f18f8b4fcf4ae7891b631765bcc49a4a183220 (patch)
tree8e44bb38c5602e8b36d595434c03bb00dc396287 /source/World.h
parentAdded the "Edit Sign" packet sent to the client placing a sign. (diff)
downloadcuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.tar
cuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.tar.gz
cuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.tar.bz2
cuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.tar.lz
cuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.tar.xz
cuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.tar.zst
cuberite-e9f18f8b4fcf4ae7891b631765bcc49a4a183220.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/World.h b/source/World.h
index e67b06789..9de00ceec 100644
--- a/source/World.h
+++ b/source/World.h
@@ -519,6 +519,9 @@ public:
/// Returns a random number from the m_TickRand in range [0 .. a_Range]. To be used only in the tick thread!
int GetTickRandomNumber(unsigned a_Range) { return (int)(m_TickRand.randInt(a_Range)); }
+ /// Appends all usernames starting with a_Text (case-insensitive) into Results
+ void TabCompleteUserName(const AString & a_Text, AStringVector & a_Results);
+
private:
friend class cRoot;