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

The menu.
상속: Ensage.Common.Menu.Draw.DraggableItem
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CachedMenuCount int
Children List
Items List

Private Properties

프로퍼티 타입 설명
ActivateCommonMenu void
Game_OnWndProc void
InitMenuState void
Menu System
ObjectMgr_OnAddEntity void
OnDraw void
RecursiveSaveAll void
SaveAll void
SetFontStyle Menu
SetHeroTogglers void
UnloadMenuState void

공개 메소드들

메소드 설명
AddItem ( MenuItem item ) : MenuItem

The add item.

AddSubMenu ( Menu subMenu ) : Menu

The add sub menu.

AddToMainMenu ( ) : void

The add to main menu.

Drawing_OnDraw ( EventArgs args ) : void

The drawing_ on draw.

GetMenu ( string assemblyname, string menuname ) : Menu

The get menu.

GetValueGlobally ( string assemblyname, string menuname, string itemname, string submenu = null ) : MenuItem

The get value globally.

Item ( string name, bool makeChampionUniq = false ) : MenuItem

The item.

Menu ( string displayName, string name, bool isRootMenu = false, string textureName = null, bool showTextWithTexture = false ) : System

Initializes a new instance of the Menu class.

RemoveFromMainMenu ( ) : void

The remove from main menu.

RemoveSubMenu ( string name ) : void

The remove sub menu.

SendMessage ( uint key, System.Utils message ) : void

The send message.

SetFontColor ( SharpDX.Color fontColor ) : Menu

Sets custom text color

SubMenu ( string name ) : Menu

The sub menu.

보호된 메소드들

메소드 설명
IsInside ( System.Vector2 position ) : bool

The is inside.

OnReceiveMessage ( System.Utils message, System.Vector2 cursorPos, uint key, WndEventArgs args = null ) : void

The on receive message.

비공개 메소드들

메소드 설명
ActivateCommonMenu ( ) : void

The activate common menu.

Game_OnWndProc ( WndEventArgs args ) : void

The game_ on wnd proc.

InitMenuState ( string assemblyName ) : void

The init menu state.

Menu ( ) : System

Initializes static members of the Menu class.

ObjectMgr_OnAddEntity ( EntityEventArgs args ) : void

The object mgr_ on add entity.

OnDraw ( EventArgs args ) : void

The on draw.

RecursiveSaveAll ( byte[]>.Dictionary &dics ) : void

The recursive save all.

SaveAll ( ) : void

The save all.

SetFontStyle ( FontStyle fontStyle = FontStyle.Regular, SharpDX.Color fontColor = null ) : Menu
SetHeroTogglers ( ) : void

The set hero togglers.

UnloadMenuState ( ) : void

The unload menu state.

메소드 상세

AddItem() 공개 메소드

The add item.
public AddItem ( MenuItem item ) : MenuItem
item MenuItem /// The item. ///
리턴 MenuItem

AddSubMenu() 공개 메소드

The add sub menu.
public AddSubMenu ( Menu subMenu ) : Menu
subMenu Menu /// The sub menu. ///
리턴 Menu

AddToMainMenu() 공개 메소드

The add to main menu.
public AddToMainMenu ( ) : void
리턴 void

Drawing_OnDraw() 공개 메소드

The drawing_ on draw.
public Drawing_OnDraw ( EventArgs args ) : void
args System.EventArgs /// The args. ///
리턴 void

GetMenu() 공개 정적인 메소드

The get menu.
public static GetMenu ( string assemblyname, string menuname ) : Menu
assemblyname string /// The assembly name. ///
menuname string /// The menu name. ///
리턴 Menu

GetValueGlobally() 공개 정적인 메소드

The get value globally.
public static GetValueGlobally ( string assemblyname, string menuname, string itemname, string submenu = null ) : MenuItem
assemblyname string /// The assembly name. ///
menuname string /// The menu name. ///
itemname string /// The item name. ///
submenu string /// The submenu. ///
리턴 MenuItem

IsInside() 보호된 메소드

The is inside.
protected IsInside ( System.Vector2 position ) : bool
position System.Vector2 /// The position. ///
리턴 bool

Item() 공개 메소드

The item.
public Item ( string name, bool makeChampionUniq = false ) : MenuItem
name string /// The name. ///
makeChampionUniq bool /// The make champion unique. ///
리턴 MenuItem

Menu() 공개 메소드

Initializes a new instance of the Menu class.
public Menu ( string displayName, string name, bool isRootMenu = false, string textureName = null, bool showTextWithTexture = false ) : System
displayName string /// The display name. ///
name string /// The name. ///
isRootMenu bool /// The is root menu. ///
textureName string /// The texture name. ///
showTextWithTexture bool /// The show text with texture. ///
리턴 System

OnReceiveMessage() 보호된 메소드

The on receive message.
protected OnReceiveMessage ( System.Utils message, System.Vector2 cursorPos, uint key, WndEventArgs args = null ) : void
message System.Utils /// The message. ///
cursorPos System.Vector2 /// The cursor position. ///
key uint /// The key. ///
args WndEventArgs /// The args. ///
리턴 void

RemoveFromMainMenu() 공개 메소드

The remove from main menu.
public RemoveFromMainMenu ( ) : void
리턴 void

RemoveSubMenu() 공개 메소드

The remove sub menu.
public RemoveSubMenu ( string name ) : void
name string /// The name. ///
리턴 void

SendMessage() 공개 정적인 메소드

The send message.
public static SendMessage ( uint key, System.Utils message ) : void
key uint /// The key. ///
message System.Utils /// The message. ///
리턴 void

SetFontColor() 공개 메소드

Sets custom text color
public SetFontColor ( SharpDX.Color fontColor ) : Menu
fontColor SharpDX.Color /// The font color. ///
리턴 Menu

SubMenu() 공개 메소드

The sub menu.
public SubMenu ( string name ) : Menu
name string /// The name. ///
리턴 Menu

프로퍼티 상세

CachedMenuCount 공개적으로 프로퍼티

The cached menu count.
public int CachedMenuCount
리턴 int

Children 공개적으로 프로퍼티

The children.
public List Children
리턴 List

Items 공개적으로 프로퍼티

The items.
public List Items
리턴 List