internal ProfileInfoCallback( CMsgClientFriendProfileInfoResponse response ) { Result = ( EResult )response.eresult; SteamID = response.steamid_friend; TimeCreated = Utils.DateTimeFromUnixTime( response.time_created ); RealName = response.real_name; CityName = response.city_name; StateName = response.state_name; CountryName = response.country_name; Headline = response.headline; Summary = response.summary; RecentPlaytime = TimeSpan.FromMinutes( ( uint )response.recent_playtime ); }
internal ProfileInfoCallback( JobID jobID, CMsgClientFriendProfileInfoResponse response ) { JobID = jobID; Result = ( EResult )response.eresult; SteamID = response.steamid_friend; TimeCreated = DateUtils.DateTimeFromUnixTime( response.time_created ); RealName = response.real_name; CityName = response.city_name; StateName = response.state_name; CountryName = response.country_name; Headline = response.headline; Summary = response.summary; }
internal ProfileInfoCallback( CMsgClientFriendProfileInfoResponse response ) { Result = ( EResult )response.eresult; SteamID = response.steamid_friend; TimeCreated = Utils.DateTimeFromUnixTime( response.time_created ); RealName = response.real_name; CityName = response.city_name; StateName = response.state_name; CountryName = response.country_name; Headline = response.headline; Summary = response.summary; #pragma warning disable 0618 // Knowingly set the value of a deprecated field RecentPlaytime = TimeSpan.Zero; #pragma warning restore 0618 }