mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-05-21 23:24:50 +00:00
16 lines
391 B
C++
16 lines
391 B
C++
#pragma once
|
|
|
|
class MinecraftServer;
|
|
class ConsoleInputSource;
|
|
|
|
class ServerCommand
|
|
{
|
|
public:
|
|
virtual ~ServerCommand() {}
|
|
virtual wstring getName() = 0;
|
|
virtual wstring getUsage() = 0;
|
|
virtual void execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server) = 0;
|
|
|
|
static void notifyAdmins(ConsoleInputSource *src, MinecraftServer *server, const wstring& message);
|
|
};
|