first commit
This commit is contained in:
16
Minecraft.World/GameModeCommand.h
Normal file
16
Minecraft.World/GameModeCommand.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "Command.h"
|
||||
|
||||
class GameType;
|
||||
|
||||
class GameModeCommand : public Command
|
||||
{
|
||||
public:
|
||||
virtual EGameCommand getId();
|
||||
virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
|
||||
|
||||
protected:
|
||||
GameType *getModeForString(shared_ptr<CommandSender> source, const wstring &name);
|
||||
shared_ptr<Player> getPlayer(PlayerUID playerId);
|
||||
};
|
||||
Reference in New Issue
Block a user