A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UHintManager Class ReferenceBlueprintable

Manager that provides functionality for managing hint activation events. More...

#include <HintManager.h>

Inheritance diagram for UHintManager:
[legend]

Public Member Functions

 UHintManager ()
 
 DECLARE_EVENT_HANDLER (UInitializationEvent)
 
APlayerControllerGetPrivateOwner () 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

APlayerControllerPrivateOwner
 UPROPERTY()
 

Detailed Description

Manager that provides functionality for managing hint activation events.

UCLASS(Blueprintable)

Definition at line 18 of file HintManager.h.

Member Typedef Documentation

◆ THandler

using UBaseManager::THandler = TFunction<void(UBaseEvent*)>
privateinherited

Definition at line 56 of file BaseManager.h.

◆ THandlerKey

using UBaseManager::THandlerKey = UClass*
privateinherited

Definition at line 55 of file BaseManager.h.

◆ THandlers

using UBaseManager::THandlers = std::unordered_map<THandlerKey, THandler, THandlerHash, THandlerComp>
privateinherited

Definition at line 74 of file BaseManager.h.

Constructor & Destructor Documentation

◆ UHintManager()

UHintManager::UHintManager ( )

Definition at line 7 of file HintManager.cpp.

Member Function Documentation

◆ DECLARE_EVENT_HANDLER()

UHintManager::DECLARE_EVENT_HANDLER ( UInitializationEvent )

◆ GENERATED_BODY()

UHintManager::GENERATED_BODY ( )
private

◆ GetPrivateOwner()

APlayerController * UBaseManager::GetPrivateOwner ( ) const
inlineinherited

Definition at line 47 of file BaseManager.h.

Here is the caller graph for this function:

◆ HandleEvent()

void UBaseManager::HandleEvent ( UBaseEvent * Event)
inherited

Definition at line 11 of file BaseManager.cpp.

◆ HandleEvent_Impl()

void UBaseManager::HandleEvent_Impl ( class UBaseEvent * Event)
protectedinherited

Definition at line 24 of file BaseManager.cpp.

◆ HintActivated()

void UHintManager::HintActivated ( bool Activate)

This function is called when a hint is activated or deactivated. Broadcasts UHintActivatedEvent and OnHintActivated events.

Parameters
ActivateIndicates whether the hint is being activated.

UFUNCTION()

Definition at line 12 of file HintManager.cpp.

Here is the caller graph for this function:

◆ SendEvent()

template<typename TEventType , typename... TInitializeArgs>
void UBaseManager::SendEvent ( TInitializeArgs... Arguments)
inlineinherited

Definition at line 40 of file BaseManager.h.

◆ SetPrivateOwner()

void UBaseManager::SetPrivateOwner ( APlayerController * Owner)
inlineinherited

Definition at line 46 of file BaseManager.h.

Member Data Documentation

◆ Handlers

THandlers UBaseManager::Handlers
protectedinherited

Definition at line 77 of file BaseManager.h.

◆ OnHintActivated

FOnHintActivated UHintManager::OnHintActivated
BlueprintAssignable

Event delegate for hint activation.

UPROPERTY(BlueprintAssignable)

Definition at line 45 of file HintManager.h.

◆ PrivateOwner

APlayerController* UBaseManager::PrivateOwner
privateinherited

UPROPERTY()

Definition at line 53 of file BaseManager.h.


The documentation for this class was generated from the following files: