Show / Hide Table of Contents

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 Source

AttributeType

Describes the type of this attribute

Declaration
AttributeType AttributeType { get; }
Property Value
Type Description
AttributeType
| Improve this Doc View Source

BaseValue

The base value of the attribute, unaffected by e.g. buffs

Declaration
float BaseValue { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

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 Source

SetNumericValueChecked(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

  • Improve this Doc
  • View Source
Back to top Generated by DocFX