Class UserInfo

A user information.

Implements

Constructors

Properties

accuracy: number = 0

Total accuracy of a user.

countryCode: "MX" | "MY" | "AT" | "CN" | "HT" | "HR" | "NC" | "NF" | "PF" | "SD" | "SH" | "Unknown" | "BD" | "BE" | "BF" | "BG" | "BA" | "BB" | "WF" | "BL" | "BM" | "BN" | "BO" | "BH" | "BI" | "BJ" | "BT" | "JM" | "BV" | "BW" | "WS" | "BQ" | "BR" | "BS" | "JE" | "BY" | "BZ" | "RU" | "RW" | "RS" | "TL" | "RE" | "TM" | "TJ" | "RO" | "TK" | "GW" | "GU" | "GT" | "GS" | "GR" | "GQ" | "GP" | "JP" | "GY" | "GG" | "GF" | "GE" | "GD" | "GB" | "GA" | "SV" | "GN" | "GM" | "GL" | "GI" | "GH" | "OM" | "TN" | "JO" | "HU" | "HK" | "HN" | "HM" | "VE" | "PR" | "PS" | "PW" | "PT" | "SJ" | "PY" | "IQ" | "PA" | "PG" | "PE" | "PK" | "PH" | "PN" | "PL" | "PM" | "ZM" | "EH" | "EE" | "EG" | "ZA" | "EC" | "IT" | "VN" | "SB" | "ET" | "SO" | "ZW" | "SA" | "ES" | "ER" | "ME" | "MD" | "MG" | "MF" | "MA" | "MC" | "UZ" | "MM" | "ML" | "MO" | "MN" | "MH" | "MK" | "MU" | "MT" | "MW" | "MV" | "MQ" | "MP" | "MS" | "MR" | "IM" | "UG" | "TZ" | "IL" | "FR" | "IO" | "FI" | "FJ" | "FK" | "FM" | "FO" | "NI" | "NL" | "NO" | "NA" | "VU" | "NE" | "NG" | "NZ" | "NP" | "NR" | "NU" | "CK" | "XK" | "CI" | "CH" | "CO" | "CM" | "CL" | "CC" | "CA" | "CG" | "CF" | "CD" | "CZ" | "CY" | "CX" | "CR" | "CW" | "CV" | "CU" | "SZ" | "SY" | "SX" | "KG" | "KE" | "SS" | "SR" | "KI" | "KH" | "KN" | "KM" | "ST" | "SK" | "KR" | "SI" | "KP" | "KW" | "SN" | "SM" | "SL" | "SC" | "KZ" | "KY" | "SG" | "SE" | "DO" | "DM" | "DJ" | "DK" | "VG" | "DE" | "YE" | "DZ" | "US" | "UY" | "YT" | "UM" | "LB" | "LC" | "LA" | "TV" | "TW" | "TT" | "TR" | "LK" | "LI" | "LV" | "TO" | "LT" | "LU" | "LR" | "LS" | "TH" | "TF" | "TG" | "TD" | "TC" | "LY" | "VA" | "VC" | "AE" | "AD" | "AG" | "AF" | "AI" | "VI" | "IS" | "IR" | "AM" | "AL" | "AO" | "AQ" | "AS" | "AR" | "AU" | "AW" | "IN" | "AX" | "AZ" | "IE" | "ID" | "UA" | "QA" | "MZ" = 'Unknown'

User country code.

countryRank: null | number = null

Rank in the country top.

followersCount: number = 0

How many followers does user have.

globalRank: null | number = null

Rank in the global top.

grades: Grades = ...

Grades count of a user.

highestRank: null | HighestRank = null

Highest rank of the user.

id: number = 0

User ID.

isActive: boolean = true

Whether the user is active or not.

isBot: boolean = false

Whether the user is bot or not.

isDeleted: boolean = false

Whether the user is deleted or not.

isOnline: boolean = false

Whether the user is online or not.

isSupporter: boolean = false

Whether the user is supporter or not.

joinedAt: Date = ...

Join date of the user.

lastVisitAt: null | Date = null

Last visit date of the user.

level: LevelInfo = ...

Information about a user's level.

maxCombo: number = 0

Max combo of a user.

playcount: number = 0

Total playcount of a user.

playmode: number = 0

Playmode of the user.

playtime: number = 0

Total playtime of a user.

previousUsernames: string[] = []

Previous nicknames of the user.

rankHistory: null | RankHistory = null

Rank history of a user.

rankedScore: number = 0

Ranked score of a user.

replaysWatched: number = 0

How many times this user's replays have been watched.

totalHits: number = 0

Total hits of a user.

totalPerformance: number = 0

User performance points.

totalScore: number = 0

Total score of a user.

username: string = ''

User's name.

Methods