node-insim
Version:
An InSim library for NodeJS with TypeScript support
29 lines (28 loc) • 737 B
TypeScript
import { Packet } from './base';
import type { PenaltyValue, PlayerFlags } from './enums';
import { PacketType } from './enums';
/**
* LAP time
*/
export declare class IS_LAP extends Packet {
readonly Size = 20;
readonly Type = PacketType.ISP_LAP;
readonly ReqI = 0;
/** Player's unique id */
PLID: number;
/** Lap time (ms) */
LTime: number;
/** Total time (ms) */
ETime: number;
/** Laps completed */
LapsDone: number;
/** Player flags */
Flags: PlayerFlags | 0;
private readonly Sp0;
/** Current penalty value */
Penalty: PenaltyValue;
/** Number of pit stops */
NumStops: number;
/** /showfuel yes: double fuel percent / no: 255 */
Fuel200: number;
}