コード例 #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);
        }