第一次提交

This commit is contained in:
不明不惑
2026-03-03 01:23:02 +08:00
commit 3e434877e8
1053 changed files with 102411 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GGA_GameplayAbility.h"
#include "GCS_CombatAbility.generated.h"
class IGCS_CombatEntityInterface;
class UGCS_CombatSystemComponent;
/**
* Base combat ability.
* 基础战斗能力。
*/
UCLASS(Abstract)
class GENERICCOMBATSYSTEM_API UGCS_CombatAbility : public UGGA_GameplayAbility
{
GENERATED_BODY()
protected:
UFUNCTION(BlueprintCallable, BlueprintPure, Category="GCS|Ability")
UGCS_CombatSystemComponent* GetCombatSystemFromActorInfo() const;
UFUNCTION(BlueprintCallable, BlueprintPure, Category="GCS|Ability")
UObject* GetCombatEntityFromActorInfo() const;
UFUNCTION(BlueprintCallable, BlueprintPure, Category="GCS|Ability")
TScriptInterface<IGCS_CombatEntityInterface> GetCombatEntityInterfaceFromActorInfo() const;
};