mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-27 22:50:46 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -2,29 +2,28 @@
|
||||
|
||||
// 4J ADDED THIS PACKET
|
||||
|
||||
|
||||
|
||||
#include "Packet.h"
|
||||
|
||||
class XZPacket : public Packet, public std::enable_shared_from_this<XZPacket>
|
||||
{
|
||||
class XZPacket : public Packet, public std::enable_shared_from_this<XZPacket> {
|
||||
public:
|
||||
static const int STRONGHOLD;
|
||||
static const int STRONGHOLD;
|
||||
|
||||
char action;
|
||||
int x;
|
||||
int z;
|
||||
char action;
|
||||
int x;
|
||||
int z;
|
||||
|
||||
XZPacket();
|
||||
~XZPacket();
|
||||
XZPacket(char action, int x, int z);
|
||||
XZPacket();
|
||||
~XZPacket();
|
||||
XZPacket(char action, int x, int z);
|
||||
|
||||
virtual void handle(PacketListener *listener);
|
||||
virtual void read(DataInputStream *dis);
|
||||
virtual void write(DataOutputStream *dos);
|
||||
virtual int getEstimatedSize();
|
||||
virtual void handle(PacketListener* listener);
|
||||
virtual void read(DataInputStream* dis);
|
||||
virtual void write(DataOutputStream* dos);
|
||||
virtual int getEstimatedSize();
|
||||
|
||||
public:
|
||||
static std::shared_ptr<Packet> create() { return std::shared_ptr<Packet>(new XZPacket()); }
|
||||
virtual int getId() { return 166; }
|
||||
static std::shared_ptr<Packet> create() {
|
||||
return std::shared_ptr<Packet>(new XZPacket());
|
||||
}
|
||||
virtual int getId() { return 166; }
|
||||
};
|
||||
Reference in New Issue
Block a user