AssetBuildExtended
Callable
Parameters
A: Asset
The asset to configure
baseConfig: AssetArchetypeConfig
The extended item configuration of the base item
extendedConfig: Partial<Record<AssetGroupName, ExtendedItemGroupConfig>>
The extended item configuration object for the asset's family
parentOption: ExtendedItemOption = null
createCallbacks: boolean = true
Returns AssetArchetypeData
- The extended itemdata or
null
if an error was encoutered
Constructs extended item functions for an asset, if extended item configuration exists for the asset. Updates the passed config inplace if ExtendedItem.CopyConfig is present.