Native class
FGBAAttributeSetSpecBase#
class
FGBAAttributeSetSpecBase :
public FAutomationSpecBase
Internal structs#
-
protected
Methods#
-
publicinlineFGBAAttributeSetSpecBase(const FString& InName
-
protectedstatic inline FGameplayModifierInfo&AddModifier(UGameplayEffect* Effect,
FProperty* Property,
EGameplayModOp::Type Op,
const FScalableFloat& Magnitude -
inline boolApplyGameplayEffect(UAbilitySystemComponent* ASC,
const FString& EffectLoadPath,
const float Level = 1.f -
static inline UWorld*CreateWorld(uint64& OutInitialFrameCounter
-
static inline FGameplayAttributeGetAttributeProperty(const UClass* InClass,
const FName& InPropertyName -
inline floatGetClampedExpectedValue(const FAttributeTestDefinition& InMinAttributeDef,
const FAttributeTestDefinition& InMaxAttributeDef,
const float InValue -
static inline UGBATestsStorageSubsystem&GetStorage()
-
inline TMap<FName, FGameplayAttribute>GetStorageTestMap(const FString& InEventName
Returns a map with keys as expected storage keys, and value the expected attribute to be set with the payload
-
static inline boolHasAttributeSet(const UAbilitySystemComponent* ASC,
const TSubclassOf<UAttributeSet> AttributeClass -
static inline UDataTable*StaticLoadDataTable(const FString& InPackageName
-
static inline voidTeardownWorld(UWorld* InWorld,
const uint64 InFrameCounter -
inline voidTestAttribute(const FName& InAttributePropertyName,
const UClass* InAttributesSetClass = nullptr -
inline voidTestAttribute(const FName& InAttributePropertyName,
const float InExpectedValue,
const UClass* InAttributesSetClass = nullptr -
inline voidTestAttributeClamping(const FAttributeTestDefinition& InAttributeDef,
const FAttributeTestDefinition& InMinAttributeDef,
const FAttributeTestDefinition& InMaxAttributeDef -
static inline voidTickWorld(UWorld* InWorld,
float Time
Fields#
-
protectedstatic constexpr const TCHAR* FixtureCharacterLoadPath = TEXT("/BlueprintAttributesTests/Fixtures/BP_Attributes_Test_Character.BP_Attributes_Test_Character_C")
-
uint64 InitialFrameCounter = 0
-
ACharacter* TestActor = nullptr
-
UAbilitySystemComponent* TestASC = nullptr
-
UGBAAttributeSetBlueprintBase* TestAttributeSet = nullptr
-
TSubclassOf<UAttributeSet> TestAttributeSetClass = nullptr
-
UWorld* World = nullptr