Files
MinecraftConsoles/Minecraft.World/GiveItemCommand.h
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

15 lines
393 B
C++

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