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

@ -20,13 +20,12 @@ namespace Server.Guilds
AddPage(0);
AddBackground(0, 0, 350, 170, 0x2422);
AddHtmlLocalized(25, 20, 300, 45, 1062946, 0x0, true,
false); // <center>You have been invited to join a guild! (Warning: Accepting will make you attackable!)</center>
AddHtml(25, 75, 300, 25, $"<center>{guild.Name}</center>", true, false);
AddButton(265, 130, 0xF7, 0xF8, 1, GumpButtonType.Reply, 0);
AddButton(195, 130, 0xF2, 0xF1, 0, GumpButtonType.Reply, 0);
AddButton(20, 130, 0xD2, 0xD3, 2, GumpButtonType.Reply, 0);
AddHtmlLocalized(45, 130, 150, 30, 1062943, 0x0, false, false); // <i>Ignore Guild Invites</i>
AddHtmlLocalized(25, 20, 300, 45, 1062946, 0x0, true); // <center>You have been invited to join a guild! (Warning: Accepting will make you attackable!)</center>
AddHtml(25, 75, 300, 25, $"<center>{guild.Name}</center>", true);
AddButton(265, 130, 0xF7, 0xF8, 1);
AddButton(195, 130, 0xF2, 0xF1, 0);
AddButton(20, 130, 0xD2, 0xD3, 2);
AddHtmlLocalized(45, 130, 150, 30, 1062943, 0x0); // <i>Ignore Guild Invites</i>
}
@ -62,4 +61,4 @@ namespace Server.Guilds
}
}
}
}
}