Skip to content

Channel Switching (Map Channels)

Overview

UMIPSwitchChannelObjectHelper is a small helper UObject that registers a JSON callback (e.g. socket-backed) to FetchChannels for a given map name and broadcasts OnChannelsFetchedDelegate with TArray<FMIPChannelInfo>. Used with UMIPSwitchChanelContainerWidget (typo in engine name: “Chanel”) for UI that lists channel instances and switches the player’s channel context.

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


Key Classes & Files

Class File
UMIPSwitchChannelObjectHelper Public/SwitchChannel/MIPSwitchChannelObjectHelper.h

UMIPSwitchChannelObjectHelper

  • API: Init(UWorld*), FetchChannels(FString MapName).
  • Delegate: OnChannelsFetchedDelegateTArray<FMIPChannelInfo>.

Integration

  • Chat — channel-tagged chat after channel selection.
  • Backend API — if channel list is served from the same backend/socket stack.