Task<SearchResultOfFireteamResponse> IFireteamClient.GetMyClanFireteamsAsync(long groupId, Fireteam.FireteamPlatform platform, bool includeClosed, int page, bool groupFilter, string langFilter)
		{
			string[] pathSegments = new string[] { "Fireteam", "Clan", groupId.ToString(), "My", ((byte)platform).ToString(), includeClosed.ToString(), page.ToString() };
			System.Collections.Generic.List<QueryStringItem> queryItems = new System.Collections.Generic.List<QueryStringItem>()
			{
				new QueryStringItem("groupFilter", groupFilter.ToString().ToLower()),
				new QueryStringItem("langFilter", (langFilter ?? ""))
			};
			Uri uri = GetEndpointUri(pathSegments, true, queryItems);
			return GetEntityAsync<SearchResultOfFireteamResponse>(uri);
		}
		SearchResultOfFireteamResponse IFireteamClient.GetMyClanFireteams(long groupId, Fireteam.FireteamPlatform platform, bool includeClosed, int page, bool groupFilter, string langFilter) => Fireteam.GetMyClanFireteamsAsync(groupId, platform, includeClosed, page, groupFilter, langFilter).GetAwaiter().GetResult();
		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.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();
		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();
Esempio n. 6
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));
        }