@my-swu/simulator-client / MatchHistoryReplayArchive
Interface: MatchHistoryReplayArchive
Defined in: packages/ts-sdk/src/generated/types/common.ts:4092
Safe completed-series replay archive. frames never contains private zones; revealed_frames is returned only after both completion and ownership checks.
Example:
import type { MatchHistoryReplayArchive } from '@my-swu/simulator-client'
const matchHistoryReplayArchive: MatchHistoryReplayArchive = {
"frames": [],
"revealedFrames": [],
}
console.log(matchHistoryReplayArchive)Properties
aiDecisions?
Example:
import type { MatchHistoryReplayArchive } from '@my-swu/simulator-client'
const matchHistoryReplayArchive: MatchHistoryReplayArchive = {
"frames": [],
"revealedFrames": [],
}
const { aiDecisions } = matchHistoryReplayArchive
console.log(aiDecisions)
optionalaiDecisions?:AiDecisionDiagnostic[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:4097
Per-AI-decision search diagnostics (budget, workers, starvation), in decision order. Additive: older archives decode with an empty list.
frameEvents?
Example:
import type { MatchHistoryReplayArchive } from '@my-swu/simulator-client'
const matchHistoryReplayArchive: MatchHistoryReplayArchive = {
"frames": [],
"revealedFrames": [],
}
const { frameEvents } = matchHistoryReplayArchive
console.log(frameEvents)
optionalframeEvents?:GameEvent[][]
Defined in: packages/ts-sdk/src/generated/types/common.ts:4102
Events folded into each matching replay frame. Older archives decode without this additive field and remain playable without captions.
frames
Example:
import type { MatchHistoryReplayArchive } from '@my-swu/simulator-client'
const matchHistoryReplayArchive: MatchHistoryReplayArchive = {
"frames": [],
"revealedFrames": [],
}
const { frames } = matchHistoryReplayArchive
console.log(frames)frames:
GameState[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:4103
revealedFrames
Example:
import type { MatchHistoryReplayArchive } from '@my-swu/simulator-client'
const matchHistoryReplayArchive: MatchHistoryReplayArchive = {
"frames": [],
"revealedFrames": [],
}
const { revealedFrames } = matchHistoryReplayArchive
console.log(revealedFrames)revealedFrames:
GameState[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:4104
