FTextStringHelper::WriteToBuffer

Write the given [FText](API\Runtime\Core\Internationalization\FText) instance to a stream of text

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp

Syntax

static void WriteToBuffer
(
    FString & Buffer,
    const FText & Value,
    const bool bRequiresQuotes,
    const bool bStripPackageNamespace
)

Remarks

Write the given FText instance to a stream of text

Parameters

Parameter

Description

Buffer

The buffer of text to write to.

Value

The text value to write into the buffer.

bRequiresQuotes

True if the written text literal must be surrounded by quotes (eg, when saving as a delimited list)

bStripPackageNamespace

True to strip the package namespace from the written NSLOCTEXT value (eg, when saving cooked data)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss