UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

30 lines (29 loc) 701 B
import { Packet } from './base'; import { PacketType } from './enums'; /** * Pit LAne */ export declare class IS_PLA extends Packet { readonly Size = 8; readonly Type = PacketType.ISP_PLA; readonly ReqI = 0; /** Player's unique id */ PLID: number; /** Pit lane fact */ Fact: PitLaneFact; private readonly Sp1; private readonly Sp2; private readonly Sp3; } export declare enum PitLaneFact { /** Left pit lane */ PITLANE_EXIT = 0, /** Entered pit lane */ PITLANE_ENTER = 1, /** Entered for no purpose */ PITLANE_NO_PURPOSE = 2, /** Entered for drive-through */ PITLANE_DT = 3, /** Entered for stop-go */ PITLANE_SG = 4 }