Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- FStructOnScope
- FEscalationManager::TStructOnScopeLite
- FUserStructOnScopeIgnoreDefaults
- TStructOnScope
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/StructOnScope.h |
| Include | #include "UObject/StructOnScope.h" |
Syntax
class FStructOnScope
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | OwnsMemory | Whether the struct memory is owned by this instance. | |
| TWeakObjectPtr< UPackage > | Package | ||
| uint8 * | SampleStructMemory | ||
| TWeakObjectPtr< const UStruct > | ScriptStruct |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStructOnScope
(
const UStruct* InScriptStruct |
|||
FStructOnScope
(
FStructOnScope&& InOther |
|||
FStructOnScope
(
const FStructOnScope& |
|||
FStructOnScope
(
const UStruct* InScriptStruct, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
If the struct definition is still available and there is struct memory to read from, add any object references in the struct data to the collector | |
| void | Destroy () |
||
| UPackage * | GetPackage () |
||
| const UStruct * | GetStruct () |
||
| uint8 * | |||
| const uint8 * | |||
| TWeakObjectPtr< const UStruct > & | GetStructPtr () |
||
| void | Initialize () |
||
| void | Initialize
(
TWeakObjectPtr< const UStruct > InScriptStruct |
Re-initializes the scope with a specified UStruct | |
| bool | IsValid () |
||
| bool | |||
| void | Reset () |
||
| void | SetPackage
(
UPackage* InPackage |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FStructOnScope & | operator=
(
FStructOnScope&& InOther |
||
| FStructOnScope & | operator=
(
const FStructOnScope& |