Files
MCLEClient/Minecraft.Client/TeleportCommand.h
T

15 lines
449 B
C++

#pragma once
#include "../Minecraft.World/Command.h"
class TeleportCommand : public Command
{
public:
virtual EGameCommand getId();
virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
static shared_ptr<GameCommandPacket> preparePacket(PlayerUID subject, PlayerUID destination);
//neo: added
static shared_ptr<GameCommandPacket> preparePacket(PlayerUID subject, float x, float y, float z, byte yRot, byte xRot);
};