Navigation
API > API/Runtime > API/Runtime/IrisCore
A ShrinkWrapNetBlob/NetObjectAttachment is typically used on the sending side for data with multiple destinations. In that case the contents of the original blob can be serialized, once, to a buffer and then wrapped in an instance of this class. The serialization of the buffer is likely faster than the original serialization as no particular logic needs to be performed and serializing a buffer is an optimized path.
If tracing is enabled the OriginalBlob will be serialized instead of the already serialized buffer. This is for debugging purposes.
Deserialization will always be performed by the original blob type.
| Name | FShrinkWrapNetBlob |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h |
| Include Path | #include "Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h" |
Syntax
class FShrinkWrapNetBlob : public UE::Net::FNetBlob
Inheritance Hierarchy
- FNetBlob → FShrinkWrapNetBlob
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShrinkWrapNetBlob
(
FNetSerializationContext& Context, |
Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NetTokenExportsArray | TArray< FNetToken, TInlineAllocator< 4 > > | Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h | ||
| OriginalBlob | TRefCountPtr< FNetBlob > | Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h | ||
| SerializedBlob | TArray< uint32 > | Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h | ||
| SerializedBlobBitCount | uint32 | Iris/ReplicationSystem/NetBlob/ShrinkWrapNetBlob.h |