Create a new instance of HonkaiStarRail.
The options for the HonkaiStarRail instance.
Readonly
cookieThe cookie used for authentication.
Readonly
dailyThe Daily module for the Honkai Star Rail game.
Readonly
recordThe HSRRecordModule
object provides an interface to interact with the user record feature in Honkai Star Rails.
Readonly
redeemThe Redeem module for the Honkai Star Rail game.
Readonly
regionThe region of the Honkai Star Rail account.
Readonly
uidThe UID of the Honkai Star Rail account.
Getter for the account property.
The current value of the account property.
Setter for the account property. Prevents from changing the value once set
The game object to set as the account.
Claim current reward
Retrieves daily information.
Fetch reward from daily login based on day
number | null
Redeem Code
string
Static
createCreate a new instance of HonkaiStarRail using a Hoyolab account.
If uid
is not provided in the options
, the account with the highest level will be used.
The options for the HonkaiStarRail instance.
Class representing the Honkai Star Rail game.