mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 10:33:36 +00:00
17 lines
450 B
C++
17 lines
450 B
C++
#pragma once
|
|
|
|
#include "Command.h"
|
|
|
|
class GameType;
|
|
|
|
class GameModeCommand : public Command {
|
|
public:
|
|
virtual EGameCommand getId();
|
|
virtual void execute(std::shared_ptr<CommandSender> source,
|
|
byteArray commandData);
|
|
|
|
protected:
|
|
GameType* getModeForString(std::shared_ptr<CommandSender> source,
|
|
const std::wstring& name);
|
|
std::shared_ptr<Player> getPlayer(PlayerUID playerId);
|
|
}; |