Interface IHasBonuses
Implemented by types that provide bonuses. Leaf sources (Talent, PluginModule) back this with a System.Collections.Generic.List<> so setup can add bonuses. Aggregate sources (User, WorldObject) compute Bonuses from their sub-sources. All iteration, application, and level resolution is handled by BonusManager — implementors just define the Bonuses property.
Namespace: Eco.Gameplay.Bonuses
Assembly: Eco.Gameplay.dll
Syntax
public interface IHasBonuses
Properties
Bonuses
Declaration
IEnumerable<Bonus> Bonuses { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Bonus> |