public override bool Equals(object obj) { return(obj is VehicleDetail detail && VehicleType.Equals(detail?.VehicleType) && VehicleBrand.Equals(detail?.VehicleBrand) && VehicleModel.Equals(detail?.VehicleModel) && StateNumber.Equals(detail?.StateNumber)); }
public bool Equals(Gang other) { if (other == null) { return(false); } return(VehicleModel.Equals(other.VehicleModel) && PedModelOverride.Equals(other.PedModelOverride) && Weapon1.Equals(other.Weapon1) && Weapon2.Equals(other.Weapon2)); }