12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.IO;
- using Zio;
- namespace TBL.GodotSharp.Content
- {
-
-
-
- public static class Content
- {
-
-
-
-
-
-
-
- public static bool IsCompatibleWith(Version actualVersion, Version targetVersion, int level)
- {
-
- if (actualVersion.Major != targetVersion.Major)
- return false;
- if (level < 1)
- return true;
-
- if (actualVersion.Minor != targetVersion.Minor)
- return false;
- if (level < 2)
- return true;
-
- if (actualVersion.Build != targetVersion.Build)
- return false;
- return true;
- }
- }
- }
|