Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
872 B · 39 lines
C
at main
123456789101112131415161718192021222324252627282930313233343536373839#pragma once
#include "Packet.h"
class LevelParticlesPacket : public Packet, public enable_shared_from_this<LevelParticlesPacket>{private: wstring name; float x; float y; float z; float xDist; float yDist; float zDist; float maxSpeed; int count;
public: LevelParticlesPacket(); LevelParticlesPacket(const wstring &name, float x, float y, float z, float xDist, float yDist, float zDist, float maxSpeed, int count);
void read(DataInputStream *dis); void write(DataOutputStream *dos); wstring getName(); double getX(); double getY(); double getZ(); float getXDist(); float getYDist(); float getZDist(); float getMaxSpeed(); int getCount(); void handle(PacketListener *listener); int getEstimatedSize();
public: static shared_ptr<Packet> create() { return shared_ptr<Packet>(new LevelParticlesPacket()); } virtual int getId() { return 63; }};