the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4#include "Packet.h"
5
6class TextureAndGeometryChangePacket : public Packet, public enable_shared_from_this<TextureAndGeometryChangePacket>
7{
8public:
9
10 int id;
11 wstring path;
12 DWORD dwSkinID;
13
14 TextureAndGeometryChangePacket();
15 TextureAndGeometryChangePacket(shared_ptr<Entity> e, const wstring &path);
16
17 virtual void read(DataInputStream *dis);
18 virtual void write(DataOutputStream *dos);
19 virtual void handle(PacketListener *listener);
20 virtual int getEstimatedSize();
21
22public:
23 static shared_ptr<Packet> create() { return shared_ptr<Packet>(new TextureAndGeometryChangePacket()); }
24 virtual int getId() { return 161; }
25};