	public:
		int roleid;
		unsigned int localsid;
		IntVector playerlist;
		enum { PROTOCOL_TYPE = PROTOCOL_GETCUSTOMDATA };
	public:
		GetCustomData() { type = PROTOCOL_GETCUSTOMDATA; }
		GetCustomData(void*) : Protocol(PROTOCOL_GETCUSTOMDATA) { }
		GetCustomData (int l_roleid,unsigned int l_localsid,IntVector l_playerlist)
			 : roleid(l_roleid),localsid(l_localsid),playerlist(l_playerlist)
		{
			type = PROTOCOL_GETCUSTOMDATA;
		}

		GetCustomData(const GetCustomData &rhs)
			: Protocol(rhs),roleid(rhs.roleid),localsid(rhs.localsid),playerlist(rhs.playerlist) { }

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

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

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

		int PriorPolicy( ) const { return 1; }

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