aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/GiveItemCommand.h
blob: 532070a6277a0fc9a10aac38ef1fb49e36f272e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"");
};