TextAssets
Hierarchy
- TextAssets
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
id: number
client: StarRail
Returns TextAssets
Properties
readonlyclient
readonlyid
Methods
get
Parameters
optionallang: chs | cht | de | en | es | fr | id | jp | kr | pt | ru | th | vi
Returns string
getAsFormattedText
Parameters
optionallang: chs | cht | de | en | es | fr | id | jp | kr | pt | ru | th | vi
Returns FormattedText
getAsNullableFormattedText
Parameters
optionallang: chs | cht | de | en | es | fr | id | jp | kr | pt | ru | th | vi
Returns null | FormattedText
null instead of throwing AssetsNotFoundError.
getNullable
Parameters
optionallang: chs | cht | de | en | es | fr | id | jp | kr | pt | ru | th | vi
Returns null | string
null instead of throwing AssetsNotFoundError.
isFormatted
Parameters
optionallang: chs | cht | de | en | es | fr | id | jp | kr | pt | ru | th | vi
Returns boolean
whether the text is formatted or not.
toString
Returns string