상속: global::ProtoBuf.IExtensible
예제 #1
0
            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 );
            }
예제 #2
0
            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;
            }
예제 #3
0
            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
            }