ability system component and attribute set

This commit is contained in:
ghostie 2025-08-31 14:06:55 -05:00
parent 8a585c3a64
commit af3da182c4
7 changed files with 51 additions and 3 deletions

View File

@ -9,7 +9,8 @@
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Engine"
"Engine",
"GameplayAbilities"
]
}
],
@ -20,6 +21,10 @@
"TargetAllowList": [
"Editor"
]
},
{
"Name": "GameplayAbilities",
"Enabled": true
}
]
}

View File

@ -10,7 +10,7 @@ public class Aura : ModuleRules
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput" });
PrivateDependencyModuleNames.AddRange(new string[] { });
PrivateDependencyModuleNames.AddRange(new string[] { "GameplayAbilities", "GameplayTags", "GameplayTasks" });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });

View File

@ -0,0 +1,5 @@
// Copyright; GhostPacket Games
#include "AbilitySystem/AuraAbilitySystemComponent.h"

View File

@ -0,0 +1,5 @@
// Copyright; GhostPacket Games
#include "AbilitySystem/AuraAttributeSet.h"

View File

@ -5,5 +5,5 @@
AAuraPlayerState::AAuraPlayerState()
{
NetUpdateFrequency = 100.f;
SetNetUpdateFrequency(100.f);
}

View File

@ -0,0 +1,16 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "AbilitySystemComponent.h"
#include "AuraAbilitySystemComponent.generated.h"
/**
*
*/
UCLASS()
class AURA_API UAuraAbilitySystemComponent : public UAbilitySystemComponent
{
GENERATED_BODY()
};

View File

@ -0,0 +1,17 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "AttributeSet.h"
#include "AuraAttributeSet.generated.h"
/**
*
*/
UCLASS()
class AURA_API UAuraAttributeSet : public UAttributeSet
{
GENERATED_BODY()
};