aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EnchantItemCommand.h
blob: 5fc6c64889df7a8163012a3630fa6e0ae54b853d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
};