Choose your operating system:
Windows
macOS
Linux
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 | ||
---|---|---|---|
|
FField * |
ChildProperties |
Pointer to start of linked list of child fields |
|
UField * |
Children |
Pointer to start of linked list of child fields |
|
DestructorLink |
In memory only: Linked list of properties requiring destruction. |
|
|
FieldPathSerialNumber |
Unique id incremented each time this class properties get destroyed |
|
|
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 |
|
|
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 |
|
|
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 | ||
---|---|---|---|
|
__DefaultConstructor ( |
||
|
UObject *... |
__VTableCtorCaller ( |
|
|
AddReferencedObjects ( |
||
|
ArePropertyGuidsAvailable() |
Returns if we have access to property guids |
|
|
CollectBytecodeAndPropertyReferencedObjects() |
Collects UObjects referenced by bytecode and properties for faster GC access |
|
|
CollectBytecodeAndPropertyReferencedObjectsRecursively() |
Collects UObjects referenced by bytecode and properties for this class and its child fields and their children... |
|
|
CollectBytecodeReferencedObjects |
Collects UObjects referenced by bytecode |
|
|
CollectPropertyReferencedObjects |
Collects UObjects referenced by properties |
|
|
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 |
|
DeleteUnresolvedScriptProperties() |
Deletes the UnresolvedScriptProperties array |
|
|
DestroyChildPropertiesAndResetPropertyLinks() |
Destroys all properties owned by this struct |
|
|
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 |
|
|
GetBoolMetaDataHierarchical ( |
Try and find boolean metadata with the given key. |
|
|
UStruct *... |
GetInheritanceSuper() |
Returns the structure used for inheritance, may be changed by child types |
|
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. |
|
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. |
|
GetStringMetaDataHierarchical |
Try and find string metadata with the given key. |
|
|
GetStructureSize() |
Returns actual allocated size of structure in memory |
|
|
UStruct *... |
GetSuperStruct() |
Struct this inherits from, may be null |
|
const UStruc... |
HasMetaDataHierarchical ( |
Determines if the struct or any of its super structs has any metadata associated with the provided key |
|
InitializeStruct |
Initialize a struct over uninitialized memory. |
|
|
InstanceSubobjectTemplates ( |
Creates new copies of components |
|
|
IsChildOf ( |
Returns true if this struct either is SomeBase, or is a child of SomeBase. |
|
|
IsChildOf() |
Returns true if this struct either is class T, or is a child of class T. |
|
|
IsStructTrashed() |
If true, this class has been cleaned and sanitized (trashed) and should not be used |
|
|
Link |
Creates the field/property links and gets structure ready for use at runtime |
|
|
LoadTaggedPropertiesFromText ( |
Serializes list of properties to a te, using property tags to handle mismatches |
|
|
PreloadChildren ( |
Preloads all fields that belong to this struct |
|
|
SerializeBin ( |
Serializes struct properties, does not handle defaults |
|
|
SerializeBin |
Serializes struct properties, does not handle defaults |
|
|
SerializeBinEx ( |
Serializes the class properties that reside in Data if they differ from the corresponding values in DefaultData |
|
|
SerializeExpr |
Serialize an expression to an archive. Returns expression token |
|
|
SerializeProperties ( |
Serializes properties of this struct |
|
|
SerializeTaggedProperties ( |
Serializes list of properties, using property tags to handle mismatches |
|
|
SerializeTaggedProperties |
Serializes list of properties, using property tags to handle mismatches |
|
|
SetPropertiesSize ( |
Modifies the property size after it's been recomputed |
|
|
SetSuperStruct ( |
Sets the super struct pointer and updates hash information as necessary. |
|
|
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 |
|
StaticLink ( |
Static wrapper for Link, using a dummy archive |
|
|
const TCHAR ... |
StaticPackage() |
Returns the package this class belongs in |
|
StaticRegisterNativesUStruct() |
Name | Description | ||
---|---|---|---|
|
AddCppProperty ( |
Name | Description | ||
---|---|---|---|
|
FinishDestroy() |
Called to finish destroying the object. |
|
|
GetPreloadDependencies |
Called during cooking. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
|
|
TagSubobjects ( |
Tags objects that are part of the same asset with the specified object flag, used for GC checking |
Name | Description | ||
---|---|---|---|
|
RegisterDependencies() |
Force any base classes to be registered first, then call BaseRegister |
Name | Description | ||
---|---|---|---|
|
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. |
Name | Description | ||
---|---|---|---|
|
PropertyNameToDisplayName ( |
Replace with GetAuthoredNameForField or UField::GetAuthoredName |