the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Packet.h"
4
5class TileEditorOpenPacket : public Packet, public enable_shared_from_this<TileEditorOpenPacket>
6{
7public:
8 static const int SIGN = 0;
9 static const int COMMAND_BLOCK = 1;
10
11 int editorType;
12 int x, y, z;
13
14 TileEditorOpenPacket();
15 TileEditorOpenPacket(int editorType, int x, int y, int z);
16
17 virtual void handle(PacketListener *listener);
18 virtual void read(DataInputStream *dis);
19 virtual void write(DataOutputStream *dos);
20 virtual int getEstimatedSize();
21
22public:
23 static shared_ptr<Packet> create() { return shared_ptr<Packet>(new TileEditorOpenPacket()); }
24 virtual int getId() { return 133; }
25};