Class TriggerConfig
Inheritance
System.Object
TriggerConfig
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[NonSelectable]
public abstract class TriggerConfig : GameValue<bool>, INotifyPropertyChanged, IValidity, IDescribable, IController, IViewController, IHasUniversalID
Constructors
TriggerConfig()
Declaration
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
Declaration
public virtual LocString GetTriggerTooltip(LawSection section)
Parameters
Returns
GetVal(IContextObject)
Declaration
protected object GetVal(IContextObject context)
Parameters
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
Extension Methods