C# 클래스 Ensage.Common.Menu.PriorityChanger

파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common

공개 프로퍼티들

프로퍼티 타입 설명
AbilityToggler AbilityToggler
Dictionary uint>.Dictionary
PositionDictionary float[]>.Dictionary
SValuesDictionary uint>.Dictionary

공개 메소드들

메소드 설명
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.

메소드 상세

Add() 공개 메소드

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. ///
리턴 void

DecreasePriority() 공개 메소드

The decrease priority.
public DecreasePriority ( string itemName ) : void
itemName string /// The item name. ///
리턴 void

Draw() 공개 메소드

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. ///
리턴 void

GetPriority() 공개 메소드

The is enabled.
public GetPriority ( string itemName ) : uint
itemName string /// The item name. ///
리턴 uint

IncreasePriority() 공개 메소드

The increase priority.
public IncreasePriority ( string itemName ) : void
itemName string /// The item name. ///
리턴 void

OnReceiveMessage() 공개 메소드

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. ///
리턴 bool

PriorityChanger() 공개 메소드

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. ///
리턴 System

PriorityChanger() 공개 메소드

public PriorityChanger ( List itemList, string changerName = "", bool useAbilityToggler = false ) : System
itemList List
changerName string
useAbilityToggler bool
리턴 System

PriorityChanger() 공개 메소드

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. ///
리턴 System

Remove() 공개 메소드

The remove.
public Remove ( string itemName ) : void
itemName string /// The item name. ///
리턴 void

SetPriority() 공개 메소드

The set priority.
public SetPriority ( string itemName, uint priorityValue ) : void
itemName string /// The item name. ///
priorityValue uint /// The priority value. ///
리턴 void

UpdatePriorities() 공개 메소드

The update priorities.
public UpdatePriorities ( ) : void
리턴 void

프로퍼티 상세

AbilityToggler 공개적으로 프로퍼티

The ability toggler.
public AbilityToggler,Ensage.Common.Menu AbilityToggler
리턴 AbilityToggler

Dictionary 공개적으로 프로퍼티

The dictionary.
public Dictionary Dictionary
리턴 uint>.Dictionary

PositionDictionary 공개적으로 프로퍼티

The position dictionary.
public Dictionary PositionDictionary
리턴 float[]>.Dictionary

SValuesDictionary 공개적으로 프로퍼티

The s values dictionary.
public Dictionary SValuesDictionary
리턴 uint>.Dictionary