Skip to content

GameEventOf beta ​

TypeAlias of @v12-engine/client

ts
export type GameEventOf<T> = {
    type: 'game';
    event: string;
    payload: T;
};

An event of the game's own, as it came to the screen: see defineEvent and its replicate