]> git.localhorst.tv Git - blank.git/blobdiff - src/server/Server.hpp
add TCP based CLI
[blank.git] / src / server / Server.hpp
index 9b89ab1bbc94692a400c7a3a6eda0054ca98a161..f81c9cea205b4918edfbb26e4da3c1357402baa4 100644 (file)
@@ -7,6 +7,7 @@
 #include "../world/WorldManipulator.hpp"
 
 #include <cstdint>
+#include <memory>
 #include <list>
 #include <SDL_net.h>
 
@@ -15,6 +16,7 @@ namespace blank {
 
 class ChunkIndex;
 class CLIContext;
+class CommandService;
 class Model;
 class Player;
 class WorldSave;
@@ -77,6 +79,7 @@ private:
        const Model *player_model;
 
        CLI cli;
+       std::unique_ptr<CommandService> cmd_srv;
 
 };