C# Class RoadNamer.Managers.SavedOptionManager

Afficher le fichier Open project: PropaneDragon/RoadNamer Class Usage Examples

Méthodes publiques

Méthode Description
Instance ( ) : SavedOptionManager
LoadOptions ( ) : void

Load all options from the disk.

SaveOptions ( ) : void

Saves all options to the disk. Make sure you've updated the options first.

SetCheckBoxOptions ( RoadCheckBoxOption options ) : void

Sets all internal checkbox option values for saving.

SetDropdownOptions ( RoadDropdownOption options ) : void

Sets all internal slider option values for saving.

SetInstance ( SavedOptionManager optionManager ) : void

Change the instance used for the options.

SetSliderOptions ( RoadSliderOption options ) : void

Sets all internal slider option values for saving.

Method Details

Instance() public static méthode

public static Instance ( ) : SavedOptionManager
Résultat SavedOptionManager

LoadOptions() public static méthode

Load all options from the disk.
public static LoadOptions ( ) : void
Résultat void

SaveOptions() public static méthode

Saves all options to the disk. Make sure you've updated the options first.
public static SaveOptions ( ) : void
Résultat void

SetCheckBoxOptions() public méthode

Sets all internal checkbox option values for saving.
public SetCheckBoxOptions ( RoadCheckBoxOption options ) : void
options RoadCheckBoxOption Checkbox options which are going to be saved to disk
Résultat void

SetDropdownOptions() public méthode

Sets all internal slider option values for saving.
public SetDropdownOptions ( RoadDropdownOption options ) : void
options RoadDropdownOption Slider options which are going to be saved to disk
Résultat void

SetInstance() public static méthode

Change the instance used for the options.
public static SetInstance ( SavedOptionManager optionManager ) : void
optionManager SavedOptionManager The SavedOptionManager to replace the existing manager with.
Résultat void

SetSliderOptions() public méthode

Sets all internal slider option values for saving.
public SetSliderOptions ( RoadSliderOption options ) : void
options RoadSliderOption Slider options which are going to be saved to disk
Résultat void