예제 #1
0
        public async Task <AssetClassInfoResultModel> GetInventoryItemInfo(ulong classId)
        {
            var info = await steamApi.GetInterface <SteamEconomy>()
                       .GetAssetClassInfoAsync(730, new List <ulong> {
                classId
            }, language: "ru");

            return(info.Data);
        }
예제 #2
0
        public async Task <PlayerSummaryModel> GetPlayerSummary()
        {
            var steamId = HttpContext.GetSteamId();
            var e       = await steamApi.GetInterface <SteamUser>().GetPlayerSummaryAsync((ulong)steamId);

            return(e.Data);
        }