2025-10-15 18:50:55 -04:00
|
|
|
// Copyright Echo Devgroup
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
|
|
|
#include "UI/WidgetController/AttributeMenuWidgetController.h"
|
|
|
|
|
#include "UI/WidgetController/OverlayWidgetController.h"
|
2025-10-18 11:28:42 -04:00
|
|
|
#include "Data/CharacterClassInfo.h"
|
2025-10-15 18:50:55 -04:00
|
|
|
#include "AuraAbilitySystemLibrary.generated.h"
|
|
|
|
|
|
2025-10-18 11:28:42 -04:00
|
|
|
class UAbilitySystemComponent;
|
|
|
|
|
class UAttributeMenuWidgetController;
|
|
|
|
|
class UOverlayWidgetController;
|
2025-10-15 18:50:55 -04:00
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
UCLASS()
|
|
|
|
|
class AURA_API UAuraAbilitySystemLibrary : public UBlueprintFunctionLibrary
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
UFUNCTION(BlueprintPure, Category="AuraAbilitySystem|Controller")
|
|
|
|
|
static UOverlayWidgetController* GetOverlayWidgetController(const UObject* WorldContextObject);
|
|
|
|
|
|
|
|
|
|
UFUNCTION(BlueprintPure, Category="AuraAbilitySystem|Controller")
|
|
|
|
|
static UAttributeMenuWidgetController* GetAttributeMenuWidgetController(const UObject* WorldContextObject);
|
2025-10-18 11:28:42 -04:00
|
|
|
|
|
|
|
|
UFUNCTION(BlueprintCallable, Category="AuraAbilitySystem|Attributes")
|
|
|
|
|
static void InitializeDefaultAttributes(const UObject* WorldContextObject, ECharacterClass CharacterClass, float Level, UAbilitySystemComponent* ASC);
|
2025-11-02 06:40:35 -05:00
|
|
|
|
|
|
|
|
UFUNCTION(BlueprintCallable, Category="AuraAbilitySystem|Attributes")
|
|
|
|
|
static void GiveStartupAbilities(const UObject* WorldContextObject, UAbilitySystemComponent* ASC);
|
2025-10-15 18:50:55 -04:00
|
|
|
|
2025-11-09 16:27:22 -05:00
|
|
|
UFUNCTION(BlueprintCallable, Category="AuraAbilitySystem|Attributes")
|
|
|
|
|
static UCharacterClassInfo* GetCharacterClassInfo(const UObject* WorldContextObject);
|
|
|
|
|
|
2025-10-15 18:50:55 -04:00
|
|
|
};
|