mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-22 01:16:17 +08:00
26 lines
578 B
C#
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
|
|
} |