![]() |
MCRO
C++23 utilities for Unreal Engine.
|
A modular feature which allows other modules to inject their own UI into error windows displayed to the user. More...
#include <ErrorManager.h>
Public Member Functions | |
virtual bool | SupportsError (IErrorRef const &error, FDisplayErrorArgs const &displayArgs) |
virtual TSharedPtr< SWidget > | PreErrorDisplay (IErrorRef const &error, FDisplayErrorArgs const &displayArgs) |
virtual TSharedPtr< SWidget > | PostErrorDisplay (IErrorRef const &error, FDisplayErrorArgs const &displayArgs) |
![]() | |
void | Register (this Implementation &&self) |
Call this function in implementation constructors. | |
virtual | ~TAutoModularFeature () |
Additional Inherited Members | |
![]() | |
using | Feature |
using | AutoModularFeature |
![]() | |
static auto | OnRegistered () -> TBelatedEventDelegate< void(Feature *)> & |
This event is triggered when an implementation of this feature is created. | |
static FORCEINLINE FName | FeatureName () |
Get the name of the feature. | |
static FORCEINLINE int32 | ImplementationCount () |
static FORCEINLINE Feature & | Get () |
Get the first existing implementation of this feature. If there are no implementations a check will fail. | |
static FORCEINLINE Feature * | TryGet (const int32 index) |
Get the first existing implementation of this feature. Return nullptr If there are no implementations. | |
static FORCEINLINE TArray< Feature * > | GetAll () |
static FORCEINLINE TFuture< Feature * > | GetBelated () |
Get the first implementation once it is registered, or return the first implementation immediately if there's already one registered. | |
A modular feature which allows other modules to inject their own UI into error windows displayed to the user.
Definition at line 62 of file ErrorManager.h.
|
inlinevirtual |
Definition at line 67 of file ErrorManager.h.
|
inlinevirtual |
Definition at line 66 of file ErrorManager.h.
|
inlinevirtual |
Definition at line 65 of file ErrorManager.h.