FScriptText

Namespace: UAssetAPI.Kismet.Bytecode

Represents an FText as serialized in Kismet bytecode.

public class FScriptText

Inheritance ObjectFScriptText

Fields

TextLiteralType

public EBlueprintTextLiteralType TextLiteralType;

LocalizedSource

Source of this text if it is localized text. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.InvariantText.

public KismetExpression LocalizedSource;

LocalizedKey

Key of this text if it is localized text. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.InvariantText.

public KismetExpression LocalizedKey;

LocalizedNamespace

Namespace of this text if it is localized text. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.InvariantText.

public KismetExpression LocalizedNamespace;

InvariantLiteralString

Value of this text if it is an invariant string literal. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.InvariantText.

public KismetExpression InvariantLiteralString;

LiteralString

Value of this text if it is a string literal. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.LiteralString.

public KismetExpression LiteralString;

StringTableAsset

Pointer to this text's UStringTable. Not used at runtime, but exists for asset dependency gathering. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.StringTableEntry.

public FPackageIndex StringTableAsset;

StringTableId

Table ID string literal (namespace). Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.StringTableEntry.

public KismetExpression StringTableId;

StringTableKey

String table key string literal. Used when FScriptText.TextLiteralType is EBlueprintTextLiteralType.StringTableEntry.

public KismetExpression StringTableKey;

Constructors

FScriptText()

public FScriptText()

Methods

Read(AssetBinaryReader)

Reads out an FBlueprintText from a BinaryReader.

public void Read(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader
The BinaryReader to read from.

Write(AssetBinaryWriter)

Writes an FBlueprintText to a BinaryWriter.

public int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter
The BinaryWriter to write from.

Returns

Int32
The iCode offset of the data that was written.