Class AggregatableAction
This is base class for all actions which can be grouped for optimization reasons. It already generates GetGroupingKey via reflection based on attributes and config of stats.
Inheritance
System.Object
AggregatableAction
Implements
Inherited Members
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
public abstract class AggregatableAction : GameAction, IController, IViewController, IHasUniversalID, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat
Constructors
AggregatableAction()
Declaration
protected AggregatableAction()
Properties
Count
Declaration
public virtual float Count { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
AggregateFrom(IAggregatableStat)
Declaration
public virtual void AggregateFrom(IAggregatableStat stat)
Parameters
Type | Name | Description |
---|---|---|
IAggregatableStat | stat |