<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CResourceWidget :: Catur Documentation</title>
    <link>https://doc.cdryx.net/CdryxAIOUPlugin/modules/cwidgetumodule/cresourcewidget/index.html</link>
    <description>Overview The resource widget system displays an inventory grid bound to the UCResourceManager resource system. UCResourceWidget listens to resource events and rebuilds a UUniformGridPanel of UCResourceItemWidget items, each with a UCResourceTooltipWidget tooltip.&#xA;UCResourceWidget Name Description consume Initializes the widget: sets source actor, binds to resource events, loads item and tooltip classes updateResource Clears and rebuilds the grid from UCResourceManager::resourceMap, filtering items without metadata if configured onResourceEvent Called when resources change. Triggers updateResource closeDialog Removes the widget from viewport retrieveResourceItemClass Returns the item widget class (default: CResourceItemWidgetDefault). Override in Blueprint retrieveTooltipClass Returns the tooltip widget class (default: CResourceTooltipWidgetDefault). Override in Blueprint // UCResourceWidget receives data via consume: // - object: source actor // It binds to the resource system via ResourceUtility::boundToOnResourceEvent(this). // The grid uses numberOfColumn (default 3) to arrange items. // showItemWithoutMetadata controls whether items without FCResourceMetadataStruct are displayed. // Each item receives its resource FName and count. // Each tooltip receives the resource FName and displays the label from metadata. UCResourceItemWidget Name Description consume Displays the resource icon and count. Icon is loaded from FCResourceMetadataStruct // UCResourceItemWidget receives data via consume: // - aName: resource FName // - aFloat: resource count // The icon is retrieved from CoordinatorUtility::retrieveResourceMetadata(name)-&gt;icon. // Count is formatted with 0-2 fractional digits, rounded toward zero. UCResourceTooltipWidget Name Description consume Displays the resource label in a rich text block // UCResourceTooltipWidget receives data via consume: // - aName: resource FName // The label is retrieved from CoordinatorUtility::retrieveResourceMetadata(name)-&gt;label. // Falls back to the FName converted to text if no label is defined.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://doc.cdryx.net/CdryxAIOUPlugin/modules/cwidgetumodule/cresourcewidget/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>