#pragma once

#include "td/protocol/Protocol.h"
#include "td/game/BaseGame.h"

namespace td {
namespace protocol {

class RemoveMobPacket : public Packet {
private:
	game::MobID m_MobID;
public:
	RemoveMobPacket() {}
	RemoveMobPacket(game::MobID id) : m_MobID(id) {}
	virtual ~RemoveMobPacket() {}

	virtual DataBuffer Serialize(bool packetID = true) const;
	virtual void Deserialize(DataBuffer& data);
	virtual void Dispatch(PacketHandler* handler) const;

	game::MobID GetMobID() const { return m_MobID; }

	virtual PacketType GetType() const { return PacketType::RemoveMob; }
};

} // namespace protocol
} // namespace td
