mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-22 07:48:13 +05:00
15 lines
380 B
C++
15 lines
380 B
C++
#pragma once
|
|
|
|
#include "Command.h"
|
|
|
|
class GameCommandPacket;
|
|
|
|
class EnchantItemCommand : public Command
|
|
{
|
|
public:
|
|
virtual EGameCommand getId();
|
|
int getPermissionLevel();
|
|
virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
|
|
|
|
static shared_ptr<GameCommandPacket> preparePacket(shared_ptr<Player> player, int enchantmentId, int enchantmentLevel = 1);
|
|
}; |