Navigation
API > API/Runtime > API/Runtime/IrisCore
Utility class to reassemble split blobs. Partial blobs need to be added in order and represent the same blob until it's assembled or an error occurs.
| Name | FNetBlobAssembler |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h |
| Include Path | #include "Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h" |
Syntax
class FNetBlobAssembler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetBlobAssembler() |
Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsBrokenSequence | bool | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| bIsProcessingReliable | bool | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| bIsReadyToAssemble | bool | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| BitWriter | FNetBitStreamWriter | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| FirstPayloadBitCount | uint32 | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| LastPartSequenceNumber | uint32 | The sequence number of the last part expected to be received before being ready to assemble. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | |
| NetBlobCreationInfo | FNetBlobCreationInfo | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| NextPartIndex | uint32 | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| NextSequenceSumber | uint32 | Initialized to an arbitrary number. If we receive the first part of a sequence it doesn't matter. If the next received blob isn't the first part it's a broken sequence. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | |
| PartialNetBlobHandlerConfig | const USequentialPartialNetBlobHandlerConfig * | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| Payload | TArray< uint32 > | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | ||
| RefHandle | FNetRefHandle | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPartialNetBlob
(
FNetSerializationContext& Context, |
Add the next expected part of the split blob. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | |
TRefCountPtr< FNetBlob > Assemble
(
FNetSerializationContext& Context |
Assemble all parts of the split blob. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | |
void Init
(
const FNetBlobAssemblerInitParams& InitParams |
Initialize the NetBlobAssembler. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | |
bool IsReadyToAssemble() |
Returns true if all parts of the split blob have been added and is ready to be assembled. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h | |
bool IsSequenceBroken() |
Returns true if the sequence order is broken. | Iris/ReplicationSystem/NetBlob/NetBlobAssembler.h |