Navigation
API > API/Runtime > API/Runtime/Core
An opaque 12-byte object identifier.
It has no intrinsic meaning, and can only be properly interpreted in the context of its usage.
| Name | FCbObjectId |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h |
| Include Path | #include "Serialization/CompactBinary.h" |
Syntax
class FCbObjectId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCbObjectId () |
Construct an ObjectId with every byte initialized to zero. | Serialization/CompactBinary.h | |
FCbObjectId
(
const ByteArray& ObjectId |
Construct an ObjectId from an array of 12 bytes. | Serialization/CompactBinary.h | |
FCbObjectId
(
FMemoryView ObjectId |
Construct an ObjectId from a view of 12 bytes. | Serialization/CompactBinary.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ByteArray | uint8[12] | Serialization/CompactBinary.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bytes | ByteArray | Serialization/CompactBinary.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ByteArray & GetBytes() |
Returns a reference to the raw byte array for the ObjectId. | Serialization/CompactBinary.h | |
FMemoryView GetView() |
Returns a view of the raw byte array for the ObjectId. | Serialization/CompactBinary.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FCbObjectId NewObjectId() |
Serialization/CompactBinary.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator const ByteArray &() |
Serialization/CompactBinary.h | ||
bool operator!=
(
const FCbObjectId& B |
Serialization/CompactBinary.h | ||
bool operator==
(
const FCbObjectId& B |
Serialization/CompactBinary.h |