Represents a PrivateSpace.

Hierarchy

  • PrivateSpace

Implements

Constructors

  • Constructs a new PrivateSpace.

    Parameters

    Returns PrivateSpace

Properties

gridArr: number[]

PrivateSpace gridArr.

privateOrder: number

PrivateSpace privateOrder.

Methods

  • Converts this PrivateSpace to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

    • [k: string]: any
  • Creates a new PrivateSpace instance using the specified properties.

    Parameters

    Returns PrivateSpace

    PrivateSpace instance

  • Decodes a PrivateSpace message from the specified reader or buffer.

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

    Parameters

    • reader: any

      Reader or buffer to decode from

    • Optional length: number

      Message length if known beforehand

    Returns PrivateSpace

    PrivateSpace

  • Decodes a PrivateSpace message from the specified reader or buffer, length delimited.

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

    Parameters

    • reader: any

      Reader or buffer to decode from

    Returns PrivateSpace

    PrivateSpace

  • Encodes the specified PrivateSpace message. Does not implicitly verify messages.

    Parameters

    • message: IPrivateSpace

      PrivateSpace message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

  • Encodes the specified PrivateSpace message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IPrivateSpace

      PrivateSpace message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

  • Creates a PrivateSpace message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {
          [k: string]: any;
      }

      Plain object

      • [k: string]: any

    Returns PrivateSpace

    PrivateSpace

  • Creates a plain object from a PrivateSpace message. Also converts values to other types if specified.

    Parameters

    • message: PrivateSpace

      PrivateSpace

    • Optional options: any

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a PrivateSpace message.

    Parameters

    • message: {
          [k: string]: any;
      }

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc