UScriptStruct::CompareScriptStruct

Compare two script structs

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp

Syntax

bool CompareScriptStruct
(
    const void * A,
    const void * B,
    uint32 PortFlags
) const

Remarks

Compare two script structs

Returns

true if the structs are identical

Parameters

Parameter

Description

Dest

Pointer to memory to a struct

Src

Pointer to memory to the other struct

PortFlags

Comparison flags

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