Files
SteamTools/System.Application.SteamTools.Client.Desktop/Services/ISteamDbWebApiService.cs
T
2021-02-26 18:04:49 +08:00

26 lines
578 B
C#

using System.Application.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace System.Application.Services
{
public interface ISteamDbWebApiService
{
public static ISteamDbWebApiService Instance => DI.Get<ISteamDbWebApiService>();
Task<SteamUser> GetUserInfo(long steamId64);
Task<List<SteamUser>> GetUserInfo(IEnumerable<long> steamId64s);
Task<SteamApp> GetAppInfo(int appId);
}
#if DEBUG
[Obsolete("use ISteamDbWebApiService", true)]
public class SteamDbApiService
{
}
#endif
}