Ejemplo n.º 1
0
        private static string GetURI(string rootFolder, PathHelperEnum path, string folder)
        {
            switch (path)
            {
            case PathHelperEnum.FOLDER_PATCH:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_PATCH) + folder + Path.DirectorySeparatorChar);

            case PathHelperEnum.FILE_PATCH_RESOURCE:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_PATCH) + folder);

            default:
                return(GetURI(rootFolder, path));
            }
        }
Ejemplo n.º 2
0
        private static string GetURI(string rootFolder, PathHelperEnum path)
        {
            switch (path)
            {
            case PathHelperEnum.FOLDER_CODE:
                return(rootFolder + "code" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_CONTENT:
                return(rootFolder + "content" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_META:
                return(rootFolder + "meta" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_MOVIE:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_CONTENT) + "movie" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_SOUND:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_CONTENT) + "sound" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_SOUND_BGM:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_SOUND) + "bgm" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_PATCH:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_CONTENT) + "patch" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FOLDER_PATCH_DATA:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_PATCH) + "data" + Path.DirectorySeparatorChar);

            case PathHelperEnum.FILE_LS:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_CONTENT) + "ls");

            case PathHelperEnum.FILE_RPX:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_CODE) + "cross_f.rpx");

            case PathHelperEnum.FILE_META:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_META) + "meta.xml");

            case PathHelperEnum.FILE_PATCH_RESOURCE:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_PATCH) + "resource");

            case PathHelperEnum.FILE_PATCH_PATCHLIST:
                return(GetURI(rootFolder, PathHelperEnum.FOLDER_PATCH) + "patchlist");

            default:
                return(rootFolder);
            }
        }
Ejemplo n.º 3
0
 public static string GetExtractFolder(PathHelperEnum path, string folder)
 {
     return(GetURI(GetProjectExtractFolder(), path, folder));
 }
Ejemplo n.º 4
0
 public static string GetWorkplaceFolder(PathHelperEnum path, string folder)
 {
     return(GetURI(GetProjectWorkplaceFolder(), path, folder));
 }
Ejemplo n.º 5
0
 public static string GetGameFolder(PathHelperEnum path, string folder)
 {
     return(GetURI(_Project.GamePath, path, folder));
 }
Ejemplo n.º 6
0
 public static string GetExtractFolder(PathHelperEnum path)
 {
     return(GetURI(GetProjectExtractFolderFullPath(), path));
 }
Ejemplo n.º 7
0
 public static string GetExplorerFolder(PathHelperEnum path, string folder)
 {
     return(GetURI(GetProjectExplorerFolderFullPath(), path, folder));
 }