Class TimerTriggerConfig
Inheritance
System.Object
TimerTriggerConfig
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[NonSelectable]
public class TimerTriggerConfig : TriggerConfig, INotifyPropertyChanged, IValidity, IDescribable, IController, IViewController, IHasUniversalID
Constructors
TimerTriggerConfig()
Declaration
public TimerTriggerConfig()
Properties
HoursBetweenExecutions
Declaration
public float HoursBetweenExecutions { get; set; }
Property Value
Type |
Description |
System.Single |
|
LastTrigger
Declaration
public double LastTrigger { get; }
Property Value
Type |
Description |
System.Double |
|
NextTrigger
Declaration
public double NextTrigger { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
Description()
Declaration
public override LocString Description()
Returns
Overrides
Evaluate(IContextObject)
Declaration
protected override Eval<bool> Evaluate(IContextObject action)
Parameters
Returns
Type |
Description |
Eval<System.Boolean> |
|
Overrides
Eco.Gameplay.Civics.GameValues.GameValue<System.Boolean>.Evaluate(Eco.Core.Utils.PropertyScanning.IContextObject)
Declaration
public override LocString GetTriggerTooltip(LawSection section)
Parameters
Returns
Overrides
OnTimer(Double)
Declaration
public void OnTimer(double currentTime)
Parameters
Type |
Name |
Description |
System.Double |
currentTime |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods