Class Structure

Constructors

  • Parameters

    • options: {
          target?:
              | { db: LevelDB; key: Buffer; type: "LevelDBEntry" }
              | { path: string; type: "File" };
      }

    Returns Structure

Properties

target?:
    | { db: LevelDB; key: Buffer; type: "LevelDBEntry" }
    | { path: string; type: "File" }

Type declaration

  • { db: LevelDB; key: Buffer; type: "LevelDBEntry" }
    • db: LevelDB

      The LevelDB containing the target structure data.

    • key: Buffer

      The key of the target structure data in the LevelDB.

    • type: "LevelDBEntry"

      The type of the target structure data.

  • { path: string; type: "File" }
    • path: string

      The absolute path to the target structure data.

    • type: "File"

      The type of the target structure data.

Methods

  • Parameters

    • axis: "x" | "y" | "z"

    Returns any

  • Parameters

    • angle: 0 | 90 | 180 | 270
    • axis: "x" | "y" | "z" = "y"

    Returns any