Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetObjectFactoryRegistry.h |
| Include | #include "Iris/ReplicationSystem/NetObjectFactoryRegistry.h" |
Syntax
class FNetObjectFactoryRegistry
Remarks
Keeps track of Iris NetObjectFactory templates NetObjectFactories must all be registered before any Iris ReplicationSystem is created.
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FNetObjectFactoryId | GetFactoryIdFromName
(
FName FactoryName |
Find the FNetFactoryID that was assigned to name on registration | |
| uint32 | GetMaxBits () |
The amount of bits to serialize FNetFactoryIds with | |
| const TConstArrayView< FFactoryData > | The registered factories ready to be instantiated by the replication bridge | ||
| void | RegisterFactory
(
UClass* FactoryClass, |
Register a UNetObjectFactory class and associate with a specific name. | |
| void | SetFactoryRegistrationAllowed
(
bool bAllowed |
The engine sets this false after it created an Iris replication system since its now illegal to register new factories | |
| void | UnregisterFactory
(
FName FactoryName |
Unregister the UNetObjectFactory class associated with the name |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FFactoryData |
Constants
| Name | Description |
|---|---|
| MaxFactories | Limit how many factories can be registered |
| NetFactories |