mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-23 21:03:37 +00:00
18 lines
416 B
C++
18 lines
416 B
C++
#pragma once
|
|
#include "Command.h"
|
|
|
|
class GameCommandPacket;
|
|
|
|
class ToggleDownfallCommand : public Command {
|
|
public:
|
|
virtual EGameCommand getId();
|
|
virtual int getPermissionLevel();
|
|
virtual void execute(std::shared_ptr<CommandSender> source,
|
|
byteArray commandData);
|
|
|
|
protected:
|
|
void doToggleDownfall();
|
|
|
|
public:
|
|
static std::shared_ptr<GameCommandPacket> preparePacket();
|
|
}; |