ResponseContext beta
Interface of @v12-engine/client
ts
export interface ResponseContextWhat a unit answers to (Voice.respond)
Members
entity
ts
entity: EntityView;The unit that is picked or sent
kind
ts
kind: 'select' | 'order';Whether it was picked (select) or told to do something (order)
order
ts
order?: PingMode;What it was told to do, for an order
repeats
ts
repeats: number;How many times in a row it was picked or sent before, quickly: for the lines of a unit clicked too often
state
ts
state: GameState;The game as the player knows it