Readonly
ERR_Protected
Readonly
baseProtected
doProtected
doProtected
doGet a system savedata.
The GetSystemSavedataRequest
to send
The system savedata as string
or null
on error
Protected
toHelper to transform data to URLSearchParams
Any key with a value of undefined
will be ignored.
Any key with a value of null
will be included.
the data to transform to URLSearchParams
a URLSearchParams representaton of data
Update a system savedata.
The UpdateSystemSavedataRequest
to send
The raw SystemSaveData
An error message if something went wrong
Verify if the session is valid. If not the SystemSaveData is returned.
The VerifySystemSavedataRequest
to send
A SystemSaveData if NOT valid, otherwise null
.
TODO: add handling for errors
A wrapper for PokéRogue system savedata API requests.