@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
23 lines • 818 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimeTrialDataSetParser = void 0;
const F1Parser_1 = require("../F1Parser");
class TimeTrialDataSetParser extends F1Parser_1.F1Parser {
constructor() {
super();
this.endianess('little')
.uint8('m_carIdx')
.uint8('m_teamId')
.uint32('m_sector1TimeInMS')
.uint32('m_sector2TimeInMS')
.uint32('m_sector3TimeInMS')
.uint8('m_tractionControl')
.uint8('m_gearboxAssist')
.uint8('m_antiLockBrakes')
.uint8('m_equalCarPerformance')
.uint8('m_customSetup')
.uint8('m_valid');
}
}
exports.TimeTrialDataSetParser = TimeTrialDataSetParser;
//# sourceMappingURL=TimeTrialDataSetParser.js.map