Show / Hide Table of Contents

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>

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾