celaria-formats
    Preparing search index...

    Class CelariaMap

    I represent a Celaria map. Unlike EditableCelariaMap, my checkpoint and goal blocks include medal times.

    Hierarchy

    • BaseCelariaMap
      • CelariaMap
    Index

    Constructors

    Properties

    checkpointOrder: OrderedSet<Block>

    The order of checkpoint blocks in the map.

    The object instances in the map.

    mode: number
    previewCamera: { from: Vector3; to: Vector3 }
    sunRotationHorizontal: number
    sunRotationVertical: number
    version: number
    fileSignature: string = "celaria_map"
    gameModes: { freeRoam: number; timeTrial: number } = ...

    Accessors

    • get name(): string

      Returns string

    • set name(newName: string): void

      Parameters

      • newName: string

      Returns void

    Methods

    • Serializes the map into a buffer.

      Checkpoints and goal blocks are modified in place if they aren't specified in my checkpointOrder. And the blocks that are will also be modified.

      Parameters

      • Optionalversion: number = 2

        Default is 2

      Returns Buffer<ArrayBufferLike>

    • Parameters

      • instanceType: any
      • version: number

      Returns boolean

      Yet to be documented.