#include "td/protocol/packets/PlayerBuyMobUpgradePacket.h" namespace td { namespace protocol { DataBuffer PlayerBuyMobUpgradePacket::Serialize(bool packetID) const { DataBuffer data; WritePacketID(data, packetID); data << m_MobType << m_MobLevel; return data; } void PlayerBuyMobUpgradePacket::Deserialize(DataBuffer& data) { data >> m_MobType >> m_MobLevel; } } // namespace protocol } // namespace td