Skip to main content

ModularItemParseCurrent

Callable

  • ModularItemParseCurrent(data, typeRecord): number[]

  • Parses the focus item's current type into an array representing the currently selected module options


    Parameters

    • data: ModularItemData

      The modular item's data

    • typeRecord: TypeRecord

      The type string for a modular item. If null, use a type string extracted from the selected module options

    Returns number[]

    • An array of numbers representing the currently selected options for each of the item's modules