Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
SaveSlots
Class SaveSlots
Index
Methods
create
save
load
load
Meta
delete
has
list
Ids
list
All
rename
duplicate
clear
All
dispose
Methods
Static
create
create
(
opts
:
SaveSlotsOptions
)
:
SaveSlots
Parameters
opts
:
SaveSlotsOptions
Returns
SaveSlots
save
save
(
id
:
string
,
input
:
SaveSlotInput
,
nowFn
?:
()
=>
number
,
)
:
Promise
<
SlotMetadata
>
Parameters
id
:
string
input
:
SaveSlotInput
Optional
nowFn
:
()
=>
number
Returns
Promise
<
SlotMetadata
>
load
load
(
id
:
string
)
:
Promise
<
LoadedSlot
|
null
>
Parameters
id
:
string
Returns
Promise
<
LoadedSlot
|
null
>
load
Meta
loadMeta
(
id
:
string
)
:
Promise
<
SlotMetadata
|
null
>
Parameters
id
:
string
Returns
Promise
<
SlotMetadata
|
null
>
delete
delete
(
id
:
string
)
:
Promise
<
boolean
>
Parameters
id
:
string
Returns
Promise
<
boolean
>
has
has
(
id
:
string
)
:
Promise
<
boolean
>
Parameters
id
:
string
Returns
Promise
<
boolean
>
list
Ids
listIds
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
list
All
listAll
(
sortBy
?:
"name"
|
"recent"
)
:
Promise
<
SlotMetadata
[]
>
Parameters
sortBy
:
"name"
|
"recent"
= 'recent'
Returns
Promise
<
SlotMetadata
[]
>
rename
rename
(
id
:
string
,
newId
:
string
)
:
Promise
<
boolean
>
Parameters
id
:
string
newId
:
string
Returns
Promise
<
boolean
>
duplicate
duplicate
(
id
:
string
,
newId
:
string
,
nowFn
?:
()
=>
number
)
:
Promise
<
boolean
>
Parameters
id
:
string
newId
:
string
Optional
nowFn
:
()
=>
number
Returns
Promise
<
boolean
>
clear
All
clearAll
()
:
Promise
<
void
>
Returns
Promise
<
void
>
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
save
load
load
Meta
delete
has
list
Ids
list
All
rename
duplicate
clear
All
dispose
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...