GameFramePhase beta
Interface of @v12-engine/client
ts
export interface GameFramePhase extends PhasePlaceA phase of the frame of the game's own (GameView.framePhases): its name, where it goes among the client's phases (before or after one of CLIENT_PHASES; at the end when neither is said), and what it does with the frame
Members
name
ts
name: string;The phase's name, shown in the frame profile and used to order phases against each other
run
ts
run(frame: FrameInfo, client: GameClientApi): void;Runs once every frame at the phase's place, given the frame's timing and the client's API