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.
15 lines
395 B
C++
15 lines
395 B
C++
#pragma once
|
|
|
|
#include "Command.h"
|
|
|
|
class GameCommandPacket;
|
|
|
|
class EnchantItemCommand : public Command
|
|
{
|
|
public:
|
|
virtual EGameCommand getId();
|
|
int getPermissionLevel();
|
|
virtual void execute(std::shared_ptr<CommandSender> source, byteArray commandData);
|
|
|
|
static std::shared_ptr<GameCommandPacket> preparePacket(std::shared_ptr<Player> player, int enchantmentId, int enchantmentLevel = 1);
|
|
}; |