C# Class Entoarox.Framework.Config.ConfigMinMaxAttribute

Inheritance: Entoarox.Framework.Config.ConfigAttribute
Afficher le fichier Open project: Pathoschild/smapi-mod-dump

Méthodes publiques

Méthode Description
ConfigMinMaxAttribute ( string label, string description, int min, int max ) : System

Configs that can be accessed using IModHelperExtensions.RegisterDynamicConfig{T}(IModHelper, T, Action{T}) must use this attribute or the parent ConfigAttribute attribute on properties they wish to be dynamic. This attribute should only be used on values that are of the int type.

Method Details

ConfigMinMaxAttribute() public méthode

Configs that can be accessed using IModHelperExtensions.RegisterDynamicConfig{T}(IModHelper, T, Action{T}) must use this attribute or the parent ConfigAttribute attribute on properties they wish to be dynamic. This attribute should only be used on values that are of the int type.
public ConfigMinMaxAttribute ( string label, string description, int min, int max ) : System
label string The label to display in front of this config option.
description string The description to show when the label for this config option is hovered over, should explain what the option does.
min int The minimum value that is allowed.
max int the maximum value that is allowed.
Résultat System