[][src]Module f1_api::packet::event

Events that can occur during the course of a session

The F1 games send event packets whenever certain events occur in a session. F1 2018 defined only two events, but F1 2019 extended this to nine different events. Some events carry a payload that further defines the event, and that are declared in this module as structs.

Structs

EventPacket

Packet containing details about an event that occurred in the session

FastestLap

Payload for fastest lap event

RaceWinner

Payload for the race winner event

Retirement

Payload for retirement event

TeammateInPits

Payload for teammate in pits event

Enums

Event

Events that can occur during the course of a session