// Obtain userId info from API.
        public async Task <PlayerSummaryModel> GetPlayerSummaryAsync(ulong userId)
        {
            var playerSummaryResponse = await SteamUserInterface.GetPlayerSummaryAsync(userId);

            return(playerSummaryResponse.Data);
        }
Beispiel #2
0
        public async Task <SteamUserInterface.Player> playerInfo(SteamUserInterface.Player player, SteamClient client)
        {
            player = await SteamUserInterface.GetPlayerSummaryAsync(client, "76561197960401227");

            return(player);
        }