12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System;
- using Zio.FileSystems;
- namespace TBL.GodotSharp.Content;
- public static class Content
- {
-
-
-
- public static readonly AggregateFileSystem FileSystem = new AggregateFileSystem();
-
-
-
-
-
-
-
-
- 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;
- }
- }
|