public FishingRewardGump(Mobile from, int currentHue, string name, int itemid, FishingPoleTicket fpt) : base(100, 100) { m_From = from; fprg = fpt; m_CurrentHue = currentHue; m_Name = name; m_Itemid = itemid; }
public override void OnDoubleClick( Mobile from ) { fpt = this; if (!IsChildOf(from.Backpack) && !IsChildOf(from.BankBox)) { from.SendLocalizedMessage(1042001); // That must be in your pack for you to use it. } else if (from.SendGump(new FishingRewardGump())) Delete(); }
public override void OnDoubleClick(Mobile from) { fpt = this; if (!IsChildOf(from.Backpack) && !IsChildOf(from.BankBox)) { from.SendLocalizedMessage(1042001); // That must be in your pack for you to use it. } else if (from.SendGump(new FishingRewardGump())) { Delete(); } }