Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UNetObjectFactory
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SubObjectDetachedFromReplication
(
const FDestroyedContext& Context |
Iris/ReplicationSystem/NetObjectFactory.h | ||
virtual void SubObjectDetachedFromReplication
(
const FDetachContext& Context, |
Optional callback triggered when a subobject will be detached from the replication system and potentially destroyed by it's factory. | Iris/ReplicationSystem/NetObjectFactory.h |
SubObjectDetachedFromReplication(const FDestroyedContext &)
| Name | SubObjectDetachedFromReplication |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/NetObjectFactory.h |
| Include Path | #include "Iris/ReplicationSystem/NetObjectFactory.h" |
virtual void SubObjectDetachedFromReplication
(
const FDestroyedContext & Context
)
SubObjectDetachedFromReplication(const FDetachContext &, const FSubObjectDetachContext &)
Description
Optional callback triggered when a subobject will be detached from the replication system and potentially destroyed by it's factory. Both static and dynamic subobjects will be passed to this function. Note that this callback is called on remotes (clients) only.
| Name | SubObjectDetachedFromReplication |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/NetObjectFactory.h |
| Include Path | #include "Iris/ReplicationSystem/NetObjectFactory.h" |
virtual void SubObjectDetachedFromReplication
(
const FDetachContext & Context,
const FSubObjectDetachContext & SubObjectContext
)
Parameters
| Name | Remarks |
|---|---|
| Context | Gives access to the subobject that is no longer replicated. |
| SubObjectContext | Gives access to the rootobject of the detached subobject |