diff options
Diffstat (limited to 'Minecraft.World/GiveItemCommand.h')
| -rw-r--r-- | Minecraft.World/GiveItemCommand.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Minecraft.World/GiveItemCommand.h b/Minecraft.World/GiveItemCommand.h new file mode 100644 index 00000000..532070a6 --- /dev/null +++ b/Minecraft.World/GiveItemCommand.h @@ -0,0 +1,15 @@ +#pragma once + +#include "Command.h" + +class GameCommandPacket; + +class GiveItemCommand : public Command +{ +public: + virtual EGameCommand getId(); + virtual void execute(shared_ptr<CommandSender> source, byteArray commandData); + +public: + static shared_ptr<GameCommandPacket> preparePacket(shared_ptr<Player> player, int item, int amount = 1, int aux = 0, const wstring &tag = L""); +};
\ No newline at end of file |
