mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-27 21:26:05 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -1,25 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "Packet.h"
|
||||
|
||||
class SetTimePacket : public Packet, public std::enable_shared_from_this<SetTimePacket>
|
||||
{
|
||||
class SetTimePacket : public Packet,
|
||||
public std::enable_shared_from_this<SetTimePacket> {
|
||||
public:
|
||||
__int64 time;
|
||||
__int64 time;
|
||||
|
||||
SetTimePacket();
|
||||
SetTimePacket(__int64 time);
|
||||
SetTimePacket();
|
||||
SetTimePacket(__int64 time);
|
||||
|
||||
virtual void read(DataInputStream *dis);
|
||||
virtual void write(DataOutputStream *dos);
|
||||
virtual void handle(PacketListener *listener);
|
||||
virtual int getEstimatedSize();
|
||||
virtual bool canBeInvalidated();
|
||||
virtual bool isInvalidatedBy(std::shared_ptr<Packet> packet);
|
||||
virtual bool isAync();
|
||||
virtual void read(DataInputStream* dis);
|
||||
virtual void write(DataOutputStream* dos);
|
||||
virtual void handle(PacketListener* listener);
|
||||
virtual int getEstimatedSize();
|
||||
virtual bool canBeInvalidated();
|
||||
virtual bool isInvalidatedBy(std::shared_ptr<Packet> packet);
|
||||
virtual bool isAync();
|
||||
|
||||
public:
|
||||
static std::shared_ptr<Packet> create() { return std::shared_ptr<Packet>(new SetTimePacket()); }
|
||||
virtual int getId() { return 4; }
|
||||
static std::shared_ptr<Packet> create() {
|
||||
return std::shared_ptr<Packet>(new SetTimePacket());
|
||||
}
|
||||
virtual int getId() { return 4; }
|
||||
};
|
||||
Reference in New Issue
Block a user