Show / Hide Table of Contents

Class NamedVariable

A form that allows users to give a name to specified float game value. These names are bieng replaced with their definition during evaluation process of the formula defined in parent TextFormula.

Inheritance
System.Object
NamedVariable
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Civics.GameValues
Assembly: Eco.Gameplay.dll
Syntax
public class NamedVariable : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Constructors

NamedVariable()

Declaration
public NamedVariable()

Fields

OnPropertyChanged

Declaration
public Action OnPropertyChanged
Field Value
Type Description
System.Action

Properties

ControllerID

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

Definition

Declaration
public GameValue<float> Definition { get; set; }
Property Value
Type Description
GameValue<System.Single>

Name

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

Events

PropertyChanged

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

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged

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