Esempio n. 1
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;
            }
        }
Esempio n. 2
0
        public static void Initialize()
        {
            if (TramInstance == null)
            {
                TramInstance = new MasterProvisioner();
                TramInstance.MoveToWorld(new Point3D(2989, 636, 0), Map.Trammel);
                TramInstance.Direction = Direction.West;
            }

            if (FelInstance == null)
            {
                FelInstance = new MasterProvisioner();
                FelInstance.MoveToWorld(new Point3D(2989, 636, 0), Map.Felucca);
                FelInstance.Direction = Direction.West;
            }
        }