Skip to content

GameActions beta ​

Interface of @v12-engine/client

ts
export interface GameActions<C = unknown>

What a game says of the actions (GameView.input.keys.actions)

Members ​

add ​

ts
add?: ActionDef<C>[];

Actions of the game's own, asked before the client's

change ​

ts
change?: Record<string, Partial<ActionDef<C>>>;

What it changes of the client's, by id: other keys to come with, other words, something else to do

hide ​

ts
hide?: string[];

The client's it leaves out, by id: a game with no chat, or no control groups ('group.*' for all that start so)