Xivgear Types Documentation
    Preparing search index...

    Class SheetProvider<SheetType>

    SheetProvider is the base class for turning sheet exports or fresh sheets into rehydrated sheet objects.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Try to load a sheet by its save key

      Parameters

      • sheetKey: string

        The key to load

      Returns SheetType

      The sheet if found, otherwise null

    • Create a new sheet from scratch

      Parameters

      • sheetKey: string

        The save key for the sheet

      • sheetName: string

        The name of the sheet

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

        The class/job of the sheet

      • level: 70 | 80 | 90 | 100

        The level of the sheet

      • ilvlSync: number

        The ilvl sync of the sheet, or undefined if the sheet should not have an ilvl sync.

      • multiJob: boolean

        Whether to create a multi-job sheet.

      Returns SheetType