Task<SearchResultOfFireteamSummary> IFireteamClient.SearchPublicAvailableClanFireteamsAsync(Fireteam.FireteamPlatform platform, Fireteam.FireteamActivityType activityType, Fireteam.FireteamDateRange dateRange, Fireteam.FireteamSlotSearch slotFilter, int page, string langFilter)
		{
			string[] pathSegments = new string[] { "Fireteam", "Search", "Available", ((byte)platform).ToString(), ((int)activityType).ToString(), ((byte)dateRange).ToString(), ((byte)slotFilter).ToString(), page.ToString() };
			System.Collections.Generic.List<QueryStringItem> queryItems = new System.Collections.Generic.List<QueryStringItem>()
			{
				new QueryStringItem("langFilter", (langFilter ?? ""))
			};
			Uri uri = GetEndpointUri(pathSegments, true, queryItems);
			return GetEntityAsync<SearchResultOfFireteamSummary>(uri);
		}
		SearchResultOfFireteamSummary IFireteamClient.GetAvailableClanFireteams(long groupId, Fireteam.FireteamPlatform platform, Fireteam.FireteamActivityType activityType, Fireteam.FireteamDateRange dateRange, Fireteam.FireteamSlotSearch slotFilter, Fireteam.FireteamPublicSearchOption publicOnly, int page, string langFilter) => Fireteam.GetAvailableClanFireteamsAsync(groupId, platform, activityType, dateRange, slotFilter, publicOnly, page, langFilter).GetAwaiter().GetResult();
		SearchResultOfFireteamSummary IFireteamClient.SearchPublicAvailableClanFireteams(Fireteam.FireteamPlatform platform, Fireteam.FireteamActivityType activityType, Fireteam.FireteamDateRange dateRange, Fireteam.FireteamSlotSearch slotFilter, int page, string langFilter) => Fireteam.SearchPublicAvailableClanFireteamsAsync(platform, activityType, dateRange, slotFilter, page, langFilter).GetAwaiter().GetResult();
示例#4
0
        Task <SearchResultOfFireteamSummary> IFireteamClient.GetAvailableClanFireteamsAsync(long groupId, Fireteam.FireteamPlatform platform, int activityType, Fireteam.FireteamDateRange dateRange, Fireteam.FireteamSlotSearch slotFilter, Fireteam.FireteamPublicSearchOption publicOnly, int page, string langFilter)
        {
            string[] pathSegments = new string[] { "Fireteam", "Clan", groupId.ToString(), "Available", ((byte)platform).ToString(), activityType.ToString(), ((byte)dateRange).ToString(), ((byte)slotFilter).ToString(), ((byte)publicOnly).ToString(), page.ToString() };
            System.Collections.Generic.List <QueryStringItem> queryItems = new System.Collections.Generic.List <QueryStringItem>()
            {
                new QueryStringItem("langFilter", (langFilter ?? ""))
            };
            Uri uri = GetEndpointUri(BungieEndpointBase.Default, pathSegments, true, queryItems);

            return(GetEntityAsync <SearchResultOfFireteamSummary>(uri));
        }