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); } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); reader.ReadInt(); if (Map == Map.Trammel) { InstanceTram = this; } if (Map == Map.Felucca) { InstanceFel = this; } }