|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
GameplayEffect Specification. Tells us: -What UGameplayEffect (const data) -What Level -Who instigated. More...
Public Member Functions | |
Gameplay Effect Spec | |
| void | SetupAttributeCaptureDefinitions () |
| Helper function to initialize all of the capture definitions required by the spec. | |
| void | SetLevel (float32 InLevel) |
| void | ApplyExecutorModifiersForDefinition (UClass CalculationClass, FGameplayEffectAttributeCaptureDefinition InCaptureDef, float32 &ValueToModify) |
| float32 | CalculateModifiedDuration () |
| Helper function that returns the duration after applying relevant modifiers from the source and target ability system components. | |
| void | CalculateModifierMagnitudes () |
| Fills out the modifier magnitudes inside the Modifier Specs. | |
| void | CaptureAttributeDataFromTarget (UAbilitySystemComponent TargetAbilitySystemComponent) |
| FGameplayTagContainer | GetAllAssetTags () const |
| FGameplayTagContainer | GetAllGrantedTags () const |
| float32 | GetLevel () const |
| float32 | GetSetByCallerMagnitude (FGameplayTag DataTag, bool bWarnIfNotFound=true, float32 DefaultIfNotFound=0.000000) const |
| void | SetByCallerMagnitude (FGameplayTag DataTag, float32 Magnitude) |
| FString | ToSimpleString () const |
| void | RecaptureSourceActorTags () |
| Recaptures source actor tags of this spec without modifying anything else. | |
| float32 | GetDuration () const |
| void | SetContext (FGameplayEffectContextHandle NewEffectContextHandle) |
| void | PrintAll () const |
| void | RecaptureAttributeDataForClone (UAbilitySystemComponent OriginalASC, UAbilitySystemComponent NewASC) |
| Recapture attributes from source and target for cloning. | |
| float32 | GetChanceToApplyToTarget () const |
| FGameplayEffectContextHandle | GetContext () const |
| float32 | GetModifiedAttributeMagnitude (FGameplayAttribute Attribute) |
| float32 | GetModifierMagnitude (int ModifierIdx, bool bFactorInStackCount) const |
| float32 | GetPeriod () const |
Gameplay Effect Spec Properties | |
| int | GetStackCount () const |
| void | AddDynamicAssetTag (FGameplayTag TagToAdd) |
| int | GetCompletedTargetAttributeCapture () const |
| TArray< FGameplayAbilitySpecDef > | GetGrantedAbilitySpecs () const |
| FAngelscriptTagContainerAggregator | GetCapturedTargetTags () const |
| void | AppendDynamicAssetTags (FGameplayTagContainer ContainerToAdd) |
| int | GetCompletedSourceAttributeCapture () const |
| FAngelscriptTagContainerAggregator | GetCapturedSourceTags () const |
| int | GetDurationLocked () const |
| const FGameplayTagContainer | GetDynamicAssetTags () const |
| FGameplayTagContainer | GetDynamicGrantedTags () const |
Functions | |
| FGameplayEffectSpec & | opAssign (FGameplayEffectSpec Other) |
Public Attributes | |
Variables | |
| FGameplayEffectContextHandle | Context |
| const FGameplayTagContainer | AllAssetTags |
| const FGameplayTagContainer | AllGrantedTags |
| const FAngelscriptTagContainerAggregator | CapturedSourceTags |
| const FAngelscriptTagContainerAggregator | CapturedTargetTags |
| const float32 | ChanceToApplyToTarget |
| const int | CompletedSourceAttributeCapture |
| const int | CompletedTargetAttributeCapture |
| const UGameplayEffect | Def |
| GameplayEfect definition. The static data that this spec points to. | |
| const float32 | Duration |
| const int | DurationLocked |
| const FGameplayTagContainer | DynamicAssetTags |
| const FGameplayTagContainer | DynamicGrantedTags |
| const TArray< FGameplayAbilitySpecDef > | GrantedAbilitySpecs |
| float32 | Level |
| const float32 | Period |
| const int | StackCount |
GameplayEffect Specification. Tells us: -What UGameplayEffect (const data) -What Level -Who instigated.
FGameplayEffectSpec is modifiable. We start with initial conditions and modifications be applied to it. In this sense, it is stateful/mutable but it is still distinct from an FActiveGameplayEffect which in an applied instance of an FGameplayEffectSpec.
| void AddDynamicAssetTag | ( | FGameplayTag | TagToAdd | ) |
| void AppendDynamicAssetTags | ( | FGameplayTagContainer | ContainerToAdd | ) |
| void ApplyExecutorModifiersForDefinition | ( | UClass | CalculationClass, |
| FGameplayEffectAttributeCaptureDefinition | InCaptureDef, | ||
| float32 & | ValueToModify ) |
| float32 CalculateModifiedDuration | ( | ) |
Helper function that returns the duration after applying relevant modifiers from the source and target ability system components.
| void CalculateModifierMagnitudes | ( | ) |
Fills out the modifier magnitudes inside the Modifier Specs.
| void CaptureAttributeDataFromTarget | ( | UAbilitySystemComponent | TargetAbilitySystemComponent | ) |
| FGameplayTagContainer GetAllAssetTags | ( | ) | const |
| FGameplayTagContainer GetAllGrantedTags | ( | ) | const |
| FAngelscriptTagContainerAggregator GetCapturedSourceTags | ( | ) | const |
| FAngelscriptTagContainerAggregator GetCapturedTargetTags | ( | ) | const |
| float32 GetChanceToApplyToTarget | ( | ) | const |
| int GetCompletedSourceAttributeCapture | ( | ) | const |
| int GetCompletedTargetAttributeCapture | ( | ) | const |
| FGameplayEffectContextHandle GetContext | ( | ) | const |
| float32 GetDuration | ( | ) | const |
| int GetDurationLocked | ( | ) | const |
| const FGameplayTagContainer GetDynamicAssetTags | ( | ) | const |
| FGameplayTagContainer GetDynamicGrantedTags | ( | ) | const |
| TArray< FGameplayAbilitySpecDef > GetGrantedAbilitySpecs | ( | ) | const |
| float32 GetLevel | ( | ) | const |
| float32 GetModifiedAttributeMagnitude | ( | FGameplayAttribute | Attribute | ) |
| float32 GetModifierMagnitude | ( | int | ModifierIdx, |
| bool | bFactorInStackCount ) const |
| float32 GetPeriod | ( | ) | const |
| float32 GetSetByCallerMagnitude | ( | FGameplayTag | DataTag, |
| bool | bWarnIfNotFound = true, | ||
| float32 | DefaultIfNotFound = 0.000000 ) const |
| int GetStackCount | ( | ) | const |
| FGameplayEffectSpec & opAssign | ( | FGameplayEffectSpec | Other | ) |
| void PrintAll | ( | ) | const |
| void RecaptureAttributeDataForClone | ( | UAbilitySystemComponent | OriginalASC, |
| UAbilitySystemComponent | NewASC ) |
Recapture attributes from source and target for cloning.
| void RecaptureSourceActorTags | ( | ) |
Recaptures source actor tags of this spec without modifying anything else.
| void SetByCallerMagnitude | ( | FGameplayTag | DataTag, |
| float32 | Magnitude ) |
| void SetContext | ( | FGameplayEffectContextHandle | NewEffectContextHandle | ) |
| void SetLevel | ( | float32 | InLevel | ) |
| void SetupAttributeCaptureDefinitions | ( | ) |
Helper function to initialize all of the capture definitions required by the spec.
| FString ToSimpleString | ( | ) | const |
| const FGameplayTagContainer AllAssetTags |
| const FGameplayTagContainer AllGrantedTags |
| const FAngelscriptTagContainerAggregator CapturedSourceTags |
| const FAngelscriptTagContainerAggregator CapturedTargetTags |
| const float32 ChanceToApplyToTarget |
| const int CompletedSourceAttributeCapture |
| const int CompletedTargetAttributeCapture |
| FGameplayEffectContextHandle Context |
| const UGameplayEffect Def |
GameplayEfect definition. The static data that this spec points to.
| const float32 Duration |
| const int DurationLocked |
| const FGameplayTagContainer DynamicAssetTags |
| const FGameplayTagContainer DynamicGrantedTags |
| const TArray<FGameplayAbilitySpecDef> GrantedAbilitySpecs |
| float32 Level |
| const float32 Period |
| const int StackCount |