node-insim
    Preparing search index...

    Class IS_NPL

    New PLayer joining race (if PLID already exists, then leaving pits)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _raw: RawProperties<IS_NPL> = ...

    All string properties in a raw format as it was received from LFS

    CName: string = ''

    Car name

    The value can be one of these:

    • a 3-character abbreviation of an official LFS car (e.g. XRT)
    • a hexadecimal string representation of a car mod's SkinID (e.g. 5882E6)
    Config: CarConfiguration = CarConfiguration.DEFAULT

    Configuration

    • UF1 / LX4 / LX6: 0 = DEFAULT / 1 = OPEN ROOF
    • GTR racing cars: 0 = DEFAULT / 1 = ALTERNATE
    Flags: 0 | PlayerFlags = 0

    Player flags

    Fuel: number = 0

    /showfuel yes: fuel percent / no: 255

    FWAdj: number = 0

    Low 4 bits: tyre width reduction (front)

    H_Mass: number = 0

    Added mass (kg)

    H_TRes: number = 0

    Intake restriction

    Model: number = 0

    Driver model

    NumP: number = 0

    Number in race - ZERO if this is a join request

    Pass: 0 | PassengerFlags = 0

    Passengers byte

    Plate: string = ''

    Number plate - NO ZERO AT END!

    PLID: number = 0

    Player's newly assigned unique id

    PName: string = ''

    Nickname

    PType: 0 | PlayerType = 0

    Bit 0: female / bit 1: AI / bit 2: remote

    ReqI: number = 0

    0 unless this is a reply to a TINY_NPL

    RWAdj: number = 0

    Low 4 bits: tyre width reduction (rear)

    SetF: 0 | SetupFlags = 0

    Setup flags

    Size: 76
    SName: string = ''

    Skin name - MAX_CAR_TEX_NAME

    Type: ISP_NPL = PacketType.ISP_NPL
    TyreFL: TyreCompound = 0

    Front left tyre compound

    TyreFR: TyreCompound = 0

    Front right tyre compound

    TyreRL: TyreCompound = 0

    Rear left tyre compound

    TyreRR: TyreCompound = 0

    Rear right tyre compound

    UCID: number = 0

    Connection's unique id

    Methods