Exemplo n.º 1
0
        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));
            }
        }
Exemplo n.º 2
0
 public TokunoDocksRegion() : base("Tokuno Docks", Map.Tokuno, Region.DefaultPriority, m_Bounds)
 {
     m_Region = this;
 }
Exemplo n.º 3
0
 public TokunoDocksRegion() : base("Tokuno Docks", Map.Tokuno, Region.DefaultPriority, m_Bounds)
 {
     m_Region = this;
 }
Exemplo n.º 4
0
 public TokunoDocksRegion(XmlElement xml, Map map, Region parent)
     : base(xml, map, parent)
 {
     m_Region = this;
 }