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