Show / Hide Table of Contents

Class GameValueTypeContext

Class for a contextually specified type.

Inheritance
System.Object
GameValueType
GameValueTypeContext
Implements
INamed
IContextValue
IController
IViewController
IHasUniversalID
Inherited Members
GameValueType.Type
GameValueType.ChoosesType
GameValueType.ContextRequirements
GameValueType.Name
GameValueType.MarkedUpName
GameValueType.Description
GameValueType.Category
GameValueType.ControllerID
Namespace: Eco.Gameplay.Civics.GameValues
Assembly: Eco.Gameplay.dll
Syntax
public class GameValueTypeContext : GameValueType, INamed, IContextValue, IController, IViewController, IHasUniversalID

Constructors

GameValueTypeContext()

Declaration
public GameValueTypeContext()

Fields

EnumVal

Declaration
public int EnumVal
Field Value
Type Description
System.Int32

Prop

Declaration
public PropertyInfo Prop
Field Value
Type Description
System.Reflection.PropertyInfo

Properties

CanAutoAssign

Declaration
public bool CanAutoAssign { get; set; }
Property Value
Type Description
System.Boolean

GameValueFlags

Declaration
public GameValueFlags GameValueFlags { get; set; }
Property Value
Type Description
GameValueFlags

Negated

Declaration
public bool Negated { get; set; }
Property Value
Type Description
System.Boolean

Methods

CanFill(Type)

Declaration
public bool CanFill(Type containedType)
Parameters
Type Name Description
System.Type containedType
Returns
Type Description
System.Boolean

Clone()

Declaration
public GameValueTypeContext Clone()
Returns
Type Description
GameValueTypeContext

GetValue(IContextObject)

Declaration
public object GetValue(IContextObject context)
Parameters
Type Name Description
IContextObject context
Returns
Type Description
System.Object

MakeContext(Type)

Declaration
public IGameValueContext MakeContext(Type targetType)
Parameters
Type Name Description
System.Type targetType
Returns
Type Description
IGameValueContext

Implements

INamed
IContextValue
IController
IViewController
IHasUniversalID

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