Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem > API/Runtime/IrisCore/Iris/ReplicationSystem/NetBlob
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNetBlobHandler
- USequentialPartialNetBlobHandler
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetBlob/NetBlobHandler.h |
| Include | #include "Iris/ReplicationSystem/NetBlob/NetBlobHandler.h" |
Syntax
UCLASS (Transient, MinimalAPI, Abstract)
class UNetBlobHandler :
public UObject ,
public INetBlobReceiver
Remarks
A UNetBlobHandler is responsible for creating and processing a single type of NetBlob. If the handler should be able to receive blobs it needs to be configured in UNetBlobHandlerDefinitions and registered to the UReplicationSystem on both the sending and receiving side.
Certain handlers such as NetRPCHandler, PartialNetObjectAttachmentHandler and NetObjectBlobHandler will be registered automatically.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddConnection
(
uint32 ConnectionId |
Called when a connection is added. For handler specific connection handling. | |
| TRefCountPtr< FNetBlob > | CreateNetBlob
(
UE::Net::ENetBlobFlags Flags |
Create a blob that the handler can process. Forwards to the virtual CreateNetBlob. | |
| UE::Net::FNetBlobType | Get the net blob type. The blob type is determined at runtime and can differ from run to run. | ||
| void | RemoveConnection
(
uint32 ConnectionId |
Called when a connection is removed. For handler specific connection handling. |