the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 15 lines 380 B view raw
1#pragma once 2 3#include "Command.h" 4 5class GameCommandPacket; 6 7class EnchantItemCommand : public Command 8{ 9public: 10 virtual EGameCommand getId(); 11 int getPermissionLevel(); 12 virtual void execute(shared_ptr<CommandSender> source, byteArray commandData); 13 14 static shared_ptr<GameCommandPacket> preparePacket(shared_ptr<Player> player, int enchantmentId, int enchantmentLevel = 1); 15};