C# Class Ensage.Common.Menu.AbilityToggler

Afficher le fichier Open project: EnsageSharp/Ensage.Common Class Usage Examples

Méthodes publiques

Свойство Type Description
Dictionary bool>.Dictionary
PositionDictionary float[]>.Dictionary
SValuesDictionary bool>.Dictionary

Méthodes publiques

Méthode Description
AbilityToggler ( bool>.Dictionary abilityDictionary ) : System

Initializes a new instance of the AbilityToggler struct.

Add ( string name, bool defaultValue = true ) : void

The add.

Add ( string name, string textureName, bool defaultValue = true ) : void

You cannot add duplicates with this method, use Add(name, defaultValue) instead

IsEnabled ( string name ) : bool

The is enabled.

Remove ( string name ) : void

The remove.

Method Details

AbilityToggler() public méthode

Initializes a new instance of the AbilityToggler struct.
public AbilityToggler ( bool>.Dictionary abilityDictionary ) : System
abilityDictionary bool>.Dictionary /// The ability dictionary. ///
Résultat System

Add() public méthode

The add.
public Add ( string name, bool defaultValue = true ) : void
name string /// The name. ///
defaultValue bool /// The default value. ///
Résultat void

Add() public méthode

You cannot add duplicates with this method, use Add(name, defaultValue) instead
public Add ( string name, string textureName, bool defaultValue = true ) : void
name string /// The name. ///
textureName string /// The texture name. ///
defaultValue bool /// The default value. ///
Résultat void

IsEnabled() public méthode

The is enabled.
public IsEnabled ( string name ) : bool
name string /// The name. ///
Résultat bool

Remove() public méthode

The remove.
public Remove ( string name ) : void
name string /// The name. ///
Résultat void

Property Details

Dictionary public_oe property

The dictionary.
public Dictionary Dictionary
Résultat bool>.Dictionary

PositionDictionary public_oe property

The position dictionary.
public Dictionary PositionDictionary
Résultat float[]>.Dictionary

SValuesDictionary public_oe property

The s values dictionary.
public Dictionary SValuesDictionary
Résultat bool>.Dictionary