CWIDGETUMODULE

Overview

The CWIDGETUMODULE provides a collection of ready-to-use UMG widget classes for common game UI needs: dialog boxes, interaction prompts, skill docks, resource inventories, health bars, compass, minimap, text popups, mobile controls, portrait display and debug overlays. All widgets follow the framework’s UCUserWidget base class and consume data through the consume pattern via WidgetUtility::sendData.

Depends on CCOREUMODULE, CCHARUMODULE, CSKILLUMODULE, CRESOURCEUMODULE.

Functionalities Overview
Dialog UCDialogWidget / UCDialogButtonWidget — rich text dialog with dynamic option buttons and close callback
Interaction UCInteractionWidget — world-projected interaction prompt that follows the target actor
Skill Dock UCSkillDockWidget / UCSkillDockButtonWidget / UCSkillTooltipDockButtonWidget — skill bar with cooldown, pop and red-cross animations
Resource UCResourceWidget / UCResourceItemWidget / UCResourceTooltipWidget — grid inventory bound to the resource system
Life UCLifeWidget — world-projected health bar with team-colored progress
Compass UCCompassWidget / UCCompassMarkWidget — compass strip with distance-scaled markers
Minimap UCMinimapWidget — minimap driven by a render target and dynamic material
Text Pop UCTextPopWidget — animated floating text popup at an actor’s world position
Mobile UCMobileWidget — on-screen jump and interact buttons for mobile platforms
Portrait UCPortraitWidget — displays a UTexture2D portrait image
Debug UCDebugWidget — world-projected debug text overlay with extensible display functions
Tools WTools.h — macros for setting FSlateBrush on UImage and UButton widgets
Blueprint UCWidgetBPLibrary — Blueprint-callable functions to spawn dialog, interaction and text pop widgets