From e9f18f8b4fcf4ae7891b631765bcc49a4a183220 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Tue, 30 Jul 2013 22:48:59 +0200 Subject: Tab completion packet is handled and sent. This only handles the network comm and the overall design logic, the actual completion is not yet implemented, only dummy values are returned for now. --- source/World.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source/World.cpp') diff --git a/source/World.cpp b/source/World.cpp index b632fe7f9..da29565cb 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -2364,6 +2364,20 @@ int cWorld::SpawnMob(double a_PosX, double a_PosY, double a_PosZ, int a_EntityTy +void cWorld::TabCompleteUserName(const AString & a_Text, AStringVector & a_Results) +{ + // TODO + // DEBUG: + LOGWARNING("%s: Not implemented yet!", __FUNCTION__); + a_Results.push_back(a_Text + "_world1"); + a_Results.push_back(a_Text + "_world3"); + a_Results.push_back(a_Text + "_world2"); +} + + + + + cFluidSimulator * cWorld::InitializeFluidSimulator(cIniFile & a_IniFile, const char * a_FluidName, BLOCKTYPE a_SimulateBlock, BLOCKTYPE a_StationaryBlock) { AString SimulatorNameKey; -- cgit v1.2.3