26 lines
557 B
C#
26 lines
557 B
C#
using Server.ContextMenus;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Engines.Points
|
|
{
|
|
public class LoyaltyRating : ContextMenuEntry
|
|
{
|
|
private PlayerMobile m_From;
|
|
|
|
public LoyaltyRating(PlayerMobile from)
|
|
: base(1049594)
|
|
{
|
|
m_From = from;
|
|
}
|
|
|
|
public override void OnClick()
|
|
{
|
|
if (m_From != null)
|
|
{
|
|
m_From.CloseGump(typeof(LoyaltyRatingGump));
|
|
m_From.SendGump(new LoyaltyRatingGump(m_From));
|
|
}
|
|
}
|
|
}
|
|
}
|