#pragma once #include "Command.h" class GameCommandPacket; class EnchantItemCommand : public Command { public: virtual EGameCommand getId(); int getPermissionLevel(); virtual void execute(shared_ptr source, byteArray commandData); static shared_ptr preparePacket(shared_ptr player, int enchantmentId, int enchantmentLevel = 1); };