Skip to content

UMIPNPCInfoAsset

Overview

UMIPNPCInfoAsset wraps FMIPNPCInfo: presentation and identity for an NPC (nameplate tag, display name, portrait, dialogue-related hooks). GetNPCInfo() exposes the struct to Blueprint. Used by NPC actors and interaction to show consistent NPC metadata.

All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.


Key Classes & Files

Class File
UMIPNPCInfoAsset Public/DataAsset/MIPNPCInfoAsset.h
FMIPNPCInfo Public/NPC/Struct/MIPNPCStruct.h
IsDataValid Private/DataAsset/MIPNPCInfoAsset.cpp

Properties

Property Type Description
NPCInfo FMIPNPCInfo Tag, name, portrait, and other NPC presentation fields.

Editor validation

Severity Condition Message
Error NPCInfo.NPCTag invalid NPCInfo.NPCTag is not set.
Error NPCInfo.Name empty/whitespace NPCInfo.Name is empty.

Implementation: Private/DataAsset/MIPNPCInfoAsset.cpp (#if WITH_EDITOR).


Integration

Topic Link
NPC actors NPC
Data assets index Data assets index