Show / Hide Table of Contents

Class Key<T>

A single type-safe key with a name.

Inheritance
Object
Key
Key<T>
ColorKey
MultipleChoiceKey
SliderFloatKey
SliderIntKey
TextKey
ToggleKey
TupleFloatKey
TupleIntKey
Inherited Members
Key.Name
Key.Description
Key.KeyType
Key.OnWindow(ModSettingsWindow, Single, Single, Int32)
Key.OnRefreshWindow(BaseScreenComponent)
Key.OnSaveWindow(BaseScreenComponent)
Key.Make(KeyType)
Key.Join<T>(T[])
Key.TrySplit<T>(String, Int32, T[])
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport.ModSettings
Assembly: Assembly-CSharp.dll
Syntax
public abstract class Key<T> : Key
Type Parameters
Name Description
T

Properties

| Improve this Doc View Source

TextValue

Declaration
public sealed override string TextValue { get; set; }
Property Value
Type Description
String
Overrides
Key.TextValue
| Improve this Doc View Source

Value

The value of this key.

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

Methods

| Improve this Doc View Source

Deserialize(String)

Declaration
protected abstract void Deserialize(string text)
Parameters
Type Name Description
String text
| Improve this Doc View Source

IsValueEqual(T)

Declaration
protected abstract bool IsValueEqual(T value)
Parameters
Type Name Description
T value
Returns
Type Description
Boolean
| Improve this Doc View Source

OnSaveWindow(BaseScreenComponent, out Boolean)

Declaration
public sealed override void OnSaveWindow(BaseScreenComponent control, out bool hasChanged)
Parameters
Type Name Description
BaseScreenComponent control
Boolean hasChanged
Overrides
Key.OnSaveWindow(BaseScreenComponent, out Boolean)
| Improve this Doc View Source

Serialize()

Declaration
protected virtual string Serialize()
Returns
Type Description
String
| Improve this Doc View Source

ToObject()

Declaration
public sealed override object ToObject()
Returns
Type Description
Object
Overrides
Key.ToObject()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX