示例#1
0
        public static void Initialize()
        {
            if (TramInstance == null)
            {
                TramInstance = new LegendaryCartographer();
                TramInstance.MoveToWorld(new Point3D(3005, 811, 0), Map.Trammel);
                TramInstance.Direction = Direction.West;
            }

            if (FelInstance == null)
            {
                FelInstance = new LegendaryCartographer();
                FelInstance.MoveToWorld(new Point3D(3005, 811, 0), Map.Felucca);
                FelInstance.Direction = Direction.West;
            }
        }
示例#2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            if (Map == Map.Trammel)
            {
                TramInstance = this;
            }

            if (Map == Map.Felucca)
            {
                FelInstance = this;
            }
        }