Xivgear Types Documentation
    Preparing search index...
    Index

    Constructors

    Properties

    key: string

    Accessors

    • get job(): | "PLD"
      | "WAR"
      | "DRK"
      | "GNB"
      | "WHM"
      | "SCH"
      | "AST"
      | "SGE"
      | "MNK"
      | "DRG"
      | "NIN"
      | "SAM"
      | "RPR"
      | "VPR"
      | "BRD"
      | "MCH"
      | "DNC"
      | "BLM"
      | "SMN"
      | "RDM"
      | "PCT"
      | "BLU"

      Returns
          | "PLD"
          | "WAR"
          | "DRK"
          | "GNB"
          | "WHM"
          | "SCH"
          | "AST"
          | "SGE"
          | "MNK"
          | "DRG"
          | "NIN"
          | "SAM"
          | "RPR"
          | "VPR"
          | "BRD"
          | "MCH"
          | "DNC"
          | "BLM"
          | "SMN"
          | "RDM"
          | "PCT"
          | "BLU"

    • get serverVersion(): number

      The highest version of the sheet that the server has, but has not necessarily been downloaded.

      Returns number

    Methods

    • Perform an asynchronous action. Marks the sheet handle as busy until the promise resolves. Returns the original argument so that you can do things like:

      const result = await sheet.doAction(doSomethingAsync());
      

      Type Parameters

      • X

      Parameters

      • action: Promise<X>

      Returns Promise<X>

    • Update the metadata after downloading a new version of the sheet.

      Parameters

      • serverVersion: number
      • data: SheetExport
      • sortOrder: number
      • versionKey: number

      Returns void

    • Inform the handle of a new server serverVersion which is NOT a deletion

      Parameters

      • serverVersion: number
      • versionKey: number

      Returns void