20 lines
351 B
C++
20 lines
351 B
C++
#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
|