internal Friend( CMsgClientFriendsList.Friend friend ) { this.SteamID = friend.ulfriendid; this.Relationship = ( EFriendRelationship )friend.efriendrelationship; }
internal FriendsListCallback( CMsgClientFriendsList msg ) { this.Incremental = msg.bincremental; var list = msg.friends .Select( f => new Friend( f ) ) .ToList(); this.FriendList = new ReadOnlyCollection<Friend>( list ); }
internal FriendsListCallback( SteamClient client, CMsgClientFriendsList msg ) : base( client )