MCPcopy Create free account
hub / github.com/NotYetGames/DlgSystem / RebuildConstructedText

Method RebuildConstructedText

Source/DlgSystem/Private/DlgEdge.cpp:101–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void FDlgEdge::RebuildConstructedText(const UDlgContext& Context, FName FallbackParticipantName)
102{
103 if (TextArguments.Num() <= 0)
104 {
105 return;
106 }
107
108 FFormatNamedArguments OrderedArguments;
109 for (const FDlgTextArgument& DlgArgument : TextArguments)
110 {
111 OrderedArguments.Add(DlgArgument.DisplayString, DlgArgument.ConstructFormatArgumentValue(Context, FallbackParticipantName));
112 }
113 ConstructedText = FText::AsCultureInvariant(FText::Format(Text, OrderedArguments));
114}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected