Protected ReadonlybaseReadonlyERR_ProtecteddoProtecteddoProtecteddoGet a system savedata.
The GetSystemSavedataRequest to send
The system savedata as string or either the status code or null on error
ProtectedtoHelper 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.