Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "ServerCommand.h"
|
||||
|
||||
class ConsoleCommandDispatcher;
|
||||
|
||||
class HelpCommand : public ServerCommand
|
||||
{
|
||||
private:
|
||||
ConsoleCommandDispatcher *dispatcher;
|
||||
|
||||
public:
|
||||
HelpCommand(ConsoleCommandDispatcher *dispatcher);
|
||||
|
||||
wstring getName() { return L"help"; }
|
||||
wstring getUsage() { return L"/help [page|command name]"; }
|
||||
void execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server);
|
||||
};
|
||||
Reference in New Issue
Block a user