| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayModMagnitudeCalculation.h |
Include |
#include "GameplayModMagnitudeCalculation.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Blueprintable, Abstract)
class UGameplayModMagnitudeCalculation : public UGameplayEffectCalculation
Class used to perform custom gameplay effect modifier calculations, either via blueprint or native code
Name | Description | ||
---|---|---|---|
|
bAllowNonNetAuthorityDependencyRegistration |
Whether the calculation allows non-net authorities to register the external dependency multi-cast delegate or not; Effectively whether clients are allowed to perform the custom calculation themselves or not |
Name | Description | |
---|---|---|
|
UGameplayModMagnitudeCalculation ( |
Name | Description | ||
---|---|---|---|
|
float |
CalculateBaseMagnitude ( |
Calculate the base magnitude of the gameplay effect modifier, given the specified spec. |
|
GetCapturedAttributeMagnitude ( |
Convenience method to get attribute magnitude during a CalculateMagnitude call |
|
|
FOnExternalG... |
GetExternalModifierDependencyMulticast ( |
If the magnitude resultant from the custom calculation depends on game code-specific conditions that are not under the purview of the ability system, this method should be overridden to provide a multicast delegate that will fire when the reliant conditions change, so that the magnitude can be recalculated and updated. |
|
ShouldAllowNonNetAuthorityDependencyRegistration() |
Simple accessor to bAllowNonNetAuthorityDependencyRegistration with some validation: Read the comment on that variable for usage!!! |