node-insim
Version:
An InSim library for NodeJS with TypeScript support
20 lines (19 loc) • 604 B
TypeScript
import { SendablePacket } from './base';
import type { MessageSound } from './enums';
import { PacketType } from './enums';
import type { PacketData } from './types';
export declare const MSL_MSG_MAX_LENGTH = 128;
/**
* MSg Local - message to appear on local computer only
*/
export declare class IS_MSL extends SendablePacket {
readonly Size = 132;
readonly Type = PacketType.ISP_MSL;
readonly ReqI = 0;
/** Sound effect */
Sound: MessageSound;
/** Last byte must be zero */
Msg: string;
constructor(data?: IS_MSL_Data);
}
export type IS_MSL_Data = PacketData<IS_MSL>;