Show / Hide Table of Contents

Class TriggerConfig

Inheritance
System.Object
GameValue
GameValue<System.Boolean>
TriggerConfig
SelectString
SelectTriggerConfig
TimerTriggerConfig
Implements
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable
IController
IViewController
IHasUniversalID
Inherited Members
GameValue<Boolean>.ValueAsObject(IContextObject)
GameValue<Boolean>.Value(IContextObject)
GameValue<Boolean>.Evaluate(IContextObject)
GameValue<Boolean>.ChoosesType
GameValue.Description()
GameValue.Flags(IContextObject)
GameValue.Title
GameValue.IsWrapped
GameValue.ShowStatus
GameValue.ControllerID
GameValue.PropertyChanged
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
[NonSelectable]
public abstract class TriggerConfig : GameValue<bool>, INotifyPropertyChanged, IValidity, IDescribable, IController, IViewController, IHasUniversalID

Constructors

TriggerConfig()

Declaration
public TriggerConfig()

TriggerConfig(Type, PropertyInfo)

Declaration
public TriggerConfig(Type type, PropertyInfo prop)
Parameters
Type Name Description
System.Type type
System.Reflection.PropertyInfo prop

Fields

cachedProperty

Declaration
protected PropertyInfo cachedProperty
Field Value
Type Description
System.Reflection.PropertyInfo

Properties

DynamicTitle

Declaration
public string DynamicTitle { get; }
Property Value
Type Description
System.String

PropDisplayName

Declaration
protected string PropDisplayName { get; set; }
Property Value
Type Description
System.String

PropName

Declaration
protected string PropName { get; }
Property Value
Type Description
System.String

PropNameBacker

Declaration
public string PropNameBacker { get; protected set; }
Property Value
Type Description
System.String

TypeToConfig

Declaration
protected Type TypeToConfig { get; set; }
Property Value
Type Description
System.Type

Methods

GetTriggerTooltip(LawSection)

Declaration
public virtual LocString GetTriggerTooltip(LawSection section)
Parameters
Type Name Description
LawSection section
Returns
Type Description
LocString

GetVal(IContextObject)

Declaration
protected object GetVal(IContextObject context)
Parameters
Type Name Description
IContextObject context
Returns
Type Description
System.Object

Matches(Type, PropertyInfo)

Declaration
public bool Matches(Type type, PropertyInfo prop)
Parameters
Type Name Description
System.Type type
System.Reflection.PropertyInfo prop
Returns
Type Description
System.Boolean

MatchesDerived(Type, PropertyInfo)

Declaration
public bool MatchesDerived(Type type, PropertyInfo prop)
Parameters
Type Name Description
System.Type type
System.Reflection.PropertyInfo prop
Returns
Type Description
System.Boolean

Implements

System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable
IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
GameValueUtils.TryLoc(GameValue<Boolean>, FormattableString, IContextObject, User)
GameValueUtils.IsSimpleBool(GameValue<Boolean>)
GameValueUtils.IsSimpleTrue(GameValue<Boolean>)
GameValueUtils.IsSimpleFalse(GameValue<Boolean>)
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
☀
☾