Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
ReplayRecorder
Class ReplayRecorder
Index
Methods
create
from
Trace
attach
Initial
Snapshot
get
Initial
Seed
get
Engine
Version
get
Initial
Snapshot
get
Mode
step
Count
start
Recording
record
Event
record
Tick
stop
Recording
start
Playback
next
Step
has
Next
Step
rewind
stop
Playback
to
Trace
Methods
Static
create
create
(
opts
?:
ReplayRecorderOptions
)
:
ReplayRecorder
Parameters
opts
:
ReplayRecorderOptions
= {}
Returns
ReplayRecorder
Static
from
Trace
fromTrace
(
trace
:
ReplayTrace
)
:
ReplayRecorder
Parameters
trace
:
ReplayTrace
Returns
ReplayRecorder
attach
Initial
Snapshot
attachInitialSnapshot
(
snap
:
unknown
)
:
void
Parameters
snap
:
unknown
Returns
void
get
Initial
Seed
getInitialSeed
()
:
number
Returns
number
get
Engine
Version
getEngineVersion
()
:
string
Returns
string
get
Initial
Snapshot
getInitialSnapshot
()
:
unknown
Returns
unknown
get
Mode
getMode
()
:
RecorderMode
Returns
RecorderMode
step
Count
stepCount
()
:
number
Returns
number
start
Recording
startRecording
()
:
void
Returns
void
record
Event
recordEvent
(
type
:
string
,
key
?:
string
,
data
?:
Record
<
string
,
unknown
>
)
:
void
Parameters
type
:
string
Optional
key
:
string
Optional
data
:
Record
<
string
,
unknown
>
Returns
void
record
Tick
recordTick
(
dtMs
:
number
)
:
ReplayStep
|
null
Parameters
dtMs
:
number
Returns
ReplayStep
|
null
stop
Recording
stopRecording
()
:
void
Returns
void
start
Playback
startPlayback
()
:
void
Returns
void
next
Step
nextStep
()
:
ReplayStep
|
null
Returns
ReplayStep
|
null
has
Next
Step
hasNextStep
()
:
boolean
Returns
boolean
rewind
rewind
()
:
void
Returns
void
stop
Playback
stopPlayback
()
:
void
Returns
void
to
Trace
toTrace
()
:
ReplayTrace
Returns
ReplayTrace
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
from
Trace
attach
Initial
Snapshot
get
Initial
Seed
get
Engine
Version
get
Initial
Snapshot
get
Mode
step
Count
start
Recording
record
Event
record
Tick
stop
Recording
start
Playback
next
Step
has
Next
Step
rewind
stop
Playback
to
Trace
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...