Table of Contents

Interface IFixedStatSource

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

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

public interface IFixedStatSource : IValueContainer<StatSO>
Inherited Members

Methods

GetBase(StatSO)

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

long GetBase(StatSO stat)

Parameters

stat StatSO

Returns

long