Table of Contents

Interface IFixedAttributeSource

Namespace
ElectricDrill.AstraRpgFramework.Attributes
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

Supplies fixed (non-class-derived) base attribute values to an EntityAttributes component. Implementations can back this with the inline FixedAttributeValues wrapper, a dedicated ScriptableObject asset, or any custom data source (save files, procedural generation, live-ops config) via SetFixedAttributeSource(IFixedAttributeSource).

public interface IFixedAttributeSource : IValueContainer<AttributeSO>
Inherited Members

Methods

GetBase(AttributeSO)

Gets the fixed base value for attribute. Only called for attributes for which Contains(T) returns true.

long GetBase(AttributeSO attribute)

Parameters

attribute AttributeSO

Returns

long