Пример #1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            reader.ReadInt();

            if (Map == Map.Trammel)
            {
                InstanceTram = this;
            }
            else if (Map == Map.Felucca)
            {
                InstanceFel = this;
            }
        }
Пример #2
0
        public static void Initialize()
        {
            if (InstanceTram == null)
            {
                InstanceTram = new Salis();
                InstanceTram.MoveToWorld(new Point3D(5768, 2610, 46), Map.Trammel);
                InstanceTram.Home      = InstanceTram.Location;
                InstanceTram.RangeHome = 5;
            }

            if (InstanceFel == null)
            {
                InstanceFel = new Salis();
                InstanceFel.MoveToWorld(new Point3D(5768, 2610, 46), Map.Felucca);
                InstanceFel.Home      = InstanceFel.Location;
                InstanceFel.RangeHome = 5;
            }
        }