#pragma once #include "Command.h" class GameCommandPacket; class GiveItemCommand : public Command { public: virtual EGameCommand getId(); virtual void execute(std::shared_ptr source, byteArray commandData); public: static std::shared_ptr preparePacket(std::shared_ptr player, int item, int amount = 1, int aux = 0, const wstring &tag = L""); };