Files
The-Forging/Server/ContextMenus/PaperdollEntry.cs
T

21 lines
372 B
C#
Raw Normal View History

2026-06-19 00:00:16 -04:00
namespace Server.ContextMenus
{
public class PaperdollEntry : ContextMenuEntry
{
private readonly Mobile m_Mobile;
public PaperdollEntry(Mobile m)
: base(6123, 18)
{
m_Mobile = m;
}
public override void OnClick()
{
if (m_Mobile.CanPaperdollBeOpenedBy(Owner.From))
{
m_Mobile.DisplayPaperdollTo(Owner.From);
}
}
}
}