Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)
This commit is contained in:
parent
e748af4430
commit
513e54f70e
1094 changed files with 15913 additions and 21892 deletions
|
|
@ -18,15 +18,14 @@ namespace Server.Engines.Help
|
|||
|
||||
AddPage(0);
|
||||
|
||||
AddHtmlLocalized(150, 40, 360, 40, 1062610, false, false); // <CENTER><U>Ultima Online Help Response</U></CENTER>
|
||||
AddHtmlLocalized(150, 40, 360, 40, 1062610); // <CENTER><U>Ultima Online Help Response</U></CENTER>
|
||||
|
||||
AddHtml(80, 90, 480, 290, $"{name} tells {from.Name}: {text}", true, true);
|
||||
|
||||
AddHtmlLocalized(80, 390, 480, 40, 1062611, false,
|
||||
false); // Clicking the OKAY button will remove the reponse you have received.
|
||||
AddButton(400, 417, 2074, 2075, 1, GumpButtonType.Reply, 0); // OKAY
|
||||
AddHtmlLocalized(80, 390, 480, 40, 1062611); // Clicking the OKAY button will remove the reponse you have received.
|
||||
AddButton(400, 417, 2074, 2075, 1); // OKAY
|
||||
|
||||
AddButton(475, 417, 2073, 2072, 0, GumpButtonType.Reply, 0); // CANCEL
|
||||
AddButton(475, 417, 2073, 2072, 0); // CANCEL
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, RelayInfo info)
|
||||
|
|
@ -35,4 +34,4 @@ namespace Server.Engines.Help
|
|||
m_From.SendGump(new MessageSentGump(m_From, m_Name, m_Text));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue