Limen Framework 0.1 Help

ULimenStaminaAttribute

Overview

ULimenStaminaAttribute is a class that extends ULimenAttributeBase to manage a character's stamina. It initializes with default values and provides an initialization method to set up the attribute within the game world.

Properties

Type

Name

Access

Description

float

MaxValue

Public

The maximum value of the stamina attribute, initialized to 100.

float

InitialValue

Public

The initial value of the stamina attribute when a character is spawned, also set to 100.

float

RechargeRate

Public

The rate at which stamina regenerates over time, set to 5.

FString

DevelopmentName

Public

A development name for the attribute used in debugging and logging.

FText

DisplayName

Public

The display name of the attribute shown in the user interface.

FText

Category

Public

The category under which the attribute is grouped in the user interface.

Functions

Return Type

Signature

Description

void

Initialize(AActor* InOwner)

Initializes the stamina attribute for a given actor, calling the base class's Initialize method.

Usage & Implementation Notes

  • Threading Constraints: None.

  • Replication Requirements: Not explicitly mentioned in the code; ensure that any changes to this attribute are replicated if necessary.

  • Memory Lifetime Management: The attribute is managed by the game engine, and its lifetime is tied to the actor it is attached to.

  • Initialization Dependencies: Depends on ULimenAttributeBase for initialization.

22 May 2026