UNPKG

@rflafla/f1-udp-parser

Version:

The F1 series of games support the outputting of key game data via a UDP data stream. This data can be interpreted by external apps or connected peripherals for a range of different uses, including providing additional telemetry information, customised HU

34 lines (33 loc) 598 B
export interface Team { name: string; color: string; } export interface Driver { firstName: string; lastName: string; abbreviation: string; } export interface Track { name: string; lat: number; lon: number; } export interface Formula { name: string; weight: number; } export type EventCode = string; export interface Coordinate { x: number; y: number; } export interface Tyre { color: string; name: string; } export type Packet = string; export type PacketSize = number; export interface SessionTypes { short: string; long: string; }