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
ProtecteddoA generic request helper.
The path to send the request to.
The request RequestInit | Configuration.
ProtecteddoSend a GET request.
The path to send the request to.
ProtecteddoSend a POST request.
THe path to send the request to.
OptionalbodyData: DThe body-data to send.
The data-type of the bodyData.
Get 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 UpdateSessionSavedataRequest to send
The raw savedata (as string)
An error message if something went wrong
A wrapper for PokéRogue session savedata API requests.