UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

29 lines (28 loc) 901 B
import { SendablePacket } from './base'; import { PacketType } from './enums'; import type { PacketData } from './types'; /** * MODe: send to LFS to change screen mode */ export declare class IS_MOD extends SendablePacket { readonly Size = 20; readonly Type = PacketType.ISP_MOD; readonly ReqI = 0; readonly Zero = 0; /** Set to choose 16-bit */ Bits16: number; /** * Refresh rate - zero for default * * The refresh rate actually selected by LFS will be the highest available rate * that is less than or equal to the specified refresh rate. Refresh rate can * be specified as zero in which case the default refresh rate will be used. */ RR: number; /** 0 means go to window */ Width: number; /** 0 means go to window */ Height: number; constructor(data?: IS_MOD_Data); } export type IS_MOD_Data = PacketData<IS_MOD>;