Formats UO Content (#201)

This commit is contained in:
Kamron Batman 2020-08-27 18:30:38 -07:00 • committed by GitHub
parent 86b7b3aed1
commit ad3775c4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3249 changed files with 431083 additions and 440981 deletions

View file

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