	public:
		int roleid;
		int dest;
		unsigned int localsid;
		enum { PROTOCOL_TYPE = PROTOCOL_COUNTRYBATTLEMOVE };
	public:
		CountryBattleMove() { type = PROTOCOL_COUNTRYBATTLEMOVE; }
		CountryBattleMove(void*) : Protocol(PROTOCOL_COUNTRYBATTLEMOVE) { }
		CountryBattleMove (int l_roleid,int l_dest,unsigned int l_localsid)
			 : roleid(l_roleid),dest(l_dest),localsid(l_localsid)
		{
			type = PROTOCOL_COUNTRYBATTLEMOVE;
		}

		CountryBattleMove(const CountryBattleMove &rhs)
			: Protocol(rhs),roleid(rhs.roleid),dest(rhs.dest),localsid(rhs.localsid) { }

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

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

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

		int PriorPolicy( ) const { return 1; }

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