Show / Hide Table of Contents

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
GameAction
AggregatableAction
BankAccountPermissionsChanged
CharacterLevelUp
ChatSent
CleanupTreeDebris
DemographicChange
DropOrPickupGarbage
EducationAction
ElectionAction
FirstLogin
InteractAction
ItemCraftedAction
MoneyGameAction
ObjectExplosion
PlantSeeds
Play
PolluteAir
ReputationTransfer
SkillAction
TimerBase
WorkOrderAction
Implements
IController
IViewController
IHasUniversalID
IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
Inherited Members
GameAction.StatKey
GameAction.AuthIgnored
GameAction._id
GameAction.Time
GameAction.SettlementScopes
GameAction.MarkedUpName
GameAction.StatType
GameAction.ControllerID
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

Implements

IController
IViewController
IHasUniversalID
IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat

Extension Methods

GameActionExtensions.AffectedDeeds(GameAction)
GameActionExtensions.Fill(GameAction, MultiblockActionContext, WrappedWorldPosition3i, Item)
GameActionExtensions.Fill(GameAction, User, Item, WrappedWorldPosition3i, Nullable<AccessType>, Item)
GameActionManager.TryPerform(GameAction, User)
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
☀
☾