Show / Hide Table of Contents

Class WorldAge

Inheritance
System.Object
GameValue
GameValue<System.Single>
WorldAge
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable
Inherited Members
GameValue<Single>.ValueAsObject(IContextObject)
GameValue<Single>.Value(IContextObject)
GameValue<Single>.ChoosesType
GameValue.Flags(IContextObject)
GameValue.Title
GameValue.IsWrapped
GameValue.ShowStatus
GameValue.ControllerID
GameValue.PropertyChanged
Namespace: Eco.Gameplay.Civics.GameValues.Values
Assembly: Eco.Gameplay.dll
Syntax
public class WorldAge : GameValue<float>, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable

Constructors

WorldAge()

Declaration
public WorldAge()

Properties

AgeFormat

Declaration
public TimeUnits AgeFormat { get; set; }
Property Value
Type Description
TimeUnits

Methods

Description()

Declaration
public override LocString Description()
Returns
Type Description
LocString
Overrides
GameValue.Description()

Evaluate(IContextObject)

Declaration
protected override Eval<float> Evaluate(IContextObject context)
Parameters
Type Name Description
IContextObject context
Returns
Type Description
Eval<System.Single>
Overrides
Eco.Gameplay.Civics.GameValues.GameValue<System.Single>.Evaluate(Eco.Core.Utils.PropertyScanning.IContextObject)

Make(TimeUnits)

Declaration
public static WorldAge Make(TimeUnits worldAgeFormat)
Parameters
Type Name Description
TimeUnits worldAgeFormat
Returns
Type Description
WorldAge

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
GameValueUtils.NonZero(GameValue<Single>)
GameValueUtils.NullOrZero(GameValue<Single>)
GameValueUtils.IsNegative(GameValue<Single>)
GameValueUtils.IsZero(GameValue<Single>)
GameValueUtils.IsConstant(GameValue<Single>, Single)
GameValueUtils.TryGetConstant(GameValue<Single>, out Single)
GameValueUtils.FailNullSafe<TEvalReturn, TEvalParam>(GameValue, Eval<TEvalParam>, String)
GameValueUtils.Missing<TEvalReturn>(GameValue, String)
GameValueUtils.DescribeNullSafe(GameValue)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾