Represents a SpaceMapInfo.

Hierarchy

  • SpaceMapInfo

Implements

Constructors

  • Constructs a new SpaceMapInfo.

    Parameters

    Returns SpaceMapInfo

Properties

addBirthPointArr: IMapPoint[]

SpaceMapInfo addBirthPointArr.

addItems: {
    [k: string]: string;
}

SpaceMapInfo addItems.

Type declaration

  • [k: string]: string
addLandMarkArr: ILandMark[]

SpaceMapInfo addLandMarkArr.

addObstacleArr: number[]

SpaceMapInfo addObstacleArr.

addPortalArr: IPortal[]

SpaceMapInfo addPortalArr.

equippedItems: {
    [k: string]: string;
}

SpaceMapInfo equippedItems.

Type declaration

  • [k: string]: string
gridMaterialArr: IGridMaterial[]

SpaceMapInfo gridMaterialArr.

removeBirthPointArr: IMapPoint[]

SpaceMapInfo removeBirthPointArr.

removeItems: string[]

SpaceMapInfo removeItems.

removeLandMarkArr: string[]

SpaceMapInfo removeLandMarkArr.

removeObstacleArr: number[]

SpaceMapInfo removeObstacleArr.

removePortalArr: IMapPoint[]

SpaceMapInfo removePortalArr.

Methods

  • Converts this SpaceMapInfo to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

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

    Parameters

    Returns SpaceMapInfo

    SpaceMapInfo instance

  • Decodes a SpaceMapInfo 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 SpaceMapInfo

    SpaceMapInfo

  • Decodes a SpaceMapInfo 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 SpaceMapInfo

    SpaceMapInfo

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

    Parameters

    • message: ISpaceMapInfo

      SpaceMapInfo message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

    • message: ISpaceMapInfo

      SpaceMapInfo message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

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

      Plain object

      • [k: string]: any

    Returns SpaceMapInfo

    SpaceMapInfo

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

    Parameters

    • message: SpaceMapInfo

      SpaceMapInfo

    • Optional options: any

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a SpaceMapInfo 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