Commit to end the day.

This commit is contained in:
2025-10-17 00:00:23 -04:00
parent d5b1691a22
commit bfd2417528
58 changed files with 9371 additions and 9307 deletions

View File

@@ -25,6 +25,11 @@ void AAuraCharacterBase::BeginPlay()
}
FVector AAuraCharacterBase::GetCombatSocketLocation()
{
return Weapon->GetSocketLocation(WeaponTipSocketName);
}
void AAuraCharacterBase::InitAbilityActorInfo()
{

View File

@@ -11,3 +11,8 @@ int32 ICombatInterface::GetPlayerLevel()
{
return 0;
}
FVector ICombatInterface::GetCombatSocketLocation()
{
return FVector::ZeroVector;
}

View File

@@ -27,6 +27,10 @@ protected:
UPROPERTY(EditAnywhere, Category = Combat)
TObjectPtr<USkeletalMeshComponent> Weapon;
UPROPERTY(EditAnywhere, Category = Combat)
FName WeaponTipSocketName;
virtual FVector GetCombatSocketLocation() override;
UPROPERTY()
TObjectPtr<UAbilitySystemComponent> AbilitySystemComponent;

View File

@@ -23,4 +23,6 @@ class AURA_API ICombatInterface
// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public:
virtual int32 GetPlayerLevel();
virtual FVector GetCombatSocketLocation();
};