Show / Hide Table of Contents

Class Attribute

Attributes are used to define parameters (such as health, speed) for a character.

Inheritance
System.Object
Attribute
Implements
IAttribute
Namespace: GameplayAbilitySystem
Assembly: Assembly-CSharp-firstpass.dll
Syntax
public class Attribute : object, IAttribute

Properties

| Improve this Doc View Source

AttributeType

Describes the type of this attribute

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

BaseValue

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

Declaration
public 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
public 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
public 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

Implements

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