예제 #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);
 }