Table of Contents

Class AttributeSet

Namespace
ElectricDrill.SoapRpgFramework.Attributes
Assembly
com.electricdrill.soap-rpg-framework.Runtime.dll

A ScriptableObject that defines a collection of attributes for use in character systems. Attribute sets are usually used to group attributes that can be shared across different characters or classes. For example, any character of any class could have the same attribute set, including attributes like strength, dexterity, constitution, intelligence, and luck.

public class AttributeSet : ScriptableObject, IValueContainer<Attribute>
Inheritance
object
AttributeSet
Implements

Properties

Attributes

Gets a read-only list of all attributes contained in this set.

public IReadOnlyList<Attribute> Attributes { get; }

Property Value

IReadOnlyList<Attribute>

Methods

Contains(Attribute)

Checks whether the specified attribute is contained in this set.

public bool Contains(Attribute attribute)

Parameters

attribute Attribute

The attribute to check for

Returns

bool

True if the attribute is in the set, false otherwise