public override void Delete() { base.Delete(); if (InstanceTram == this) { InstanceTram = null; } else if (InstanceFel == this) { InstanceFel = null; } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); if (Map == Map.Trammel) { InstanceTram = this; } else if (Map == Map.Felucca) { InstanceFel = this; } }