Reorganizes Project (#41)

This commit is contained in:
Kamron Batman 2019-08-02 18:13:40 -07:00 committed by GitHub
parent 08bf44af9a
commit 3614a66aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3499 changed files with 79 additions and 55 deletions

View file

@ -0,0 +1,29 @@
using Server.Prompts;
namespace Server.Engines.Help
{
public class PagePrompt : Prompt
{
private 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)
{
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));
}
}
}