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