replay-viewer
Version:
Rocket League replay viewer React component and tooling
21 lines (20 loc) • 470 B
TypeScript
export declare class Stats {
dom: HTMLDivElement;
private mode;
private beginTime;
private prevTime;
private frames;
private readonly fpsPanel;
private readonly msPanel;
private readonly memPanel?;
constructor();
addPanel(panel: any): any;
/**
* 0: fps, 1: ms, 2: mb, 3+: custom
* @param id number referenced above
*/
showPanel(id: number): void;
begin(): void;
end(): number;
update(): void;
}