Xivgear Types Documentation
    Preparing search index...

    Type Alias BaseRelicStatModel

    type BaseRelicStatModel = {
        validate(item: EquippedItem, statToReport?: Substat): GearSetIssue[];
    }
    Index

    Methods

    Methods

    • Validate an item according to this relic model. Returns a list of validation errors. An empty list implies success.

      Parameters

      • item: EquippedItem

        The item

      • OptionalstatToReport: Substat

        Specify this to report issues specific to one stat. Messages may be tailored to one stat, and validation issues will only be reported if that particular stat is actually contributing to the problem.

      Returns GearSetIssue[]