mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-21 17:23:56 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
23 lines
585 B
C++
23 lines
585 B
C++
#pragma once
|
|
using namespace std;
|
|
|
|
#include "Packet.h"
|
|
|
|
class MoveVehiclePacket : public Packet, public enable_shared_from_this<MoveVehiclePacket>
|
|
{
|
|
public:
|
|
double x, y, z;
|
|
float yRot, xRot;
|
|
|
|
MoveVehiclePacket();
|
|
MoveVehiclePacket(double x, double y, double z, float yRot, float xRot);
|
|
|
|
virtual void read(DataInputStream *dis);
|
|
virtual void write(DataOutputStream *dos);
|
|
virtual void handle(PacketListener *listener);
|
|
virtual int getEstimatedSize();
|
|
|
|
static shared_ptr<Packet> create() { return std::make_shared<MoveVehiclePacket>(); }
|
|
virtual int getId() { return 168; }
|
|
};
|