Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)

This commit is contained in:
Kamron Batman 2019-03-11 14:29:59 -07:00 • committed by GitHub
parent e748af4430
commit 513e54f70e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1094 changed files with 15913 additions and 21892 deletions

View file

@ -2,7 +2,7 @@ using Server.Gumps;
using Server.Network;
namespace Server.Items
{
{
public class MetallicHuePicker<T> : Gump
{
private CustomHuePickerCallback<T> m_Callback;
@ -27,14 +27,14 @@ namespace Server.Items
AddBackground(0, 0, 450, 450, 0x13BE);
AddBackground(10, 10, 430, 430, 0xBB8);
AddHtmlLocalized(55, 400, 200, 25, 1011036, false, false); // OKAY
AddHtmlLocalized(55, 400, 200, 25, 1011036); // OKAY
AddButton(20, 400, 4005, 4007, 1, GumpButtonType.Reply, 0);
AddButton(200, 400, 4005, 4007, 2, GumpButtonType.Reply, 0);
AddButton(20, 400, 4005, 4007, 1);
AddButton(200, 400, 4005, 4007, 2);
AddLabel(235, 400, 0, "DEFAULT");
AddHtmlLocalized(55, 25, 200, 25, 1150063, false, false); // Base/Shadow Color
AddHtmlLocalized(260, 25, 200, 25, 1150064, false, false); // Highlight Color
AddHtmlLocalized(55, 25, 200, 25, 1150063); // Base/Shadow Color
AddHtmlLocalized(260, 25, 200, 25, 1150064); // Highlight Color
for (int row = 0; row < 13; row++)
{
@ -74,4 +74,4 @@ namespace Server.Items
}
}
}
}
}