fix compile
This commit is contained in:
@@ -8,6 +8,8 @@ public class Aura : ModuleRules
|
||||
{
|
||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
CppStandard = CppStandardVersion.Cpp20;
|
||||
|
||||
PublicDependencyModuleNames.AddRange(new string[] {
|
||||
"Core",
|
||||
"CoreUObject",
|
||||
|
||||
@@ -104,7 +104,7 @@ void UAuraAbilitySystemComponent::ForEachAbilityDelegate(const FForEachAbilityDe
|
||||
}
|
||||
}
|
||||
|
||||
void UAuraAbilitySystemComponent::ForEachAbilityLambda(std::function<void (FGameplayAbilitySpec&)> Func)
|
||||
void UAuraAbilitySystemComponent::ForEachAbilityLambda(TFunction<void (FGameplayAbilitySpec&)> Func)
|
||||
{
|
||||
FScopedAbilityListLock ActiveScopeLock(*this);
|
||||
for (FGameplayAbilitySpec& AbilitySpec : GetActivatableAbilities())
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
void AbilityInputTagHeld(const FGameplayTag& InputTag);
|
||||
void AbilityInputTagReleased(const FGameplayTag& InputTag);
|
||||
void ForEachAbilityDelegate(const FForEachAbilityDelegate& Delegate);
|
||||
void ForEachAbilityLambda(std::function<void (FGameplayAbilitySpec&)> Func);
|
||||
void ForEachAbilityLambda(TFunction<void (FGameplayAbilitySpec&)> Func);
|
||||
|
||||
/** Receiving Effect Interception */
|
||||
virtual FActiveGameplayEffectHandle ApplyGameplayEffectSpecToSelf(const FGameplayEffectSpec& GameplayEffect, FPredictionKey PredictionKey = FPredictionKey()) override;
|
||||
|
||||
@@ -10,6 +10,8 @@ public class AuraEditorTarget : TargetRules
|
||||
Type = TargetType.Editor;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V2;
|
||||
|
||||
bOverrideBuildEnvironment = true;
|
||||
|
||||
ExtraModuleNames.AddRange( new string[] { "Aura" } );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user