mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 06:13:41 +00:00
18 lines
411 B
C++
18 lines
411 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "GameModeCommand.h"
|
|
#include "minecraft/commands/CommandsEnum.h"
|
|
|
|
class GameType;
|
|
|
|
class DefaultGameModeCommand : public GameModeCommand {
|
|
public:
|
|
virtual EGameCommand getId();
|
|
virtual void execute(std::shared_ptr<CommandSender> source,
|
|
std::vector<uint8_t>& commandData);
|
|
|
|
protected:
|
|
void doSetGameType(GameType* newGameType);
|
|
}; |