Namespace Eco.Gameplay.Civics.GameValues
Classes
Arithmetic
Compare
GamePickerList
Can store a list of IHasID's or a list of Types. A list that can be used to form UI lists of entries for the user to select from. Use GamePickerListFactory to create new instance for a base type.
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]
.
GamePickerListAlias
Special case for a list of aliases that gives some extra features, allowing watching of the full list of users.
GamePickerListFactory
Helper class for GamePickerList creation. With Create(Type) method you can create best suitable GamePickerList implementation for a base type. Use it instead of GamePickerList constructor.
GameValue
GameValue<T>
GameValueContext<T>
GameValueFlags
GameValueManager
GameValueType
Contains data about a given GameValue type, for the client to use when building its list.
GameValueTypeContext
Class for a contextually specified type.
GameValueUtils
GameValueWrapper<T>
MakeGameValue
A GameValue factory for the most used cases.
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.