Show / Hide Table of Contents

Class PopulationGameValue<T>

Inheritance
System.Object
GameValue
GameValue<T>
PopulationGameValue<T>
PopulationAtDistrict
PopulationAtLocation
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable
Inherited Members
GameValue<T>.ValueAsObject(IContextObject)
GameValue<T>.Value(IContextObject)
GameValue<T>.Evaluate(IContextObject)
GameValue<T>.ChoosesType
GameValue.Description()
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 abstract class PopulationGameValue<T> : GameValue<T>, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable
Type Parameters
Name Description
T

Constructors

PopulationGameValue()

Declaration
protected PopulationGameValue()

Properties

PopulationType

Declaration
public SpecialResidents PopulationType { get; set; }
Property Value
Type Description
SpecialResidents

Methods

CountPopulation(IEnumerable<Deed>)

Declaration
protected int CountPopulation(IEnumerable<Deed> deeds)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Deed> deeds
Returns
Type Description
System.Int32

Description(String, String)

Declaration
protected LocString Description(string placeName, string relationDescription = null)
Parameters
Type Name Description
System.String placeName
System.String relationDescription
Returns
Type Description
LocString

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