Show / Hide Table of Contents

Class DaysActive

Inheritance
System.Object
GameValue
GameValue<System.Single>
DaysActive
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 DaysActive : GameValue<float>, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable

Constructors

DaysActive()

Declaration
public DaysActive()

Properties

Citizen

Declaration
[CanAutoAssign]
public GameValue<User> Citizen { get; set; }
Property Value
Type Description
GameValue<User>

HoursRequired

Declaration
public GameValue<float> HoursRequired { get; set; }
Property Value
Type Description
GameValue<System.Single>

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(Type, String)

Declaration
public static DaysActive Make(Type type, string propertyName)
Parameters
Type Name Description
System.Type type
System.String propertyName
Returns
Type Description
DaysActive

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
☀
☾