RealDocs

UDataTableFunctionLibrary::GetDataTableRowStruct

function Engine Blueprint Since unknown
#include "Kismet/DataTableFunctionLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Returns the row struct type used by Table, or null if the table doesn't have one set.

Caveats & Gotchas

  • Returns nullptr for a DataTable asset that was created but never had a row struct assigned.
  • Exposed as Table.GetRowStruct() to Python/scripting via the ScriptMethod meta, in addition to the Blueprint node.

Signature

static const UScriptStruct* GetDataTableRowStruct(const UDataTable* Table);

Parameters

Name Type Description Default
Table const UDataTable* The DataTable to query.

Return Type

const UScriptStruct*

Example

Check row struct C++
if (const UScriptStruct* RowStruct = UDataTableFunctionLibrary::GetDataTableRowStruct(MyTable))
{
	UE_LOG(LogTemp, Log, TEXT("Row struct: %s"), *RowStruct->GetName());
}

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.