UMIPSettingTabDataAsset
Overview
UMIPSettingTabDataAsset defines one settings tab: an array of FMIPSettingItemConfig (tag, label, type: toggle, slider, multi-choice, etc.). The settings UI reads these assets to build rows and bind to UMIPSettingItemWidget subclasses.
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files
| Class |
File |
UMIPSettingTabDataAsset |
Public/DataAsset/MIPSettingTabDataAsset.h |
FMIPSettingItemConfig |
Public/Widget/Setting/MIPSettingItemWidget.h |
IsDataValid |
Private/DataAsset/MIPSettingTabDataAsset.cpp |
Properties
| Property |
Type |
Description |
SettingItems |
TArray<FMIPSettingItemConfig> |
Rows on this tab. |
Editor validation
| Severity |
Condition |
Message |
| Error |
SettingItems empty |
SettingItems is empty — this settings tab has no items. |
| Error |
SettingTag invalid |
SettingItems[%d]: SettingTag is not set. |
| Warning |
Label empty |
SettingItems[%d]: Label is empty. |
| Error |
Type Slider and MaxValue <= MinValue |
SettingItems[%d]: Slider MaxValue (%d) must be > MinValue (%d). |
| Error |
Type MultiChoice and Choices empty |
SettingItems[%d]: Type is MultiChoice but Choices array is empty. |
Implementation: Private/DataAsset/MIPSettingTabDataAsset.cpp (#if WITH_EDITOR).
Integration