Interface IAttribute
Attributes are used to define parameters (such as health, speed) for a character.
Namespace: GameplayAbilitySystem.Interfaces
Assembly: Assembly-CSharp-firstpass.dll
Syntax
public interface IAttribute
Properties
| Improve this Doc View SourceAttributeType
Describes the type of this attribute
Declaration
AttributeType AttributeType { get; }
Property Value
| Type | Description |
|---|---|
| AttributeType |
BaseValue
The base value of the attribute, unaffected by e.g. buffs
Declaration
float BaseValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
CurrentValue
This current value of the attribute, after application of temporary effects, e.g. buffs
Declaration
float CurrentValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
| Improve this Doc View SourceSetNumericValueChecked(IAttributeSet, ref Single)
Set the value of thie attribute
Declaration
void SetNumericValueChecked(IAttributeSet AttributeSet, ref float NewValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IAttributeSet | AttributeSet | IAttributeSet this attribute belongs to |
| System.Single | NewValue | New value of the attribute |