Exemplo n.º 1
0
 public AuctionSystem() : base(0x00)
 {
     Instance = this;
     if (Enabled)
     {
         CommandSystem.Register("auction", AccessLevel.Player, new CommandEventHandler(OnAuction));
         CommandSystem.Register("auctionon", AccessLevel.Player, new CommandEventHandler(OnAuctionOn));
         CommandSystem.Register("auctionoff", AccessLevel.Player, new CommandEventHandler(OnAuctionOff));
         CommandSystem.Register("auctionstatus", AccessLevel.Player, new CommandEventHandler(OnAuctionStatus));
         CommandSystem.Register("bid", AccessLevel.Player, new CommandEventHandler(OnBid));
         EventSink.Login  += EventSink_Login;
         EventSink.Logout += EventSink_Logout;
     }
 }
Exemplo n.º 2
0
 public AuctionSystem(Serial serial) : base(serial)
 {
     Instance = this;
 }
Exemplo n.º 3
0
 public AuctionTimer(AuctionSystem system) : base(TimeSpan.FromSeconds(0), TimeSpan.FromSeconds(9), 4)
 {
     m_System = system;
 }