saved
The saved response is requested by the save action and contains information about the action’s save request.
responding action
properties
-
error(boolean)
Whether the action encountered an error. -
message(string?)
Present whenerroris true, tells the reason why the action encountered an error. Valid values are:"too_big": The save data exceeded the 256,000 character limit."no_account": The player was logged out."invalid_slot": Theslotvalue was invalid."server_error": The game couldn’t connect to Galaxy’s servers.
-
slot(number)
The save slot number.
examples
If the save was successful:
{
type: "saved",
error: false,
slot: 0,
}
If it wasn’t:
{
type: "saved",
error: true,
message: "too_big",
slot: 0,
}