Show / Hide Table of Contents

Class CivicCondition

Inheritance
System.Object
CivicConditionBase
CivicCondition
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IDescribable
ICustomValidity
IValidity
Inherited Members
CivicConditionBase.UndercutAllPriorities
CivicConditionBase.ControllerID
CivicConditionBase.PropertyChanged
Namespace: Eco.Gameplay.Civics.Constitutional
Assembly: Eco.Gameplay.dll
Syntax
public class CivicCondition : CivicConditionBase, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IDescribable, ICustomValidity, IValidity

Constructors

CivicCondition()

Declaration
public CivicCondition()

Properties

AllTypes

Declaration
public override IEnumerable<Type> AllTypes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>
Overrides
CivicConditionBase.AllTypes

ChangingCivicObjects

Declaration
public GamePickerList<IProposable> ChangingCivicObjects { get; set; }
Property Value
Type Description
GamePickerList<IProposable>

PerformingCivicActions

Declaration
public GamePickerList<CivicAction> PerformingCivicActions { get; set; }
Property Value
Type Description
GamePickerList<CivicAction>

Methods

AppliesTo(CivicAction)

Returns true if this civic condition matches the given action (either because it applies to the type of civic action, or its acting on a container of the given type of civic types.)

Declaration
public override bool AppliesTo(CivicAction action)
Parameters
Type Name Description
CivicAction action
Returns
Type Description
System.Boolean
Overrides
CivicConditionBase.AppliesTo(CivicAction)

AppliesTo(Type)

Returns true if this civic condition matches the given action (either because it applies to the type of civic action, or its acting on a container of the given type of civic types.)

Declaration
public override bool AppliesTo(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean
Overrides
CivicConditionBase.AppliesTo(Type)

Description()

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

Valid()

Declaration
public Result Valid()
Returns
Type Description
Result

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IDescribable
ICustomValidity
IValidity

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾