UMIPGameplayEffectFriendlyInfoAsset
Overview
UMIPGameplayEffectFriendlyInfoAsset stores FMIPGameplayEffectFriendlyInfoInputStruct for UI: friendly name, icon, optional static effect text lines when bUseStaticEffectTexts is true. Used to display buff/debuff rows without parsing GE magnitude on the client.
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files
| Class |
File |
UMIPGameplayEffectFriendlyInfoAsset |
Public/DataAsset/MIPGameplayEffectFriendlyInfoAsset.h |
FMIPGameplayEffectFriendlyInfoInputStruct |
Public/AbilitySystem/Structs/MIPGameplayEffectFriendlyInfoInputStruct.h |
IsDataValid |
Private/DataAsset/MIPGameplayEffectFriendlyInfoAsset.cpp |
Properties
| Property |
Type |
Description |
FriendlyInfo |
FMIPGameplayEffectFriendlyInfoInputStruct |
Name, icon, static text mode, lines. |
Editor validation
| Severity |
Condition |
Message |
| Error |
FriendlyInfo.FriendlyName empty |
FriendlyInfo.FriendlyName is empty. |
| Warning |
Icon null |
FriendlyInfo.Icon is not set. |
| Error |
bUseStaticEffectTexts true and StaticEffectTexts empty |
bUseStaticEffectTexts is true but StaticEffectTexts is empty. |
Implementation: Private/DataAsset/MIPGameplayEffectFriendlyInfoAsset.cpp (#if WITH_EDITOR).
Integration