Skip to content

Commit

Permalink
Add information about deprecated APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
tparviainen committed Jun 6, 2023
1 parent 70f020e commit 8edcd7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Patch: Backwards compatible bug fixes only
# -Suffix (optional): a hyphen followed by a string denoting a pre-release version (rc1, rc2, etc.)

8.8.0-rc1
8.8.0-rc2
3 changes: 3 additions & 0 deletions src/ClashOfClans/ILocations.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using ClashOfClans.Models;
using ClashOfClans.Search;
using System.Threading.Tasks;
using System;

namespace ClashOfClans
{
Expand Down Expand Up @@ -55,6 +56,7 @@ public interface ILocations
/// <exception cref="Core.ClashOfClansException">Communication error with the backend API</exception>
/// <exception cref="System.ArgumentException">Argument is invalid</exception>
/// <returns>Clan ranking list</returns>
[Obsolete("This route is deprecated and will be removed in the future.")]
Task<QueryResult<ClanVersusRankingList>> GetClanVersusRankingAsync(int? locationId, Query? query = default);

/// <summary>
Expand All @@ -65,6 +67,7 @@ public interface ILocations
/// <exception cref="Core.ClashOfClansException">Communication error with the backend API</exception>
/// <exception cref="System.ArgumentException">Argument is invalid</exception>
/// <returns>Player versus ranking list</returns>
[Obsolete("This route is deprecated and will be removed in the future.")]
Task<QueryResult<PlayerVersusRankingList>> GetPlayerVersusRankingAsync(int? locationId, Query? query = default);

/// <summary>
Expand Down

0 comments on commit 8edcd7f

Please sign in to comment.