Skip to content

RolesPlayer beta ​

Interface of @v12-engine/engine/ai

ts
export interface RolesPlayer

The player the roles are found for, where finding them depends on who asks (AiOptions.roles)

Members ​

availability ​

ts
availability?: Record<string, boolean>;

What the game's available hook decided for it, by type (PlayerState.own.availability)

id ​

ts
id: PlayerId;

The player's id

race ​

ts
race?: string;

The race it plays, where the game has races