C# Класс Ensage.Common.Menu.AbilityToggler

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Dictionary bool>.Dictionary
PositionDictionary float[]>.Dictionary
SValuesDictionary bool>.Dictionary

Открытые методы

Метод Описание
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.

Описание методов

AbilityToggler() публичный Метод

Initializes a new instance of the AbilityToggler struct.
public AbilityToggler ( bool>.Dictionary abilityDictionary ) : System
abilityDictionary bool>.Dictionary /// The ability dictionary. ///
Результат System

Add() публичный Метод

The add.
public Add ( string name, bool defaultValue = true ) : void
name string /// The name. ///
defaultValue bool /// The default value. ///
Результат void

Add() публичный Метод

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. ///
Результат void

IsEnabled() публичный Метод

The is enabled.
public IsEnabled ( string name ) : bool
name string /// The name. ///
Результат bool

Remove() публичный Метод

The remove.
public Remove ( string name ) : void
name string /// The name. ///
Результат void

Описание свойств

Dictionary публичное свойство

The dictionary.
public Dictionary Dictionary
Результат bool>.Dictionary

PositionDictionary публичное свойство

The position dictionary.
public Dictionary PositionDictionary
Результат float[]>.Dictionary

SValuesDictionary публичное свойство

The s values dictionary.
public Dictionary SValuesDictionary
Результат bool>.Dictionary