Skip to main content

VariableHeightRegister

Callable


  • Registers a variable height extended item. This automatically creates the item's load, draw and click functions.


    Parameters

    • asset: Asset

      The asset being registered

    • config: VariableHeightConfig

      The variable height configuration

    • parentOption: ExtendedItemOption = null

      The extended item option of the super screen that this archetype was initialized from (if any)

    Returns VariableHeightData

    • The generated extended item data for the asset