![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetObjectFactoryRegistry.h>
Classes | |
| struct | FFactoryData |
Static Public Member Functions | |
| static IRISCORE_API void | RegisterFactory (UClass *FactoryClass, FName FactoryName) |
| static IRISCORE_API void | UnregisterFactory (FName FactoryName) |
| static IRISCORE_API FNetObjectFactoryId | GetFactoryIdFromName (FName FactoryName) |
| static IRISCORE_API bool | IsValidFactoryId (FNetObjectFactoryId Id) |
| static IRISCORE_API void | SetFactoryRegistrationAllowed (bool bAllowed) |
| static constexpr uint32 | GetMaxBits () |
| static const TConstArrayView< FFactoryData > | GetRegisteredFactories () |
Static Public Attributes | |
| static constexpr uint32 | MaxFactories = UE_IRIS_MAX_NETOBJECT_FACTORIES |
Keeps track of Iris NetObjectFactory templates NetObjectFactories must all be registered before any Iris ReplicationSystem is created.
|
static |
Find the FNetFactoryID that was assigned to name on registration
The amount of bits to serialize FNetFactoryIds with
|
inlinestatic |
The registered factories ready to be instantiated by the replication bridge
|
static |
|
static |
Register a UNetObjectFactory class and associate with a specific name.
The engine sets this false after it created an Iris replication system since its now illegal to register new factories
Unregister the UNetObjectFactory class associated with the name
|
staticconstexpr |
Limit how many factories can be registered