第一次提交
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user