Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- TInPropertyBaseClass
- TPropertyTypeFundamentals
- TProperty
- TProperty_WithEqualityAndSerializer
- TProperty_Numeric
- FByteProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
Syntax
class FByteProperty : public TProperty_Numeric< uint8 >
Remarks
Describes an unsigned byte value or 255-value enumeration variable.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UEnum > | Enum | Variables. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FByteProperty
(
UField* InField |
|||
FByteProperty
(
EInternal InInernal, |
|||
FByteProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled in properties | ||
FByteProperty
(
FFieldVariant InOwner, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| void | AppendSchemaHash
(
FBlake3& Builder, |
Updates the given HashBuilder with name and type information of this Property. | |
| bool | Returns true if the type of this property matches the type name. | ||
| FField * | Construct
(
const FFieldVariant& InOwner, |
||
| EConvertFromTypeResult | ConvertFromType
(
const FPropertyTag& Tag, |
Allows a property to implement backwards compatibility handling for tagged properties | |
| void | ExportText_Internal
(
FString& ValueStr, |
||
| SIZE_T | GetFieldSize () |
||
| UEnum * | Return the UEnum if this property is a FByteProperty with a non-null Enum | ||
| uint64 | Returns the number of bits required by NetSerializeItem to encode this property (may be fewer than 8 if this byte represents an enum) | ||
| void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
||
| const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
||
| bool | LoadTypeName
(
UE::FPropertyTypeName Type, |
Restores this property and its owned properties from the type name. | |
| bool | NetSerializeItem
(
FArchive& Ar, |
||
| void | PostDuplicate
(
const FField& InField |
Fixups after duplicating a Field | |
| void | SaveTypeName
(
UE::FPropertyTypeNameBuilder& Type |
Saves the type name of this property and its owned properties. | |
| void | Begin UObject interface: the following functions mimic UObject interface for easier transition from UProperties to FProperties. | ||
| FFieldClass * | StaticClass () |
||
| uint64 | |||
| uint64 |
Overridden from TProperty_WithEqualityAndSerializer
| Type | Name | Description | |
|---|---|---|---|
| void | SerializeItem
(
FStructuredArchive::FSlot Slot, |
Overridden from TProperty
| Type | Name | Description | |
|---|---|---|---|
| FString | GetCPPType
(
FString* ExtendedTypeText, |
Returns the text to use for exporting this property to header file. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* InMem |
||
| void * | operator new
(
const size_t InSize |
||
| void * | operator new
(
const size_t InSize, |