mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 12:43:37 +00:00
17 lines
449 B
C++
17 lines
449 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);
|
|
}; |