internal IncompatibleKSPException(string name, string version, KSP.Version min, KSP.Version max) : base(shortMessage, name, version) { this.name = name; this.version = version; this.min = min; this.max = max; }
public static void CheckForCompatibleKSP <T>(string name, string version, KSP.Version min, KSP.Version max) { if (min <= KSP.Version.Current && KSP.Version.Current <= max) { return; } throw new IncompatibleKSPException(name, version, min, max); }