RealDocs

UKismetSystemLibrary::EqualEqual_PrimaryAssetType

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

Description

Returns true if two Primary Asset Types are equal. Backs the "==" node for Primary Asset Type pins in Blueprint.

Caveats & Gotchas

  • In C++ this is equivalent to operator== on FPrimaryAssetType; the Blueprint node exists because Blueprint has no generic struct equality operator.

Signature

static bool EqualEqual_PrimaryAssetType(FPrimaryAssetType A, FPrimaryAssetType B)

Parameters

Name Type Description Default
A FPrimaryAssetType The first Primary Asset Type to compare.
B FPrimaryAssetType The second Primary Asset Type to compare.

Return Type

bool

Example

Compare two types C++
if (UKismetSystemLibrary::EqualEqual_PrimaryAssetType(FPrimaryAssetType(TEXT("Item")), OtherType))
{
	UE_LOG(LogTemp, Log, TEXT("Same type"));
}

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.