Limen Framework 0.1 Help

ALimenHintsManager

Overview

ALimenHintsManager is a subclass of ALimenGameplayManager responsible for managing hints in the game. It handles the creation, initialization, enabling, and disabling of hints based on user input or other triggers. The manager also manages the hint widget class that will be used to display the hints.

Properties

Type

Name

Access

Description

TArray<TSoftClassPtr<[ULimenHint](LimenHint.md)>>

HintClasses

EditAnywhere, Category=" Limen "

A list of hint classes that can be instantiated.

TArray<TStrongObjectPtr<[ULimenHint](LimenHint.md)>>

Hints

N/A

An array of strong pointers to the currently active hints.

TSoftClassPtr<[ULimenHintWidget](LimenHintWidget.md)>

HintWidgetClass

EditDefaultsOnly, Category=" Limen "

The class of the hint widget that will be used to display the hints.

bool

bHintsEnabled

N/A

A boolean indicating whether hints are currently enabled.

Functions

Return Type

Signature

Description

void

SetHintWidgetClass(const TSubclassOf<[ULimenHintWidget](LimenHintWidget.md)>& InClass)

Sets the class of the hint widget that will be used to display the hints.

void

InitializeHints()

Initializes all hints by creating instances and setting their properties.

void

EnableHints()

Enables all currently active hints.

void

DisableHints()

Disables all currently active hints.

bool

AreHintsEnabled() const

Returns whether hints are currently enabled.

Usage & Implementation Notes

  • The manager ensures that the hint widget class is not null before proceeding with initialization.

  • Hints are created synchronously using NewObject, and their properties are set accordingly.

  • The manager handles enabling and disabling of hints based on the state of bHintsEnabled.

  • The EndPlay function empties the array of hints to clean up resources.

22 May 2026