UserIcon
class UserIcon
Properties
constructor
new UserIcon(id, client)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
id | number | |||
client | StarRail |
Properties
id
This can be found in PlayerIcon.json, ItemPlayerCard.json, AvatarPlayerIcon.json, or ItemConfigAvatarPlayerIcon.json
Type: number
client
Type: StarRail
name
Type: TextAssets
icon
Type: ImageAssets
figureIcon
Available for some non-character icons.
Type: ImageAssets
characterData
This will be null if the icon is not of a character.
Type: CharacterData | null