Skip to content

ScoreCount beta ​

Interface of @v12-engine/engine

ts
export interface ScoreCount

What a stat is told of an event, for a player: how much (amount, 1 when left out) and what of (type: a unit type, an ability, anything the stat is split by, ScoreStatDef.byType)

Members ​

amount ​

ts
amount?: number;

How much: 1 when left out

player ​

ts
player: PlayerId;

Whose number it is

type ​

ts
type?: string;

What it was counted of, for a stat kept byType: a unit type, an ability