Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FCbAttachment
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TryLoad
(
FCbFieldIterator& Fields |
Load the attachment from compact binary as written by Save. | Serialization/CompactBinaryPackage.h | |
| Load the attachment from compact binary as written by Save. | Serialization/CompactBinaryPackage.h |
TryLoad(FCbFieldIterator &)
Description
Load the attachment from compact binary as written by Save.
The attachment references the input iterator if it is owned, and otherwise clones the value.
The iterator is advanced as attachment fields are consumed from it.
| Name | TryLoad |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryPackage.h |
| Include Path | #include "Serialization/CompactBinaryPackage.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/CompactBinaryPackage.cpp |
bool TryLoad
(
FCbFieldIterator & Fields
)
TryLoad(FArchive &, FCbBufferAllocator)
Description
Load the attachment from compact binary as written by Save.
The attachments value will be loaded into an owned buffer.
Allocated buffers will be cloned if they are not owned.
| Name | TryLoad |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryPackage.h |
| Include Path | #include "Serialization/CompactBinaryPackage.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/CompactBinaryPackage.cpp |
bool TryLoad
(
FArchive & Ar,
FCbBufferAllocator Allocator
)
Parameters
| Name | Remarks |
|---|---|
| Ar | Archive to read the attachment from. An error state is set on failure. |
| Allocator | Allocator for the attachment value buffer. |