Show / Hide Table of Contents

Class GameValue

Inheritance
System.Object
GameValue
GameValue<T>
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable
Namespace: Eco.Gameplay.Civics.GameValues
Assembly: Eco.Gameplay.dll
Syntax
public abstract class GameValue : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable

Constructors

GameValue()

Declaration
protected GameValue()

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

IsWrapped

Declaration
public virtual bool IsWrapped { get; }
Property Value
Type Description
System.Boolean

ShowStatus

Declaration
public virtual bool ShowStatus { get; }
Property Value
Type Description
System.Boolean

Title

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

Methods

Description()

Declaration
public virtual LocString Description()
Returns
Type Description
LocString

Flags(IContextObject)

Declaration
public virtual GameValueFlags Flags(IContextObject context)
Parameters
Type Name Description
IContextObject context
Returns
Type Description
GameValueFlags

ValueAsObject(IContextObject)

Declaration
public abstract (object, LocString) ValueAsObject(IContextObject action)
Parameters
Type Name Description
IContextObject action
Returns
Type Description
System.ValueTuple<System.Object, LocString>

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

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