	public:
		int roleid;
		enum { PROTOCOL_TYPE = PROTOCOL_COUNTRYBATTLEGETKINGCOMMANDPOINT };
	public:
		CountryBattleGetKingCommandPoint() { type = PROTOCOL_COUNTRYBATTLEGETKINGCOMMANDPOINT; }
		CountryBattleGetKingCommandPoint(void*) : Protocol(PROTOCOL_COUNTRYBATTLEGETKINGCOMMANDPOINT) { }
		CountryBattleGetKingCommandPoint (int l_roleid)
			 : roleid(l_roleid)
		{
			type = PROTOCOL_COUNTRYBATTLEGETKINGCOMMANDPOINT;
		}

		CountryBattleGetKingCommandPoint(const CountryBattleGetKingCommandPoint &rhs)
			: Protocol(rhs),roleid(rhs.roleid) { }

		GNET::Protocol *Clone() const { return new CountryBattleGetKingCommandPoint(*this); }

		OctetsStream& marshal(OctetsStream & os) const
		{
			os << roleid;
			return os;
		}

		const OctetsStream& unmarshal(const OctetsStream &os)
		{
			os >> roleid;
			return os;
		}

		int PriorPolicy( ) const { return 1; }

		bool SizePolicy(size_t size) const { return size <= 64; }
