UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

26 lines (25 loc) 941 B
import { Packet } from './base'; import { PacketType } from './enums'; /** * BuTton Type - sent back when user types into a text entry button * * If the {@link IS_BTN.TypeIn} byte is set in {@link IS_BTN} the user can type text into the button * In that case no {@link IS_BTC} is sent - an {@link IS_BTT} is sent when the user presses ENTER */ export declare class IS_BTT extends Packet { readonly Size = 104; readonly Type = PacketType.ISP_BTT; /** ReqI as received in the {@link IS_BTN} */ ReqI: number; /** Connection that typed into the button (zero if local) */ UCID: number; /** Button identifier originally sent in {@link IS_BTN} */ ClickID: number; /** Used internally by InSim */ Inst: number; /** From original button specification */ TypeIn: number; private readonly Sp3; /** Typed text, zero to {@link IS_BTN.TypeIn} specified in {@link IS_BTN} */ Text: string; }