4jcraft/Minecraft.Client/net/minecraft/server/commands/TeleportCommand.h

13 lines
401 B
C++

#pragma once
#include "../../../../../Minecraft.World/net/minecraft/commands/Command.h"
class TeleportCommand : public Command {
public:
virtual EGameCommand getId();
virtual void execute(std::shared_ptr<CommandSender> source,
byteArray commandData);
static std::shared_ptr<GameCommandPacket> preparePacket(
PlayerUID subject, PlayerUID destination);
};