Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -1,17 +1,17 @@
namespace Server.Engines.MLQuests.Gumps
{
public class InfoNPCGump : BaseQuestGump
{
public InfoNPCGump( TextDefinition title, TextDefinition message )
: base( 1060668 ) // INFORMATION
{
RegisterButton( ButtonPosition.Left, ButtonGraphic.Close, 3 );
public class InfoNPCGump : BaseQuestGump
{
public InfoNPCGump(TextDefinition title, TextDefinition message)
: base(1060668) // INFORMATION
{
RegisterButton(ButtonPosition.Left, ButtonGraphic.Close, 3);
SetPageCount( 1 );
SetPageCount(1);
BuildPage();
TextDefinition.AddHtmlText( this, 160, 108, 250, 16, title, false, false, 0x2710, 0x4AC684 );
TextDefinition.AddHtmlText( this, 98, 156, 312, 180, message, false, true, 0x15F90, 0xBDE784 );
}
}
}
BuildPage();
TextDefinition.AddHtmlText(this, 160, 108, 250, 16, title, false, false, 0x2710, 0x4AC684);
TextDefinition.AddHtmlText(this, 98, 156, 312, 180, message, false, true, 0x15F90, 0xBDE784);
}
}
}