Class WritableCommand<T>Abstract

Base command type for a full writable command, which uses flags to indicate the changed properties

Type Parameters

  • T

Hierarchy

Constructors

Properties

_properties: Partial<T>
flag: number
MaskFlags?: {
    [key: string]: number;
}

Type declaration

  • [key: string]: number
minimumVersion?: ProtocolVersion
rawName?: string

Accessors

Methods

  • Parameters

    • newProps: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns boolean

  • Update the values of some properties with this command

    Parameters

    • newProps: Partial<T>

    Returns boolean

Generated using TypeDoc