public static void Initialize() { if (Core.HS) { Region reg = new TokunoDocksRegion(); reg.Register(); SeaMarketRegion reg1 = new SeaMarketRegion(Map.Felucca); SeaMarketRegion reg2 = new SeaMarketRegion(Map.Trammel); reg1.Register(); reg2.Register(); SeaMarketRegion.SetRegions(reg1, reg2); CommandSystem.Register("RestrictBoats", AccessLevel.GameMaster, new CommandEventHandler(SeaMarketRegion.SetRestriction_OnCommand)); //CommandSystem.Register("GetBoatInfo", AccessLevel.GameMaster, new CommandEventHandler(SeaMarketRegion.GetBoatInfo_OnCommand)); } }
public TokunoDocksRegion() : base("Tokuno Docks", Map.Tokuno, Region.DefaultPriority, m_Bounds) { m_Region = this; }
public TokunoDocksRegion(XmlElement xml, Map map, Region parent) : base(xml, map, parent) { m_Region = this; }