예제 #1
0
        public static void Initialize()
        {
            if (InstanceTram == null)
            {
                InstanceTram = new ClothingAdjustments();
                InstanceTram.MoveToWorld(new Point3D(4331, 997, 7), Map.Trammel);
            }

            if (InstanceFel == null)
            {
                InstanceFel = new ClothingAdjustments();
                InstanceFel.MoveToWorld(new Point3D(4331, 997, 7), Map.Felucca);
            }
        }
예제 #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

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

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