ImpectEvent
Defined in: packages/data-providers/src/impect/types.ts:181
Indexable
[key: string]: unknownProperties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
action | readonly | string | null | A finer description of the action: "LOW_PASS", "HEADER", "PENALTY_KICK". | packages/data-providers/src/impect/types.ts:198 |
actionType | readonly | ImpectActionType | - | packages/data-providers/src/impect/types.ts:196 |
bodyPart | readonly | string | null | - | packages/data-providers/src/impect/types.ts:211 |
currentAttackingSquadId | readonly | number | null | - | packages/data-providers/src/impect/types.ts:190 |
duel | readonly | | { duelType: string; playerId: number | null; } | null | - | packages/data-providers/src/impect/types.ts:234 |
end | readonly | ImpectLocation | null | - | packages/data-providers/src/impect/types.ts:210 |
endX? | readonly | number | end.adjCoordinates.x, lifted. Absent with no end. | packages/data-providers/src/impect/types.ts:242 |
endY? | readonly | number | end.adjCoordinates.y, lifted. Absent wherever endX is. | packages/data-providers/src/impect/types.ts:244 |
gameTime | readonly | ImpectGameTime | - | packages/data-providers/src/impect/types.ts:185 |
id | readonly | number | - | packages/data-providers/src/impect/types.ts:184 |
index | readonly | number | Position in the match's event list. | packages/data-providers/src/impect/types.ts:183 |
pass | readonly | | { [key: string]: unknown; angle: number; distance: number; receiver: | { playerId: number | null; type: string; } | null; } | null | Set on every ball played on purpose, which includes corners, free kicks, throw-ins, goal kicks and kick-offs as well as PASS events. | packages/data-providers/src/impect/types.ts:216 |
periodId | readonly | number | 1 and 2 for the halves, 3 and 4 for extra time. | packages/data-providers/src/impect/types.ts:187 |
player | readonly | | { id: number; position: string; positionSide: string; } | null | - | packages/data-providers/src/impect/types.ts:191 |
result | readonly | | Known<"SUCCESS" | "FAIL" | "NEUTRAL"> | null | "SUCCESS", "FAIL", or for a pass "NEUTRAL" (the receiver was under high pressure, or a foul followed). null on events without an outcome. On a shot, "SUCCESS" is a goal. | packages/data-providers/src/impect/types.ts:204 |
setPiece | readonly | | { id: number; mainEvent: boolean; } | null | - | packages/data-providers/src/impect/types.ts:235 |
shot | readonly | | { [key: string]: unknown; angle: number; distance: number; targetPoint?: | { y: number; z: number; } | null; } | null | - | packages/data-providers/src/impect/types.ts:222 |
squadId | readonly | number | null | The team of the player on the ball, which is not always the team in possession. | packages/data-providers/src/impect/types.ts:189 |
start | readonly | ImpectLocation | null | null on every GOAL, OWN_GOAL, FOUL, OFFSIDE, NO_VIDEO, REFEREE_INTERCEPTION and FINAL_WHISTLE. | packages/data-providers/src/impect/types.ts:209 |
x? | readonly | number | start.adjCoordinates.x, lifted for a PitchKit accessor. Absent with no start. | packages/data-providers/src/impect/types.ts:238 |
y? | readonly | number | start.adjCoordinates.y, lifted. Absent wherever x is. | packages/data-providers/src/impect/types.ts:240 |