|
| template<CEngineSubsystem T> |
| T * | Mcro::Subsystems::Subsystems::Get () |
| | Helper for getting a subsystem, the internal boilerplate will be chosen based on the type of subsystem T inherits from. Required arguments may vary depending on the type of subsystem.
|
| |
| template<CGameInstanceSubsystem T> |
| T * | Mcro::Subsystems::Subsystems::Get (const UObject *worldContextObject=nullptr, EGameInstanceFallback fallback=EGameInstanceFallback::UseGameViewport, EGetWorldErrorMode errorMode=EGetWorldErrorMode::LogAndReturnNull) |
| | Helper for getting a subsystem, the internal boilerplate will be chosen based on the type of subsystem T inherits from. Required arguments may vary depending on the type of subsystem.
|
| |
| template<CLocalPlayerSubsystem T> |
| T * | Mcro::Subsystems::Subsystems::Get (const UObject *worldContext) |
| | Helper for getting a subsystem, the internal boilerplate will be chosen based on the type of subsystem T inherits from. Required arguments may vary depending on the type of subsystem.
|
| |
| template<CWorldSubsystem T> |
| T * | Mcro::Subsystems::Subsystems::Get (const UObject *worldContext, EGetWorldErrorMode errorMode=EGetWorldErrorMode::LogAndReturnNull) |
| | Helper for getting a subsystem, the internal boilerplate will be chosen based on the type of subsystem T inherits from. Required arguments may vary depending on the type of subsystem.
|
| |
| template<CSubsystem T, typename... Args> |
| T & | Mcro::Subsystems::Subsystems::GetChecked (Args... args) |
| | Helper for getting a subsystem, the internal boilerplate will be chosen based on the type of subsystem T inherits from. Required arguments may vary depending on the type of subsystem. This is a checked version so if any steps fail to produce the target subsystem the program may crash.
|
| |
| template<CSubsystem T, typename... Args> |
| T * | Mcro::Subsystems::Subsystems::GetEnsured (Args... args) |
| | Helper for getting a subsystem, the internal boilerplate will be chosen based on the type of subsystem T inherits from. Required arguments may vary depending on the type of subsystem. This is an ensured version so if any steps fail to produce the target subsystem an ensure may be hit.
|
| |
| template<CSubsystem T> |
| bool | Mcro::Subsystems::Subsystems::ShouldCreate (UObject *outer) |
| | Helper for checking if some other subsystem should be created. Useful when you want to make a subsystem which should only be created if some other subsystem should be also created.
|
| |
- 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 Subsystems.h.