node-insim
    Preparing search index...

    Class IS_JRR

    Join Request Reply - send one of these back to LFS in response to a join request

    Set the ISF_REQ_JOIN flag in the IS_ISI to receive join requests A join request is seen as an IS_NPL packet with ZERO in the NumP field An immediate response (e.g. within 1 second) is required using an IS_JRR packet

    In this case, PLID must be zero and JRRAction must be JRR_REJECT or JRR_SPAWN. If you allow the join and it is successful you will then get a normal IS_NPL with NumP set. You can also specify the start position of the car using the StartPos structure.

    IS_JRR can also be used to move an existing car to a different location. In this case, PLID must be set, JRRAction must be JRR_RESET or higher and StartPos must be set.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _raw: RawProperties<IS_JRR> = ...

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

    JRRAction: JRRAction = 0

    1 - allow / 0 - reject (should send message to user)

    PLID: number = 0

    ZERO when this is a reply to a join request - SET to move a car

    ReqI: 0
    Size: 16
    Sp2: number = 0
    Sp3: number = 0
    StartPos: ObjectInfo = ...

    0: use default start point / Flags = 0x80: set start point

    To use default start point, StartPos should be filled with zero values.

    To specify a start point, StartPos X, Y, Zbyte and Heading should be filled like an autocross start position, Flags should be 0x80 and Index should be zero

    Type: ISP_JRR = PacketType.ISP_JRR
    UCID: number = 0

    Set when this is a reply to a join request - ignored when moving a car

    Methods