using System.Collections.Generic;
using System.Threading.Tasks;
using WingsAPI.Data.Character;
namespace DatabaseServer.Managers
{
public interface IRankingManager
{
///
/// Retrieves a list of the top 30 characters in compliments
///
///
Task> GetTopCompliment();
///
/// Retrieves a list of the top 30 characters in points
///
///
Task> GetTopPoints();
///
/// Retrieves a list of the top 43 characters in reputation
///
///
Task> GetTopReputation();
///
/// Tries to refresh the ranking, in case it fails it will return false
///
///
Task TryRefreshRanking();
}
public class RefreshResponse
{
public bool Success { get; init; }
public IReadOnlyList TopCompliment { get; init; }
public IReadOnlyList TopPoints { get; init; }
public IReadOnlyList TopReputation { get; init; }
}
}