fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
32 lines (31 loc) • 865 B
TypeScript
import User from './User';
import type { UserSearchMatchType, UserSearchResultMatch } from '../../../resources/structs';
import type Client from '../../Client';
/**
* Represents a user search result entry
*/
declare class UserSearchResult extends User {
/**
* The search match type. Can be "exact" or "prefix"
*/
matchType: UserSearchMatchType;
/**
* The sorting position of this result
*/
sortPosition: number;
/**
* The amount of mutual friends the client has with the user
*/
mutualFriends: number;
/**
* The matched platform display names
*/
matches: UserSearchResultMatch[];
/**
* @param client The main client
* @param user The user
* @param data The user entry data
*/
constructor(client: Client, user: User, data: any);
}
export default UserSearchResult;