Skip to main content

DynamicRef ListView Entry

Base:
UUserWidget
Type:
UNDynamicRefListViewEntry
Header File:
NexusDynamicRefs/Public/NDynamicRefListViewEntry.h

A UUserWidget that renders one row of the Developer Overlay for a single ENDynamicRef slot or FName bucket. It implements INListViewEntry, so any UNListView configured to produce these entries will receive a populated, refreshable widget per slot/bucket.

What It Is​

  • Reference Row Widget: One row representing a single slot/bucket — its display name plus a nested list of every UObject currently registered under it.
  • Subclassable Template: Marked Blueprintable and BlueprintType, so you can build a Blueprint widget on top of it (WB_NDynamicRefsListViewEntry in the plugin content is the shipped example).
  • Two-Level: The outer widget is the row; the inner References list holds one button per UObject registered to that slot/bucket.

Bound Widgets​

The widget expects the following named widgets in any Blueprint subclass — they are wired via meta=(BindWidget) and Unreal will fail compilation if a subclass omits them.

WidgetTypeRole
ReferenceUCommonTextBlockLabel showing the ENDynamicRef display name or the FName.
ReferencesUNListViewNested list of objects currently claiming the reference.

Behavior​

  • NativeOnListItemObjectSet(UObject*) receives the UNDynamicRefObject the row is bound to and triggers the initial population.
  • NativeOnEntryReleased() is called when the list view recycles the row; bound state is cleared so the row can be reused for a different slot/bucket.
  • Refresh() is BlueprintCallable and re-reads the bound wrapper. The shipped overlay calls it in response to the wrapper's Changed delegate.
  • OnButtonPressed(UObject*) is the row's per-object button handler; it forwards the click up to the Developer Overlay's OnButtonClicked delegate, which the editor wires up to actor selection.