This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
16 lines
377 B
C++
16 lines
377 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 wstring &name);
|
|
std::shared_ptr<Player> getPlayer(PlayerUID playerId);
|
|
}; |