A Demo Project for the UnrealEngineSDK
|
Manager that provides functionality for managing hint activation events. More...
#include <HintManager.h>
Public Member Functions | |
UHintManager () | |
DECLARE_EVENT_HANDLER (UInitializationEvent) | |
APlayerController * | GetPrivateOwner () const |
void | HandleEvent (UBaseEvent *Event) |
void | HintActivated (bool Activate) |
This function is called when a hint is activated or deactivated. Broadcasts UHintActivatedEvent and OnHintActivated events. | |
template<typename TEventType , typename... TInitializeArgs> | |
void | SendEvent (TInitializeArgs... Arguments) |
void | SetPrivateOwner (APlayerController *Owner) |
Public Attributes | |
FOnHintActivated | OnHintActivated |
Event delegate for hint activation. | |
Protected Member Functions | |
void | HandleEvent_Impl (class UBaseEvent *Event) |
Protected Attributes | |
THandlers | Handlers |
Private Types | |
using | THandler = TFunction<void(UBaseEvent*)> |
using | THandlerKey = UClass* |
using | THandlers = std::unordered_map<THandlerKey, THandler, THandlerHash, THandlerComp> |
Private Member Functions | |
GENERATED_BODY () | |
Private Attributes | |
APlayerController * | PrivateOwner |
UPROPERTY() | |
Manager that provides functionality for managing hint activation events.
UCLASS(Blueprintable)
Definition at line 18 of file HintManager.h.
|
privateinherited |
Definition at line 56 of file BaseManager.h.
|
privateinherited |
Definition at line 55 of file BaseManager.h.
|
privateinherited |
Definition at line 74 of file BaseManager.h.
UHintManager::UHintManager | ( | ) |
Definition at line 7 of file HintManager.cpp.
UHintManager::DECLARE_EVENT_HANDLER | ( | UInitializationEvent | ) |
|
private |
|
inlineinherited |
|
inherited |
Definition at line 11 of file BaseManager.cpp.
|
protectedinherited |
Definition at line 24 of file BaseManager.cpp.
void UHintManager::HintActivated | ( | bool | Activate | ) |
This function is called when a hint is activated or deactivated. Broadcasts UHintActivatedEvent and OnHintActivated events.
Activate | Indicates whether the hint is being activated. |
UFUNCTION()
Definition at line 12 of file HintManager.cpp.
|
inlineinherited |
Definition at line 40 of file BaseManager.h.
|
inlineinherited |
Definition at line 46 of file BaseManager.h.
|
protectedinherited |
Definition at line 77 of file BaseManager.h.
|
BlueprintAssignable |
Event delegate for hint activation.
UPROPERTY(BlueprintAssignable)
Definition at line 45 of file HintManager.h.
|
privateinherited |
UPROPERTY()
Definition at line 53 of file BaseManager.h.