@my-swu/simulator-client / MatchHistorySnapshot
Interface: MatchHistorySnapshot
Defined in: packages/ts-sdk/src/generated/types/common.ts:4128
Example:
ts
import type { MatchHistorySnapshot } from '@my-swu/simulator-client'
const matchHistorySnapshot: MatchHistorySnapshot = {
"snapshotRevision": 0,
"entries": [],
}
console.log(matchHistorySnapshot)Properties
entries
Example:
ts
import type { MatchHistorySnapshot } from '@my-swu/simulator-client'
const matchHistorySnapshot: MatchHistorySnapshot = {
"snapshotRevision": 0,
"entries": [],
}
const { entries } = matchHistorySnapshot
console.log(entries)entries:
MatchHistoryFeedEntry[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:4129
snapshotRevision
Example:
ts
import type { MatchHistorySnapshot } from '@my-swu/simulator-client'
const matchHistorySnapshot: MatchHistorySnapshot = {
"snapshotRevision": 0,
"entries": [],
}
const { snapshotRevision } = matchHistorySnapshot
console.log(snapshotRevision)snapshotRevision:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:4137
Revision of the full [ServerMessage::Snapshot] paired with this history snapshot during connection-state recovery.
SDK clients use this as a fence against delayed incremental [ServerMessage::SnapshotUpdate] frames.
