Protected ReadonlybaseReadonlyERR_Clears the session savedata of the given slot.
This is NOT the same as newclear().
The ClearSessionSavedataRequest to send
The SessionSaveData object
Delete a session savedata slot.
The DeleteSessionSavedataRequest to send
An error message if something went wrong
ProtecteddoProtecteddoProtecteddoGet a session savedata.
The GetSessionSavedataRequest to send
The session as string
Mark a session as cleared aka "newclear".
This is NOT the same as clear().
The NewClearSessionSavedataRequest to send
The raw savedata as string.
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 session savedata.
The request to send
The raw, unencrypted savedata
An error message if something went wrong
A wrapper for PokéRogue session savedata API requests.