aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h')
-rw-r--r--Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h b/Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h
new file mode 100644
index 00000000..527bb1f9
--- /dev/null
+++ b/Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "..\IServerCliCommand.h"
+
+namespace ServerRuntime
+{
+ class CliCommandGamemode : public IServerCliCommand
+ {
+ public:
+ const char *Name() const override;
+ std::vector<std::string> Aliases() const override;
+ const char *Usage() const override;
+ const char *Description() const override;
+ bool Execute(const ServerCliParsedLine &line, ServerCliEngine *engine) override;
+ void Complete(const ServerCliCompletionContext &context, const ServerCliEngine *engine, std::vector<std::string> *out) const override;
+ };
+}
+