Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem > API/Runtime/IrisCore/Iris/ReplicationSystem/NetBlob
Inheritance Hierarchy
- FNetBlob
- FNetObjectAttachment
- FPartialNetBlob
- FRawDataNetBlob
- FShrinkWrapNetBlob
- FShrinkWrapNetObjectAttachment
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetBlob/NetBlob.h |
| Include | #include "Iris/ReplicationSystem/NetBlob/NetBlob.h" |
Syntax
class FNetBlob
Variables
| Type | Name | Description | |
|---|---|---|---|
| TRefCountPtr< const FReplicationStateDescriptor > | BlobDescriptor | The state descriptor. | |
| FNetBlobCreationInfo | CreationInfo | The CreationInfo that was passed to the constructor. | |
| FQuantizedBlobState | QuantizedBlobState | The state buffer that holds the data described by the descriptor. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNetBlob
(
const FNetBlobCreationInfo& |
Construct a NetBlob with reference count zero. | ||
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FNetBlob () |
The destructor will free dynamic state, if present, in the state buffer and remove a reference to the descriptor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddRef () |
Adds a reference. A blob is created with reference count zero. | |
| TArrayView< const FNetObjectReference > | Retrieve the object references that need to be exported. | ||
| TArrayView< const FNetToken > | Retrieve NetToken that needs to be exported. | ||
| void | CollectObjectReferences
(
FNetSerializationContext& Context, |
Collect object references from quantized data | |
| void | Deserialize
(
FNetSerializationContext& Context |
Deserialize a blob that was serialized with Serialize. | |
| void | DeserializeBlob
(
FNetSerializationContext& Context |
Deserializes the state if there's a valid descriptor and state buffer. | |
| void | DeserializeCreationInfo
(
FNetSerializationContext& Context, |
Deserializes the necessary parts of the creation info so that the correct blob can be created. | |
| void | DeserializeWithObject
(
FNetSerializationContext& Context, |
Deserialize a blob that was serialized with SerializeWithObject. | |
| const FNetBlobCreationInfo & | Returns the FNetBlobCreationInfo. | ||
| TArrayView< const FNetObjectReference > | Override to return the object references that need to be exported. | ||
| TArrayView< const FNetToken > | Override to return NetTokenExports that need to be exported, mostly relevant for pre-serialized blobs. | ||
| int32 | GetRefCount () |
Returns the reference count. A blob is created with reference count zero. | |
| const FReplicationStateDescriptor * | Returns the FReplicationStateDescriptor if there is one. | ||
| bool | HasExports () |
Returns true if the blob has additional exports to add. | |
| bool | IsReliable () |
Whether the blob is reliably sent or not. | |
| void | Release () |
Removes a reference. | |
| void | Serialize
(
FNetSerializationContext& Context |
Serialize the blob. | |
| void | SerializeBlob
(
FNetSerializationContext& Context |
Serializes the state if there's a valid descriptor and state buffer. | |
| void | SerializeCreationInfo
(
FNetSerializationContext& Context, |
Serializes the necessary parts of the creation info so that the blob can be recreated on the receiving side. | |
| void | SerializeWithObject
(
FNetSerializationContext& Context, |
Serialize the blob together with/targeting a specific object knowing the NetHandle has already been serialized. | |
| void | SetState
(
const TRefCountPtr< const FReplicationStateDescriptor >& BlobDescriptor, |
Set the blob state. |
Operators
Classes
| Type | Name | Description | |
|---|---|---|---|
| FQuantizedBlobState |