node-insim
    Preparing search index...

    Class IS_STA

    STAte

    LFS will send an IS_STA any time the info in it changes.

    To request an IS_STA at any time, send an IS_TINY with IS_TINY.SubT of TinyType.TINY_SST.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _raw: RawProperties<IS_STA> = ...

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

    Flags: 0 | StateFlags = 0

    ISS state flags

    InGameCam: ViewIdentifier = ViewIdentifier.VIEW_FOLLOW

    Which type of camera is selected (which is still selected even if LFS is actually in SHIFT+U mode)

    NumConns: number = 0

    Number of connections including host

    NumFinished: number = 0

    Number finished or qualified

    NumP: number = 0

    Number of players in race

    QualMins: number = 0

    Qualifying length in minutes

    RaceInProg: RaceState = 0

    0 = no race / 1 = race / 2 = qualifying

    RaceLaps: number = 0

    RaceLaps (rl): (various meanings depending on range)

    0 : practice 1-99 : number of laps... laps = rl 100-190 : 100 to 1000 laps... laps = (rl - 100) * 10 + 100 191-238 : 1 to 48 hours... hours = rl - 190

    ReplaySpeed: number = 0

    4-byte float - 1.0 is normal speed

    ReqI: number = 0

    ReqI if replying to a request packet

    ServerStatus: number = 0

    0 = unknown / 1 = success / > 1 = fail

    Size: 28
    Track: string = ''

    Short name for track e.g. FE2R

    Type: ISP_STA = PacketType.ISP_STA
    ViewPLID: number = 0

    Unique ID of viewed player (0 = none)

    Weather: number = 0
    Wind: Wind = 0
    Zero: 0

    Methods