Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
DialogChoiceHistory
Class DialogChoiceHistory
Index
Methods
create
record
by
Node
last
Choice
has
count
count
By
Node
total
Count
capacity
list
clear
to
Snapshot
from
Snapshot
dispose
Methods
Static
create
create
(
opts
?:
DialogChoiceHistoryOptions
)
:
DialogChoiceHistory
Parameters
opts
:
DialogChoiceHistoryOptions
= {}
Returns
DialogChoiceHistory
record
record
(
nodeId
:
string
,
choiceIndex
:
number
,
choiceLabel
?:
string
)
:
boolean
Parameters
nodeId
:
string
choiceIndex
:
number
Optional
choiceLabel
:
string
Returns
boolean
by
Node
byNode
(
nodeId
:
string
)
:
DialogChoiceRecord
[]
Parameters
nodeId
:
string
Returns
DialogChoiceRecord
[]
last
Choice
lastChoice
(
nodeId
:
string
)
:
DialogChoiceRecord
|
null
Parameters
nodeId
:
string
Returns
DialogChoiceRecord
|
null
has
has
(
nodeId
:
string
,
choiceIndex
:
number
)
:
boolean
Parameters
nodeId
:
string
choiceIndex
:
number
Returns
boolean
count
count
(
nodeId
:
string
,
choiceIndex
:
number
)
:
number
Parameters
nodeId
:
string
choiceIndex
:
number
Returns
number
count
By
Node
countByNode
(
nodeId
:
string
)
:
number
Parameters
nodeId
:
string
Returns
number
total
Count
totalCount
()
:
number
Returns
number
capacity
capacity
()
:
number
Returns
number
list
list
()
:
DialogChoiceRecord
[]
Returns
DialogChoiceRecord
[]
clear
clear
()
:
void
Returns
void
to
Snapshot
toSnapshot
()
:
DialogChoiceRecord
[]
Returns
DialogChoiceRecord
[]
from
Snapshot
fromSnapshot
(
records
:
DialogChoiceRecord
[]
)
:
void
Parameters
records
:
DialogChoiceRecord
[]
Returns
void
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
record
by
Node
last
Choice
has
count
count
By
Node
total
Count
capacity
list
clear
to
Snapshot
from
Snapshot
dispose
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...