Native class
FGBAGameplayEffectReferencerHandler#
Handlers for attribute renames on Gameplay Effect CDO.
List of Attributes properties:
- [x] Duration Magnitude > Attribute Based Magnitude > Backing Attribute > Attribute to Capture
- [x] Modifiers (FGameplayModifierInfo.Attribute)
- [x] Attribute Based Magnitude calculation type > Backing Attribute > Attribute to Capture
- [x] Gameplay Cues > Magnitude Attribute
- [x] Tags > Remove Gameplay Effect Query > Modifying Attribute
- [ ] Immunity > Granted Application Immunity Query > Modifying Attribute
Internal structs#
-
public
Data holder for GE Modifier properties that needs an update
-
Data holder for cache map, representing a reference to a FGameplayAttribute property in a GE DefaultObject
Internal enums#
-
public
Methods#
-
publicstatic TSharedPtr<IGBAAttributeReferencerHandler>Create()
-
virtual boolHandleAttributeRename(const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessages -
virtual boolHandlePreCompile(const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload -
virtual voidOnPostCompile(const FString& InPackageName
-
virtual voidOnPreCompile(const FString& InPackageName
-
protectedstatic boolBuildEffectCueMagnitudeAttributeReference(const FGameplayEffectCue& InEffectCue,
FAttributeReference& OutAttributeReference -
static boolBuildEffectQueryAttributeReference(const FGameplayEffectQuery& InEffectQuery,
FAttributeReference& OutAttributeReference -
static boolBuildModifierInfoAttributeReference(const FGameplayModifierInfo& InModifier,
FAttributeReference& OutAttributeReferenceParses and returns an "Attribute Reference" for the given struct found in a Gameplay Effect CDO.
-
static boolBuildModifierMagnitudeAttributeReference(const FGameplayEffectModifierMagnitude& InMagnitude,
FAttributeReference& OutAttributeReference -
FAttributeBasedFloat*GetAttributeBasedFloatFromContainer(FGameplayEffectModifierMagnitude* InModifierMagnitude
-
template<typename Predicate>
inline boolGetCachedAttributeByPredicate(const FAssetIdentifier& InAssetIdentifier,
FAttributeReference& OutAttributeReference,
Predicate InPred -
static FStringGetClassDefaultName(const FString& InName
-
virtual boolUpdateCues(UGameplayEffect* InEffectCDO,
const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessages -
virtual boolUpdateDuration(UGameplayEffect* InEffectCDO,
const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessages -
virtual boolUpdateEffectQuery(const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
EAttributeReferenceType InReferenceType,
const FGBAAttributeReferencerPayload& InPayload,
const FText& InMessageText,
FGameplayAttribute& OutModifyingAttribute,
TArray<TSharedRef<FTokenizedMessage>>& OutMessagesCommon update code shared between Tags Remove Effect Query and Immunity Granted Application Query
-
virtual boolUpdateImmunityEffectQuery(UGameplayEffect* InEffectCDO,
const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessages -
virtual boolUpdateModifiers(UGameplayEffect* InEffectCDO,
const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessagesUpdates a Gameplay Effect CDO and changes property references for an Attribute from OldPropertyName to NewPropertyName.
-
virtual boolUpdateModifiersBackingAttribute(UGameplayEffect* InEffectCDO,
const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessages -
virtual boolUpdateRemoveGameplayEffectQuery(UGameplayEffect* InEffectCDO,
const UBlueprint* InBlueprint,
const FAssetIdentifier& InAssetIdentifier,
const FGBAAttributeReferencerPayload& InPayload,
TArray<TSharedRef<FTokenizedMessage>>& OutMessages -
publicvirtual
Fields#
-
protectedTMap<FAssetIdentifier, TArray<FAttributeReference>> AttributesCacheMap