MinecraftConsoles/Minecraft.Server/Console/commands/gamemode/CliCommandGamemode.h
kuwacom 26dc63af6b refactor: refactor command path structure
As the number of commands has increased and become harder to navigate, each command has been organized into separate folders.
2026-03-13 00:14:20 +09:00

19 lines
533 B
C++

#pragma once
#include "..\IServerCliCommand.h"
namespace ServerRuntime
{
class CliCommandGamemode : public IServerCliCommand
{
public:
virtual const char *Name() const;
virtual std::vector<std::string> Aliases() const;
virtual const char *Usage() const;
virtual const char *Description() const;
virtual bool Execute(const ServerCliParsedLine &line, ServerCliEngine *engine);
virtual void Complete(const ServerCliCompletionContext &context, const ServerCliEngine *engine, std::vector<std::string> *out) const;
};
}