RaceEvent
Defined in: packages/core/src/race/cumulative.ts:14
One event feeding a race chart, already resolved from its accessors.
Core deliberately takes plain numbers rather than Accessors: accessors
are a React-binding ergonomic, and keeping them out of here means the
race module has no dependency on scene/ — the one module whose whole
point is not knowing about a pitch would otherwise import from the one
that is entirely about pitches.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
emphasis? | readonly | boolean | Drawn with the larger ringed marker. For xG this is "was a goal". | packages/core/src/race/cumulative.ts:25 |
period | readonly | number | The period's number, 1 for the first half. Required because minutes restart at 45 for the second half: without it, first-half stoppage time and the start of the second half are the same minutes. | packages/core/src/race/cumulative.ts:20 |
time | readonly | number | Match minute, as the feed numbers it. | packages/core/src/race/cumulative.ts:22 |
value | readonly | number | - | packages/core/src/race/cumulative.ts:23 |