Show / Hide Table of Contents

Class GamePickerList<T>

Generic version of GamePickerList. Gives access to the wrapped type of GamePickerList through reflection. Non-generic version is still supported. This happens because to obtain 'MustDeriveType', we'd need the object's instance, which is hard and inefficient to obtain. So, the generic version is introduced to wrap 'MustDeriveType' under 'T'. Now 'MustDeriveType' is easily obtainable through memberInfo.GenericTypeArguments[0].

Inheritance
System.Object
UnserializedEntry
GamePickerList
GamePickerList<T>
Implements
System.ComponentModel.INotifyPropertyChanged
ILinkable
INamed
IController
IViewController
IHasUniversalID
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IPostCloneMethodContainer
System.ICloneable
Inherited Members
GamePickerList.GetObjects<T>()
GamePickerList.GetTypes()
GamePickerList.OnCloned()
GamePickerList.EntriesChanged()
GamePickerList.NewEntry(INetObject, Object)
GamePickerList.RemovedEntry(INetObject, Object)
GamePickerList.SetSelected(Type)
GamePickerList.DoEvalType(IEnumerable<Object>)
GamePickerList.DoEvalTypes(IEnumerable<Object>)
GamePickerList.DoEvalType(Object)
GamePickerList.DoEval(Object, Boolean)
GamePickerList.ContainsType(Type)
GamePickerList.ContainsObj(Object)
GamePickerList.DescribeEntries(LocString)
GamePickerList.InlineFoldoutListLoc<T>(String, TooltipOrigin, Int32)
GamePickerList.UILinkContent()
GamePickerList.Empty()
GamePickerList.MustDeriveTypeName
GamePickerList.MustDeriveType
GamePickerList.Name
GamePickerList.MarkedUpName
GamePickerList.RequiredTag
GamePickerList.Entries
GamePickerList.InternalDescription
GamePickerList.DisplayEmptyAs
GamePickerList.DescriptionList
GamePickerList.Subscriptions
UnserializedEntry.Id
UnserializedEntry.idToEntry
UnserializedEntry.All<T>()
UnserializedEntry.GetById(Int32)
UnserializedEntry.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
UnserializedEntry.ControllerID
UnserializedEntry.PropertyChanged
Namespace: Eco.Gameplay.Civics.GameValues
Assembly: Eco.Gameplay.dll
Syntax
public class GamePickerList<T> : GamePickerList, INotifyPropertyChanged, ILinkable, INamed, IController, IViewController, IHasUniversalID, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IPostCloneMethodContainer, ICloneable
Type Parameters
Name Description
T

Constructors

GamePickerList()

Declaration
protected GamePickerList()

GamePickerList(String)

Declaration
public GamePickerList(string emptyDesc = null)
Parameters
Type Name Description
System.String emptyDesc

Properties

Values

Declaration
public IEnumerable<T> Values { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T>

Implements

System.ComponentModel.INotifyPropertyChanged
ILinkable
INamed
IController
IViewController
IHasUniversalID
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IPostCloneMethodContainer
System.ICloneable

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
CivicsTooltipLibrary.GamePickerListDescription(GamePickerList)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾