Interface IHasUserAggregatedAmount
Interface meant for handling aggregated amounts using AggregateUserAmountManager
Namespace: Eco.Gameplay.Civics.Economy
Assembly: Eco.Gameplay.dll
Syntax
public interface IHasUserAggregatedAmount : IHasUniversalID
Examples
Check WorkParty for an example implementation.
Methods
OnUserAggregateAmountDue(User, Single)
Process the final aggregated amount for the given user.
Declaration
void OnUserAggregateAmountDue(User user, float amount)
Parameters
Type | Name | Description |
---|---|---|
User | user | The targeted user reference. |
System.Single | amount | The final amount to be applied after aggregating for Eco.Gameplay.Civics.Economy.AggregatedAmount.Delay seconds |