internal Friend( CMsgClientFSGetFriendsSteamLevelsResponse.Friend friend ) { FriendID = new SteamID( friend.accountid, EUniverse.Public, EAccountType.Individual ); Level = friend.level; }
internal SteamLevelsCallback( JobID jobID, CMsgClientFSGetFriendsSteamLevelsResponse resp ) { this.JobID = jobID; Friends = new ReadOnlyCollection<Friend>( resp.friends.Select( f => new Friend( f ) ).ToList() ); }