Skip to main content

ModularItemMergeModuleValues

Callable


  • Merges all of the selected module options for a modular item into a single Property object to set on the item


    Parameters

    • data: ModularItemData

      The modular item's data

    • moduleValues: readonly number[]

      The numeric values representing the current options for each module

    • BaselineProperty: ItemProperties = null

      Initial properties

    Returns ItemProperties

    • A property object created from combining each module of the modular item