first commit
This commit is contained in:
15
Minecraft.World/EnchantItemCommand.h
Normal file
15
Minecraft.World/EnchantItemCommand.h
Normal file
@@ -0,0 +1,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);
|
||||
};
|
||||
Reference in New Issue
Block a user