SaveSlotExportUtils
Pure helpers describing an exported save slot and the main-slot guard that keeps export/import away from the player's shared root datastore. See HasSaveSlots.PromiseExportSlot and HasSaveSlots.PromiseImportSlot.
Functions
isMainSlotIndex
SaveSlotExportUtils.isMainSlotIndex(slotIndex: number) → booleanReturns whether the given index is the main/default slot -- the one whose store is the player's shared root datastore (it shares that key with the SaveSlots system data and universe-scoped global data). Export/import refuse this index in both directions.
isSaveSlotExport
SaveSlotExportUtils.isSaveSlotExport(value: any) → booleanReturns whether the value is a well-formed [SaveSlotExport].
create
SaveSlotExportUtils.create(data: {[string]: any},slotName: string?,summary: any?) → SaveSlotExportBuilds a [SaveSlotExport] from a slot's data table and its metadata.