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; } }
public AuctionSystem(Serial serial) : base(serial) { Instance = this; }
public AuctionTimer(AuctionSystem system) : base(TimeSpan.FromSeconds(0), TimeSpan.FromSeconds(9), 4) { m_System = system; }