Beispiel #1
0
 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;
 }
Beispiel #2
0
 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);
 }