Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
class UStruct :
public UField,
private FStructBaseChain
Base class for all UObject types that contain fields.
Name | Description | ||
---|---|---|---|
|
bool |
bHasAssetRegistrySearchableProperties |
True if this struct has Asset Registry searchable properties |
|
FField * |
ChildProperties |
Pointer to start of linked list of child fields |
|
TObjectPtr< UFi... |
Children |
Pointer to start of linked list of child fields |
|
DestructorLink |
In memory only: Linked list of properties requiring destruction. |
|
|
int32 |
FieldPathSerialNumber |
Unique id incremented each time this class properties get destroyed |
|
int32 |
MinAlignment |
Alignment of structure in memory, structure will be at least this large |
|
PostConstructLink |
In memory only: Linked list of properties requiring post constructor initialization |
|
|
int32 |
PropertiesSize |
Total size of all UProperties, the allocated structure may be larger due to alignment |
|
PropertyLink |
In memory only: Linked list of properties from most-derived to base |
|
|
PropertyWrappers |
List of wrapper UObjects for FProperties |
|
|
RefLink |
In memory only: Linked list of object reference properties from most-derived to base |
|
|
TArray< uint8 > |
Script |
Script bytecode associated with this object |
|
ScriptAndPropertyObjectReferences |
Array of object references embedded in script code and referenced by FProperties. |
|
|
UnresolvedScriptProperties |
Contains a list of script properties that couldn't be resolved at load time |
|
|
const FUnversio... |
UnversionedEditorSchema |
Cached schema for optimized unversioned property serialization, with editor data, owned by this. |
|
const FUnversio... |
UnversionedGameSchema |
Cached schema for optimized unversioned and filtereditoronly property serialization, owned by this. |
Name | Description | |
---|---|---|
|
UStruct ( |
|
|
UStruct ( |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
|
UStruct ( |
|
|
UStruct ( |
Constructors. |
|
UStruct ( |
Name | Description | |
---|---|---|
|
~UStruct() |
Name | Description | ||
---|---|---|---|
|
void |
__DefaultConstructor ( |
|
|
UObject *... |
__VTableCtorCaller ( |
|
|
void |
AddReferencedObjects ( |
|
|
bool |
ArePropertyGuidsAvailable() |
Returns if we have access to property guids |
|
void |
CollectBytecodeAndPropertyReferencedObjects() |
Collects UObjects referenced by bytecode and properties for faster GC access |
|
void |
CollectBytecodeAndPropertyReferencedObjectsRecursively() |
Collects UObjects referenced by bytecode and properties for this class and its child fields and their children... |
|
void |
CollectBytecodeReferencedObjects |
Collects UObjects referenced by bytecode |
|
void |
CollectPropertyReferencedObjects |
Collects UObjects referenced by properties |
|
void |
ConvertUFieldsToFFields() |
|
|
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 |
|
void |
DeleteUnresolvedScriptProperties() |
Deletes the UnresolvedScriptProperties array |
|
void |
DestroyChildPropertiesAndResetPropertyLinks() |
Destroys all properties owned by this struct |
|
void |
DestroyStruct ( |
Destroy a struct in memory. |
|
FProperty &#... |
FindPropertyByName ( |
Searches property link chain for a property with the specified name |
|
FindPropertyGuidFromName ( |
Find property guid |
|
|
FindPropertyNameFromGuid ( |
Returns the property name from the guid |
|
|
GetAuthoredNameForField ( |
Returns a human readable string for a given field, overridden for user defined structs |
|
|
GetAuthoredNameForField ( |
Returns a human readable string for a given field, overridden for user defined structs |
|
|
bool |
GetBoolMetaDataHierarchical ( |
Try and find boolean metadata with the given key. |
|
UStruct *... |
GetInheritanceSuper() |
Returns the structure used for inheritance, may be changed by child types |
|
int32 |
GetMinAlignment() |
Alignment of structure in memory, structure will be at least this large |
|
const TCHAR ... |
GetPrefixCPP() |
Returns the struct/ class prefix used for the C++ declaration of this struct/ class. |
|
int32 |
GetPropertiesSize() |
Total size of all UProperties, the allocated structure may be larger due to alignment |
|
const FBlake... |
GetSchemaHash ( |
Get the Schema Hash for this struct - the hash of its property names and types. |
|
bool |
GetStringMetaDataHierarchical |
Try and find string metadata with the given key. |
|
FTopLevelAss... |
GetStructPathName() |
Returns struct path name as a package + struct FName pair |
|
int32 |
GetStructureSize() |
Returns actual allocated size of structure in memory |
|
UStruct *... |
GetSuperStruct() |
Struct this inherits from, may be null |
|
bool |
HasAssetRegistrySearchableProperties() |
Returns true if this struct has Asset Registry searchable properties |
|
const UStruc... |
HasMetaDataHierarchical ( |
Determines if the struct or any of its super structs has any metadata associated with the provided key |
|
void |
InitializeStruct ( |
Initialize a struct over uninitialized memory. |
|
void |
InstanceSubobjectTemplates ( |
Creates new copies of components |
|
bool |
IsChildOf ( |
Returns true if this struct either is SomeBase, or is a child of SomeBase. |
|
bool |
IsChildOf() |
Returns true if this struct either is class T, or is a child of class T. |
|
bool |
IsStructTrashed() |
If true, this class has been cleaned and sanitized (trashed) and should not be used |
|
void |
Link ( |
Creates the field/property links and gets structure ready for use at runtime |
|
void |
LoadTaggedPropertiesFromText ( |
Serializes list of properties to a te, using property tags to handle mismatches |
|
void |
PreloadChildren ( |
Preloads all fields that belong to this struct |
|
void |
SerializeBin ( |
Serializes struct properties, does not handle defaults. |
|
void |
SerializeBin ( |
Serializes struct properties, does not handle defaults. |
|
void |
SerializeBinEx ( |
Serializes the class properties that reside in Data if they differ from the corresponding values in DefaultData |
|
EExprToken |
SerializeExpr ( |
Serialize an expression to an archive. Returns expression token |
|
void |
SerializeProperties ( |
Serializes properties of this struct |
|
void |
SerializeTaggedProperties ( |
Serializes list of properties, using property tags to handle mismatches |
|
void |
SerializeTaggedProperties |
Serializes list of properties, using property tags to handle mismatches |
|
void |
SetPropertiesSize ( |
Modifies the property size after it's been recomputed |
|
void |
SetSuperStruct ( |
Sets the super struct pointer and updates hash information as necessary. |
|
void |
SetUnresolvedScriptProperties ( |
Sets the UnresolvedScriptProperties array |
|
UClass * |
StaticClass() |
Returns a UClass object representing this class at runtime |
|
EClassCastFl... |
StaticClassCastFlags() |
Returns the static cast flags for this class |
|
void |
StaticLink ( |
Static wrapper for Link, using a dummy archive |
|
const TCHAR ... |
StaticPackage() |
Returns the package this class belongs in |
|
void |
StaticRegisterNativesUStruct() |
Name | Description | ||
---|---|---|---|
|
void |
AddCppProperty ( |
Name | Description | ||
---|---|---|---|
|
void |
FinishDestroy() |
Called to finish destroying the object. |
|
void |
GetPreloadDependencies |
Called during cooking. |
|
void |
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
void |
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
|
void |
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
|
void |
TagSubobjects ( |
Tags objects that are part of the same asset with the specified object flag, used for GC checking |
Name | Description | ||
---|---|---|---|
|
void |
RegisterDependencies() |
Force any base classes to be registered first, then call BaseRegister |
Name | Description | ||
---|---|---|---|
|
void |
operator delete ( |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. |
|
void * |
operator new |
For internal use only; use StaticConstructObject() to create new objects. |
|
void * |
operator new ( |
For internal use only; use StaticConstructObject() to create new objects. |
Name |
Description |
---|---|
FUnresolvedScriptPropertiesArray |
|
Super |
Typedef for the base class (UField) |
ThisClass |
Typedef for UStruct. |
Name |
Description |
---|---|
StaticClassFlags |
Bitwise union of EClassFlags pertaining to this class. |