コード例 #1
0
        public ModValidator(Stream stream)
        {
            resources = GameResources.Deserialize(GetResourceManifest());
            ExpansionResourcesUsed = new GameResources();

            mod = ContentDirectory.Create(stream);
        }
コード例 #2
0
        public ModValidator(string path)
        {
            resources = GameResources.Deserialize(GetResourceManifest());
            ExpansionResourcesUsed = new GameResources();

            mod = ContentDirectory.Create(path, false);
        }
コード例 #3
0
 public CoreValidator(string path)
 {
     core = ContentDirectory.Create(path, true);
 }