C# Class Ensage.Common.Menu.PriorityChanger

Afficher le fichier Open project: EnsageSharp/Ensage.Common

Méthodes publiques

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

Méthodes publiques

Méthode Description
Add ( string itemName, uint defaultValue, bool enabled = true ) : void

The add.

DecreasePriority ( string itemName ) : void

The decrease priority.

Draw ( System.Vector2 position, float width, float height, System.Vector2 mouseScreenPosition, MenuItem menuItem ) : void

The draw.

GetPriority ( string itemName ) : uint

The is enabled.

IncreasePriority ( string itemName ) : void

The increase priority.

OnReceiveMessage ( System.Utils message, System.Vector2 cursorPos, MenuItem menuItem ) : bool

The on receive message.

PriorityChanger ( List itemList, AbilityToggler abilityToggler, string changerName = "", uint defaultPriority = 4, bool useAbilityToggler = true ) : System

Initializes a new instance of the PriorityChanger struct.

PriorityChanger ( List itemList, string changerName = "", bool useAbilityToggler = false ) : System
PriorityChanger ( List itemList, uint defaultPriority, string changerName = "", bool useAbilityToggler = false ) : System

Initializes a new instance of the PriorityChanger struct.

Remove ( string itemName ) : void

The remove.

SetPriority ( string itemName, uint priorityValue ) : void

The set priority.

UpdatePriorities ( ) : void

The update priorities.

Method Details

Add() public méthode

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

DecreasePriority() public méthode

The decrease priority.
public DecreasePriority ( string itemName ) : void
itemName string /// The item name. ///
Résultat void

Draw() public méthode

The draw.
public Draw ( System.Vector2 position, float width, float height, System.Vector2 mouseScreenPosition, MenuItem menuItem ) : void
position System.Vector2 /// The position. ///
width float /// The width. ///
height float /// The height. ///
mouseScreenPosition System.Vector2 /// The mouse screen position. ///
menuItem MenuItem /// The menu item. ///
Résultat void

GetPriority() public méthode

The is enabled.
public GetPriority ( string itemName ) : uint
itemName string /// The item name. ///
Résultat uint

IncreasePriority() public méthode

The increase priority.
public IncreasePriority ( string itemName ) : void
itemName string /// The item name. ///
Résultat void

OnReceiveMessage() public méthode

The on receive message.
public OnReceiveMessage ( System.Utils message, System.Vector2 cursorPos, MenuItem menuItem ) : bool
message System.Utils /// The message. ///
cursorPos System.Vector2 /// The cursor position. ///
menuItem MenuItem /// The menu item. ///
Résultat bool

PriorityChanger() public méthode

Initializes a new instance of the PriorityChanger struct.
public PriorityChanger ( List itemList, AbilityToggler abilityToggler, string changerName = "", uint defaultPriority = 4, bool useAbilityToggler = true ) : System
itemList List /// The item list. ///
abilityToggler AbilityToggler /// The ability toggler. ///
changerName string /// The changer name. ///
defaultPriority uint /// The default Priority. ///
useAbilityToggler bool /// The use ability toggler. ///
Résultat System

PriorityChanger() public méthode

public PriorityChanger ( List itemList, string changerName = "", bool useAbilityToggler = false ) : System
itemList List
changerName string
useAbilityToggler bool
Résultat System

PriorityChanger() public méthode

Initializes a new instance of the PriorityChanger struct.
public PriorityChanger ( List itemList, uint defaultPriority, string changerName = "", bool useAbilityToggler = false ) : System
itemList List /// The item List. ///
defaultPriority uint /// The default Priority. ///
changerName string /// The changer Name. ///
useAbilityToggler bool /// The use Ability Toggler. ///
Résultat System

Remove() public méthode

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

SetPriority() public méthode

The set priority.
public SetPriority ( string itemName, uint priorityValue ) : void
itemName string /// The item name. ///
priorityValue uint /// The priority value. ///
Résultat void

UpdatePriorities() public méthode

The update priorities.
public UpdatePriorities ( ) : void
Résultat void

Property Details

AbilityToggler public_oe property

The ability toggler.
public AbilityToggler,Ensage.Common.Menu AbilityToggler
Résultat AbilityToggler

Dictionary public_oe property

The dictionary.
public Dictionary Dictionary
Résultat uint>.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 uint>.Dictionary