node-insim
Version:
An InSim library for NodeJS with TypeScript support
18 lines (17 loc) • 554 B
TypeScript
import { SendablePacket } from './base';
import { PacketType } from './enums';
import type { PacketData } from './types';
export declare const MSX_MSG_MAX_LENGTH = 96;
/**
* MSg eXtended - like {@link IS_MST} but longer (not for commands)
*/
export declare class IS_MSX extends SendablePacket {
readonly Size = 100;
readonly Type = PacketType.ISP_MSX;
readonly ReqI = 0;
readonly Zero = 0;
/** Last byte must be zero */
Msg: string;
constructor(data?: IS_MSX_Data);
}
export type IS_MSX_Data = Required<PacketData<IS_MSX>>;