Create a new instance of HonkaiStarRail.
The options for the HonkaiStarRail instance.
ReadonlycookieThe cookie used for authentication.
ReadonlydailyThe Daily module for the Honkai Star Rail game.
ReadonlyrecordThe HSRRecordModule object provides an interface to interact with the user record feature in Honkai Star Rails.
ReadonlyredeemThe Redeem module for the Honkai Star Rail game.
ReadonlyregionThe region of the Honkai Star Rail account.
ReadonlyuidThe 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
StaticcreateCreate 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.