mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-28 00:41:19 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -1,30 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "Packet.h"
|
||||
|
||||
#include "../../Platform/stdafx.h"
|
||||
#include <iostream>
|
||||
#include "PacketListener.h"
|
||||
|
||||
class ContainerAckPacket : public Packet, public std::enable_shared_from_this<ContainerAckPacket>
|
||||
{
|
||||
class ContainerAckPacket
|
||||
: public Packet,
|
||||
public std::enable_shared_from_this<ContainerAckPacket> {
|
||||
public:
|
||||
int containerId;
|
||||
int containerId;
|
||||
short uid;
|
||||
bool accepted;
|
||||
|
||||
ContainerAckPacket();
|
||||
ContainerAckPacket(int containerId, short uid, bool accepted);
|
||||
ContainerAckPacket();
|
||||
ContainerAckPacket(int containerId, short uid, bool accepted);
|
||||
|
||||
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 ContainerAckPacket()); }
|
||||
virtual int getId() { return 106; }
|
||||
static std::shared_ptr<Packet> create() {
|
||||
return std::shared_ptr<Packet>(new ContainerAckPacket());
|
||||
}
|
||||
virtual int getId() { return 106; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user