! node-rcon Copyright(c) 2012 Justin Li <j-li.net> MIT Licensed Stripped Down and modified by

Hierarchy

  • EventEmitter
    • Rcon

Constructors

  • Parameters

    • host: string
    • port: number
    • password: string

    Returns Rcon

Properties

_tcpSocket: Socket
autoReconnect: boolean = true
hasAuthed: boolean
host: string
outstandingData: null | Buffer<ArrayBufferLike> = null
password: string
port: number

Methods

  • Parameters

    • buf: Buffer

    Returns void

  • Parameters

    • data: Buffer

    Returns boolean | void

  • Parameters

    • data: string
    • cmd: number
    • id: number = 0x0012d4a6

    Returns void

  • Parameters

    • timeout: number
    • callback: () => unknown

    Returns void