Navigation
API > API/Developer > API/Developer/Horde
Accessor for data structures stored into a serialized bundle packet.
| Name | FPacket |
| Type | class |
| Header File | /Engine/Source/Developer/Horde/Public/Storage/Bundles/V2/Packet.h |
| Include Path | #include "Storage/Bundles/V2/Packet.h" |
Syntax
class FPacket
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPacket
(
FSharedBufferView InBuffer |
Storage/Bundles/V2/Packet.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPacket() |
Storage/Bundles/V2/Packet.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BlobType | const FBlobType | Storage/Bundles/V2/Packet.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | FSharedBufferView | Storage/Bundles/V2/Packet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Encode
(
EBundleCompressionFormat Format, |
Encodes a packet. | Storage/Bundles/V2/Packet.h | |
FSharedBufferView GetBuffer() |
Gets the underlying buffer for this packet. | Storage/Bundles/V2/Packet.h | |
FPacketExport GetExport
(
size_t ExportIdx |
Gets the bulk data for a particular export. | Storage/Bundles/V2/Packet.h | |
size_t GetExportCount() |
Gets the number of exports in this packet. | Storage/Bundles/V2/Packet.h | |
FPacketImport GetImport
(
size_t ImportIdx |
Gets the locator for a particular import. | Storage/Bundles/V2/Packet.h | |
size_t GetImportCount() |
Gets the number of imports in this packet. | Storage/Bundles/V2/Packet.h | |
size_t GetLength() |
Length of this packet. | Storage/Bundles/V2/Packet.h | |
const FBlobType & GetType
(
size_t TypeIdx |
Gets a type from the packet. | Storage/Bundles/V2/Packet.h | |
size_t GetTypeCount() |
Gets the number of types in this packet. | Storage/Bundles/V2/Packet.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPacket Decode
(
const FMemoryView& View |
Decodes a packet from the given data. | Storage/Bundles/V2/Packet.h |