UMIPLevelBasedFeaturesDefAsset
Overview
UMIPLevelBasedFeaturesDefAsset maps player level (integer key) to FMIPPlayerLevelBasedFeatureArrayStruct: gameplay tags and unlocks granted when the player reaches that level. Used by the player-level-based features pipeline.
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files
| Class |
File |
UMIPLevelBasedFeaturesDefAsset |
Public/DataAsset/MIPLevelBasedFeaturesDefAsset.h |
IsDataValid |
Private/DataAsset/MIPLevelBasedFeaturesDefAsset.cpp |
Properties
| Property |
Type |
Description |
LevelBasedFeatureTagDefinitions |
TMap<int32, FMIPPlayerLevelBasedFeatureArrayStruct> |
Level → feature list. |
Editor validation
| Severity |
Condition |
Message |
| Error |
Map empty |
LevelBasedFeatureTagDefinitions is empty — no level-based features defined. |
| Warning |
For a level key, LevelBasedFeatures empty |
LevelBasedFeatureTagDefinitions[Level %d]: LevelBasedFeatures array is empty. |
Implementation: Private/DataAsset/MIPLevelBasedFeaturesDefAsset.cpp (#if WITH_EDITOR).
Integration