|
| template<CDerivedFrom< IModuleInterface > M> |
| FString | Mcro::Modules::InferModuleName () |
| | Infer the module name from an input type. This exists because there's a very reliable naming convention for class names representing modules. The inference is removing the first letter Hungarian type notation and removing "Module" or "ModuleInterface" from the end.
|
| |
| template<CDerivedFrom< IModuleInterface > M> |
| TMaybe< M * > | Mcro::Modules::TryLoadUnrealModule () |
| | Try to load a module and return an IError when that fails for any reason. Module name is inferred from type described in.
|
| |
| template<CDerivedFrom< IModuleInterface > M> |
| M & | Mcro::Modules::LoadUnrealModule () |
| | Load a module or crash with IError if it cannot be done for any reason Module name is inferred from type described in.
|
| |
| template<CDerivedFrom< IModuleInterface > M> |
| M * | Mcro::Modules::GetUnrealModulePtr () |
| | Shorthand for FModuleManager::GetModulePtr with the name inferred from given type.
|
| |
| template<CDerivedFrom< IModuleInterface > M> |
| M & | Mcro::Modules::GetUnrealModule () |
| | Get an already loaded unreal module. If for any reason it's not loaded, crash the app.
|
| |
- Copyright
- This Source Code is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file You can obtain one at https://mozilla.org/MPL/2.0/
- Author
- David Mórász
- Date
- 2025
Definition in file Modules.h.