@@ -17,7 +17,7 @@ public:
|
||||
wstring path;
|
||||
|
||||
TextureChangePacket();
|
||||
TextureChangePacket(std::shared_ptr<Entity> e, ETextureChangeType action, const wstring &path);
|
||||
TextureChangePacket(shared_ptr<Entity> e, ETextureChangeType action, const wstring &path);
|
||||
|
||||
virtual void read(DataInputStream *dis);
|
||||
virtual void write(DataOutputStream *dos);
|
||||
@@ -25,6 +25,6 @@ public:
|
||||
virtual int getEstimatedSize();
|
||||
|
||||
public:
|
||||
static std::shared_ptr<Packet> create() { return std::shared_ptr<Packet>(new TextureChangePacket()); }
|
||||
static shared_ptr<Packet> create() { return shared_ptr<Packet>(new TextureChangePacket()); }
|
||||
virtual int getId() { return 157; }
|
||||
};
|
||||
Reference in New Issue
Block a user