Esempio n. 1
0
 private void SendMessageTo(Mobile m, int message)
 {
     if (Minister != null)
     {
         Minister.SayTo(m, message);
     }
     else
     {
         m.SendLocalizedMessage(message);
     }
 }
Esempio n. 2
0
 public override void OnClick()
 {
     if (List.ContainsKey(Player))
     {
         Minister.SayTo(Player, 1151724, 1150); // I don't have a trade order available right now.  Try again in a few minutes or try another Trade Minister.
     }
     else if (!CityTradeSystem.HasTrade(Player))
     {
         Player.SendGump(new InternalTradeOrderGump(Player as PlayerMobile, Minister));
         List[Player] = new ExpireTimer(Player);
     }
 }