W3Booster SDK 4.6.0
    Preparing search index...

    Interface MatchHistory

    interface MatchHistory {
        economy(playerId: string): readonly EconomySample[];
        push(state: MatchState): void;
        reset(): void;
        window(
            playerId: string,
            seconds: number,
            data?: GameData,
            options?: LossWindowOptions,
        ): LossWindow;
    }
    Index
    • Parameters

      • playerId: string

      Returns readonly EconomySample[]

    • Push each authorized state. First observation establishes a baseline, not historical events.

      Parameters

      Returns void

    • Call on disconnect/gaps. Match changes, rewinds and scope/mode changes reset automatically.

      Returns void

    • Window ends at the latest pushed game time. Exact build-matched catalog is optional.

      Parameters

      Returns LossWindow