MaxHealth

NOTE ON MUTABLE: This is only done so that [UAbilitySystemTestAttributeSet](API\Plugins\GameplayAbilities\UAbilitySystemTestAttributeSet) can be initialized directly in GameplayEffectsTest.cpp without doing a const_cast in 100+ places.

Windows
MacOS
Linux

Syntax

[UPROPERTY](Programming/UnrealArchitecture/Reference/Properties)(EditAnywhere, BlueprintReadWrite, Replicated, Category="AttributeTest",
          Meta=(HideFromModifiers))
mutable float MaxHealth

Remarks

NOTE ON MUTABLE: This is only done so that UAbilitySystemTestAttributeSet can be initialized directly in GameplayEffectsTest.cpp without doing a const_cast in 100+ places. Mutable is not required and should never be used on normal attribute sets.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss