Chat¶
Overview¶
UMIPChatSubsystem is a GameInstance subsystem that sends and receives chat messages through UMIPBaseSendMessageProcessor / message processors, maintains per-channel history (FGameplayTag → message array), and broadcasts OnChatReceived for UI. Incoming messages can also be observed via Gameplay Message Subsystem with tag Tag_Chat_Receive (see header comment). The Public/Chat/ tree includes party/friends, profanity filter, command listeners, nameplates, and rich-text structs.
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files¶
| Class | File |
|---|---|
UMIPChatSubsystem |
Public/Chat/Subsystem/MIPChatSubsystem.h |
UMIPBaseSendMessageProcessor |
Public/Chat/Components/MIPBaseSendMessageProcessor.h |
UMIPBaseMessageReceivedProcessor |
Public/Chat/Objects/MessageReceivedProcessors/MIPBaseMessageReceivedProcessor.h |
FMIPChatMessageReceivedStruct, send struct |
Public/Chat/Structs/*.h |
MIPChatGameplayTags |
Public/Chat/GameplayTag/MIPChatGameplayTags.h |
UMIPChatSubsystem¶
- Init:
InitChatSubsystemmust be called with a world context (seeInitialize). - API:
SendMessage,SendSystemMessage,GetChannelHistory(Channel). - Delegates:
OnChatReceived,OnChatSent.
Integration¶
- Client Auth — login/session before chat credentials may apply.
- Player — player info / nameplates under
Chat/Player,Chat/Components/Nameplate.