UItemPropertyDataAsset
Overview
UItemPropertyDataAsset wraps FItemPropertyTooltipInfo (implements IItemPropertyTooltipInterface) so designers can author one row of item property text for tooltips: a display string, rich-text row key, and related formatting. Used wherever item properties are composed for UI (equipment, comparisons).
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files
| Class |
File |
UItemPropertyDataAsset |
Public/DataAsset/ItemPropertyDataAsset.h |
IsDataValid |
Private/DataAsset/ItemPropertyDataAsset.cpp |
Properties
| Property |
Type |
Description |
ItemPropertyTooltipInfo |
FItemPropertyTooltipInfo |
Title/body/rich-text row for this property line. |
Editor validation
| Severity |
Condition |
Message |
| Warning |
ItemPropertyTooltipInfo.ItemPropertyString empty |
ItemPropertyTooltipInfo.ItemPropertyString is empty. |
| Error |
ItemPropertyTooltipInfo.ItemPropertyRichTextRow empty |
ItemPropertyTooltipInfo.ItemPropertyRichTextRow is empty — tooltip will have no row key to look up. |
Implementation: Private/DataAsset/ItemPropertyDataAsset.cpp (#if WITH_EDITOR).
Integration