MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Subsystems.h File Reference
#include "CoreMinimal.h"
#include "Mcro/Concepts.h"
#include "Mcro/AssertMacros.h"
#include "Kismet/GameplayStatics.h"

Go to the source code of this file.

Namespaces

namespace  Mcro
 
namespace  Mcro::Subsystems
 
namespace  Mcro::Subsystems::Subsystems
 

Concepts

concept  Mcro::Subsystems::CSubsystem
 
concept  Mcro::Subsystems::CEngineSubsystem
 
concept  Mcro::Subsystems::CGameInstanceSubsystem
 
concept  Mcro::Subsystems::CLocalPlayerSubsystem
 
concept  Mcro::Subsystems::CWorldSubsystem
 

Enumerations

enum class  Mcro::Subsystems::EGameInstanceFallback { Mcro::Subsystems::UseGameViewport , Mcro::Subsystems::UseFirstWorldContext }
 

Functions

template<CEngineSubsystem T>
T * Mcro::Subsystems::Subsystems::Get ()
 
template<CGameInstanceSubsystem T>
T * Mcro::Subsystems::Subsystems::Get (const UObject *worldContextObject=nullptr, EGameInstanceFallback fallback=EGameInstanceFallback::UseGameViewport, EGetWorldErrorMode errorMode=EGetWorldErrorMode::LogAndReturnNull)
 
template<CLocalPlayerSubsystem T>
T * Mcro::Subsystems::Subsystems::Get (const UObject *worldContext)
 
template<CWorldSubsystem T>
T * Mcro::Subsystems::Subsystems::Get (const UObject *worldContext, EGetWorldErrorMode errorMode=EGetWorldErrorMode::LogAndReturnNull)
 
template<CSubsystem T, typename... Args>
T & Mcro::Subsystems::Subsystems::GetChecked (Args... args)
 
template<CSubsystem T, typename... Args>
T * Mcro::Subsystems::Subsystems::GetEnsured (Args... args)
 
template<CSubsystem T>
bool Mcro::Subsystems::Subsystems::ShouldCreateSubsystem (UObject *outer)
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Subsystems.h.