![]() |
Ark Server API (ASA) - Wiki
|
#include <CompactBinary.h>
Public Types | |
| using | ByteArray = uint8[12] |
Public Member Functions | |
| FCbObjectId ()=default | |
| FCbObjectId (const ByteArray &ObjectId) | |
| FCbObjectId (FMemoryView ObjectId) | |
| const ByteArray & | GetBytes () const |
| operator const ByteArray & () const | |
| constexpr FMemoryView | GetView () const |
| bool | operator== (const FCbObjectId &B) const |
| bool | operator!= (const FCbObjectId &B) const |
| bool | operator< (const FCbObjectId &B) const |
Static Public Member Functions | |
| static FCbObjectId | NewObjectId () |
Private Attributes | |
| ByteArray | Bytes {} |
Friends | |
| uint32 | GetTypeHash (const FCbObjectId &Id) |
| template<typename CharType > | |
| TStringBuilderBase< CharType > & | operator<< (TStringBuilderBase< CharType > &Builder, const FCbObjectId &Id) |
An opaque 12-byte object identifier.
It has no intrinsic meaning, and can only be properly interpreted in the context of its usage.
Definition at line 478 of file CompactBinary.h.
| using FCbObjectId::ByteArray = uint8[12] |
Definition at line 481 of file CompactBinary.h.
|
default |
Construct an ObjectId with every byte initialized to zero.
Construct an ObjectId from an array of 12 bytes.
Definition at line 533 of file CompactBinary.h.
Here is the call graph for this function:
|
explicit |
Construct an ObjectId from a view of 12 bytes.
Returns a reference to the raw byte array for the ObjectId.
Definition at line 493 of file CompactBinary.h.
|
inlineconstexpr |
Returns a view of the raw byte array for the ObjectId.
Definition at line 497 of file CompactBinary.h.
|
static |
Definition at line 494 of file CompactBinary.h.
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 516 of file CompactBinary.h.
|
friend |
Convert the ObjectId to a 24-character hex string.
Definition at line 523 of file CompactBinary.h.
|
private |
Definition at line 530 of file CompactBinary.h.