2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Command.h"
|
|
|
|
|
|
|
|
|
|
class GameType;
|
|
|
|
|
|
|
|
|
|
class GameModeCommand : public Command
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual EGameCommand getId();
|
2026-03-01 11:00:23 -06:00
|
|
|
int getPermissionLevel();
|
2026-03-01 12:16:08 +08:00
|
|
|
virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
GameType *getModeForString(shared_ptr<CommandSender> source, const wstring &name);
|
|
|
|
|
};
|