UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

25 lines (24 loc) 758 B
import { Packet } from './base'; import { PacketType } from './enums'; /** * SeLected Car - sent when a connection selects a car (empty if no car) * * NOTE: If a new guest joins and does have a car selected then an {@link IS_SLC} will * be sent. */ export declare class IS_SLC extends Packet { readonly Size = 8; readonly Type = PacketType.ISP_SLC; /** 0 unless this is a reply to a {@link TINY_SLC} request */ ReqI: number; /** Connection's unique id (0 = host) */ UCID: number; /** * 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) */ CName: string; }