UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

24 lines (23 loc) 752 B
import { Packet } from './base'; import { PacketType } from './enums'; /** * Version request * * It is advisable to request version information as soon as you have connected, to * avoid problems when connecting to a host with a later or earlier version. You will * be sent a version packet on connection if you set ReqI in the {@link IS_ISI} packet. */ export declare class IS_VER extends Packet { readonly Size = 20; readonly Type = PacketType.ISP_VER; /** ReqI as received in the request packet */ ReqI: number; readonly Zero = 0; /** LFS version, e.g. 0.3G */ Version: string; /** Product: DEMO / S1 / S2 / S3 */ Product: string; /** InSim version */ InSimVer: number; private readonly Spare; }