Exemple #1
0
        public static new Atlas FromDirectory(string path)
        {
            patch_Atlas atlas = (patch_Atlas)orig_FromDirectory(path);

            atlas.DataMethod = "FromDirectory";
            atlas.DataPath   = path;
            atlas.FixDataPath();
            Everest.Content.ProcessLoad(atlas, atlas.DataPath);
            return(atlas);
        }
Exemple #2
0
        public static new Atlas FromAtlas(string path, AtlasDataFormat format)
        {
            patch_Atlas atlas = (patch_Atlas)orig_FromAtlas(path, format);

            atlas.DataMethod = "FromAtlas";
            atlas.DataPath   = path;
            atlas.DataFormat = format;
            atlas.FixDataPath();
            Everest.Content.ProcessLoad(atlas, atlas.DataPath);
            return(atlas);
        }
Exemple #3
0
        public static new Atlas FromMultiAtlas(string rootPath, string filename, AtlasDataFormat format)
        {
            patch_Atlas atlas = (patch_Atlas)orig_FromMultiAtlas(rootPath, filename, format);

            atlas.DataMethod = "FromMultiAtlas";
            atlas.DataPath   = rootPath;
            atlas.DataPaths  = new string[] { filename };
            atlas.DataFormat = format;
            atlas.FixDataPath();
            Everest.Content.ProcessLoad(atlas, atlas.DataPath);
            return(atlas);
        }