Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
using System;
using Server.ContextMenus;
namespace Server.Engines.Quests
{
public class QuestCallbackEntry : ContextMenuEntry
{
private readonly QuestCallback m_Callback;
public QuestCallbackEntry(int number, QuestCallback callback)
: this(number, -1, callback)
{
}
public QuestCallbackEntry(int number, int range, QuestCallback callback)
: base(number, range)
{
this.m_Callback = callback;
}
public override void OnClick()
{
if (this.m_Callback != null)
this.m_Callback();
}
}
}