コード例 #1
0
 protected override void OnTarget(Mobile from, object targ)
 {
     if (targ is Mobile)
     {
         SendGump.GumpInvoke(from, (Mobile)targ, m_Args);
     }
     else
     {
         from.SendMessage("You cannot send a gump that.");
     }
 }
コード例 #2
0
 protected override void OnTarget(Mobile from, object targ)
 {
     if (targ is Mobile)
     {
         SendGump.GumpInvoke(from, (Mobile)targ, m_Args);
     }
     else
     {
         from.SendMessage("Target a Mobile");
     }
 }