node-insim
Version:
An InSim library for NodeJS with TypeScript support
22 lines (21 loc) • 657 B
TypeScript
import { Packet } from './base';
import { PacketType } from './enums';
/**
* InsIm Info - /i message from user to host's InSim - variable size
*/
export declare class IS_III extends Packet {
private static readonly FIXED_DATA_SIZE;
readonly Size = 8;
readonly Type = PacketType.ISP_III;
readonly ReqI = 0;
readonly Zero = 0;
/** Connection's unique id (0 = host) */
UCID: number;
/** Player's unique id (if zero, use UCID) */
PLID: number;
private readonly Sp2;
private readonly Sp3;
/** 4, 8, 12... 64 characters - last byte is zero */
Msg: string;
unpack(buffer: Uint8Array<ArrayBuffer>): this;
}