add RemoveMobPacket

This commit is contained in:
Simon Pribylski
2023-08-26 10:35:26 +02:00
parent 51ec035490
commit 8e7b446003
8 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "td/protocol/packets/RemoveMobPacket.h"
namespace td {
namespace protocol {
DataBuffer RemoveMobPacket::Serialize(bool packetID) const {
DataBuffer data;
WritePacketID(data, packetID);
data << m_MobID;
return data;
}
void RemoveMobPacket::Deserialize(DataBuffer& data) {
data >> m_MobID;
}
} // namespace protocol
} // namespace td