#pragma once #include #include #include "platform/PlatformTypes.h" #include "minecraft/commands/Command.h" #include "minecraft/commands/CommandsEnum.h" #include "minecraft/network/packet/GameCommandPacket.h" class TeleportCommand : public Command { public: virtual EGameCommand getId(); virtual void execute(std::shared_ptr source, std::vector& commandData); static std::shared_ptr preparePacket( PlayerUID subject, PlayerUID destination); };