![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ModuleFactoryRegister.h>
Public Member Functions | |
| UE_API void | RegisterFactory (const FName TypeName, TWeakPtr< IFactoryModule > InFactory) |
| UE_API void | RegisterFactory (const uint32 TypeNameHash, TWeakPtr< IFactoryModule > InFactory) |
| UE_API void | RemoveFactory (TWeakPtr< IFactoryModule > InFactory) |
| UE_API void | Reset () |
| UE_API bool | ContainsFactory (const FName TypeName) const |
| UE_API bool | ContainsFactory (const uint32 TypeNameHash) const |
| UE_API TSharedPtr< Chaos::FModuleNetData > | GenerateNetData (const uint32 TypeNameHash, const int32 SimArrayIndex) |
Static Public Member Functions | |
| static UE_API FModuleFactoryRegister & | Get () |
| static uint32 | GetModuleHash (const FName TypeName) |
Protected Member Functions | |
| FModuleFactoryRegister ()=default | |
Protected Attributes | |
| TMap< int32, TWeakPtr< IFactoryModule > > | RegisteredFactoriesByName |
|
protecteddefault |
| TSharedPtr< Chaos::FModuleNetData > Chaos::FModuleFactoryRegister::GenerateNetData | ( | const uint32 | TypeNameHash, |
| const int32 | SimArrayIndex | ||
| ) |
|
static |
| void Chaos::FModuleFactoryRegister::RegisterFactory | ( | const FName | TypeName, |
| TWeakPtr< IFactoryModule > | InFactory | ||
| ) |
| void Chaos::FModuleFactoryRegister::RegisterFactory | ( | const uint32 | TypeNameHash, |
| TWeakPtr< IFactoryModule > | InFactory | ||
| ) |
| void Chaos::FModuleFactoryRegister::RemoveFactory | ( | TWeakPtr< IFactoryModule > | InFactory | ) |
| void Chaos::FModuleFactoryRegister::Reset | ( | ) |
|
protected |