Files
2026-03-03 01:23:02 +08:00

22 lines
487 B
C++

// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#include "Attributes/GGA_AttributeSet.h"
#include "GGA_AbilitySystemComponent.h"
UGGA_AttributeSet::UGGA_AttributeSet()
{
}
UWorld* UGGA_AttributeSet::GetWorld() const
{
const UObject* Outer = GetOuter();
check(Outer);
return Outer->GetWorld();
}
UGGA_AbilitySystemComponent* UGGA_AttributeSet::GetGGA_AbilitySystemComponent() const
{
return Cast<UGGA_AbilitySystemComponent>(GetOwningAbilitySystemComponent());
}