| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/UserDefinedStruct.h |
Include |
#include "Engine/UserDefinedStruct.h" |
class UUserDefinedStruct : public UScriptStruct
Name | Description | ||
---|---|---|---|
|
bool |
bIgnoreStructDefaults |
Bool to indicate we want to initialize a version of this struct without defaults, this is set while allocating the DefaultStructInstance itself |
|
FOnStructChange... |
ChangedEvent |
|
|
DefaultStructInstance |
Default instance of this struct with default values filled in, used to initialize structure |
|
|
TObjectPtr< UOb... |
EditorData |
|
|
ErrorMessage |
||
|
Guid |
Uniquely identifies this specific user struct |
|
|
TWeakObjectPtr<... |
PrimaryStruct |
The original struct, when current struct isn't a temporary duplicate, the field should be null |
|
TEnumAsByte< en... |
Status |
Status of this struct, outside of the editor it is assumed to always be UpToDate |
|
friend |
UUserDefinedStructEditorData |
Name | Description | |
---|---|---|
|
UUserDefinedStruct ( |
Name | Description | ||
---|---|---|---|
|
void |
AddReferencedObjects ( |
Returns references from default instance |
|
TSubclassOf<... |
GetCookedMetaDataClass() |
|
|
const uint8 ... |
GetDefaultInstance() |
Returns the raw memory of the default instance |
|
uint32 |
GetUserDefinedStructTypeHash ( |
Computes hash |
|
void |
InitializeStructIgnoreDefaults ( |
Specifically initialize this struct without using the default instance data |
|
void |
OnChanged() |
|
|
FOnStructCha... |
OnStructChanged() |
|
|
void |
UpdateStructFlags() |
Inspects properties and default values, setting appropriate StructFlags |
|
void |
ValidateGuid() |
Creates a new guid if needed |
Name | Description | ||
---|---|---|---|
|
GetCustomGuid() |
Returns the custom Guid assigned to this struct for User Defined Structs, or an invalid Guid |
|
|
GetStructCPPName ( |
Returns the (native, c++) name of the struct |
|
|
uint32 |
GetStructTypeHash ( |
Calls GetTypeHash for native structs, otherwise computes a hash of all struct members |
|
void |
PrepareCppStructOps() |
Look for the CppStructOps and hook it up |
|
void |
RecursivelyPreload() |
Used by User Defined Structs to preload this struct and any child objects |
Name | Description | ||
---|---|---|---|
|
FProperty &#... |
CustomFindProperty ( |
Look up a property by an alternate name if it was not found in the first search, this is overridden for user structs |
|
GetAuthoredNameForField ( |
Returns a human readable string for a given field, overridden for user defined structs |
|
|
void |
InitializeStruct ( |
Initialize a struct over uninitialized memory. |
|
void |
SerializeTaggedProperties ( |
Serializes list of properties, using property tags to handle mismatches |
Name | Description | ||
---|---|---|---|
|
void |
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
void |
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
void |
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
void |
PostSaveRoot ( |
Called from within SavePackage on the passed in base/root object. |
|
void |
PreSaveRoot ( |
Called from within SavePackage on the passed in base/root object. |
|
void |
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |