Table of Contents

Namespace ElectricDrill.SoapRpgFramework.Attributes

Classes

Attribute

Represents a character attribute that extends BoundedValue functionality. An attribute is a measurable characteristic such as strength, dexterity, luck, and so on. Can have a min and a max value.

AttributeMenuItems

Provides Unity Editor menu items for creating attributes.

AttributeSet

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.

AttributeSetInstance

Represents a runtime instance of an AttributeSet with actual values for each attribute. Provides methods to manipulate and access attribute values during gameplay.

AttributeSetInstanceExtensions

Extension methods for converting SerializableDictionary to AttributeSetInstance.

AttributeSetMenuItems

Provides Unity Editor menu items for creating attribute sets.

EntityAttributes

Manages the attributes of an entity. This component calculates attribute values by combining base values, flat modifiers, percentage modifiers, and spent attribute points. It requires an ElectricDrill.SoapRpgFramework.Attributes.EntityAttributes.EntityCore component on the same GameObject.

Structs

AttributeChangeInfo

Immutable structure that contains information about an attribute value change. Used to track and communicate attribute modifications across the system.

Interfaces

IHasAttributeSet

Interface for objects that expose an AttributeSet definition.