tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
Defines the default key value to be added when using the ModConfig UI to add elements to a Dictionary. Works the same as System.ComponentModel.DefaultValueAttribute, but can't inherit from it because it would break when deserializing any data structure annotated with it. This attribute compliments DefaultListValueAttribute when used annotating a Dictionary. More...
Public Member Functions | |
DefaultDictionaryKeyValueAttribute (bool value) | |
DefaultDictionaryKeyValueAttribute (byte value) | |
DefaultDictionaryKeyValueAttribute (char value) | |
DefaultDictionaryKeyValueAttribute (double value) | |
DefaultDictionaryKeyValueAttribute (float value) | |
DefaultDictionaryKeyValueAttribute (int value) | |
DefaultDictionaryKeyValueAttribute (long value) | |
DefaultDictionaryKeyValueAttribute (object value) | |
DefaultDictionaryKeyValueAttribute (short value) | |
DefaultDictionaryKeyValueAttribute (string value) | |
DefaultDictionaryKeyValueAttribute (Type type, string value) | |
override bool | Equals (object obj) |
override int | GetHashCode () |
Protected Member Functions | |
void | SetValue (object value) |
Properties | |
virtual object | Value [get] |
Private Attributes | |
object | value |
Defines the default key value to be added when using the ModConfig UI to add elements to a Dictionary. Works the same as System.ComponentModel.DefaultValueAttribute, but can't inherit from it because it would break when deserializing any data structure annotated with it. This attribute compliments DefaultListValueAttribute when used annotating a Dictionary.
Definition at line 160 of file ConfigAttributes.cs.
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | Type | type, |
string | value | ||
) |
Definition at line 163 of file ConfigAttributes.cs.
References Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.value.
Referenced by Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.Equals().
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | char | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | byte | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | short | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | int | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | long | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | float | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | double | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | bool | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | string | value | ) |
Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute | ( | object | value | ) |
override bool Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.Equals | ( | object | obj | ) |
Definition at line 185 of file ConfigAttributes.cs.
References Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute(), and Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.Value.
override int Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.GetHashCode | ( | ) |
|
protected |
Definition at line 203 of file ConfigAttributes.cs.
References Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.value.
|
private |
Definition at line 162 of file ConfigAttributes.cs.
Referenced by Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.DefaultDictionaryKeyValueAttribute(), and Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.SetValue().
|
get |
Definition at line 183 of file ConfigAttributes.cs.
Referenced by Terraria.ModLoader.Config.DefaultDictionaryKeyValueAttribute.Equals().