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

@ -2,27 +2,28 @@ using Server.Prompts;
namespace Server.Engines.Help
{
public class PagePrompt : Prompt
{
private PageType m_Type;
public class PagePrompt : Prompt
{
private PageType m_Type;
public PagePrompt( PageType type )
{
m_Type = type;
}
public PagePrompt(PageType type)
{
m_Type = type;
}
public override void OnCancel( Mobile from )
{
from.SendLocalizedMessage( 501235, "", 0x35 ); // Help request aborted.
}
public override void OnCancel(Mobile from)
{
from.SendLocalizedMessage(501235, "", 0x35); // Help request aborted.
}
public override void OnResponse( Mobile from, string text )
{
from.SendLocalizedMessage( 501234, "", 0x35 ); /* The next available Counselor/Game Master will respond as soon as possible.
public override void OnResponse(Mobile from, string text)
{
from.SendLocalizedMessage(501234, "",
0x35); /* The next available Counselor/Game Master will respond as soon as possible.
* Please check your Journal for messages every few minutes.
*/
PageQueue.Enqueue( new PageEntry( from, text, m_Type ) );
}
}
PageQueue.Enqueue(new PageEntry(from, text, m_Type));
}
}
}