mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-28 12:25:46 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -2,25 +2,26 @@
|
||||
|
||||
// 4J ADDED THIS PACKET
|
||||
|
||||
|
||||
|
||||
#include "Packet.h"
|
||||
|
||||
class DebugOptionsPacket : public Packet, public std::enable_shared_from_this<DebugOptionsPacket>
|
||||
{
|
||||
class DebugOptionsPacket
|
||||
: public Packet,
|
||||
public std::enable_shared_from_this<DebugOptionsPacket> {
|
||||
public:
|
||||
unsigned int m_uiVal;
|
||||
unsigned int m_uiVal;
|
||||
|
||||
DebugOptionsPacket();
|
||||
~DebugOptionsPacket();
|
||||
DebugOptionsPacket(unsigned int uiVal);
|
||||
DebugOptionsPacket();
|
||||
~DebugOptionsPacket();
|
||||
DebugOptionsPacket(unsigned int uiVal);
|
||||
|
||||
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 DebugOptionsPacket()); }
|
||||
virtual int getId() { return 152; }
|
||||
static std::shared_ptr<Packet> create() {
|
||||
return std::shared_ptr<Packet>(new DebugOptionsPacket());
|
||||
}
|
||||
virtual int getId() { return 152; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user