Server.Gumps.AdminGump.AddPageButton C# (CSharp) Méthode

AddPageButton() public méthode

public AddPageButton ( int x, int y, int buttonID, string text, AdminGumpPage page ) : void
x int
y int
buttonID int
text string
page AdminGumpPage
Résultat void
		public void AddPageButton( int x, int y, int buttonID, string text, AdminGumpPage page, params AdminGumpPage[] subPages )
		{
			bool isSelection = ( m_PageType == page );

			for ( int i = 0; !isSelection && i < subPages.Length; ++i )
				isSelection = ( m_PageType == subPages[i] );

			AddSelectedButton( x, y, buttonID, text, isSelection );
		}