CompletelyOptional/OptionInterface_DataAPI.cs
/// <summary>
/// Helper for getting the text name for a slugcat, which is used for filenames for data
/// </summary>
Helper for getting the text name for a slugcat, which is used for filenames for data
Helper for getting the text name for a slugcat which is used for filenames for data
public static string GetSlugcatName(int slugcat)
        {
            if (slugcat < 0) return null;
            if (slugcat < 3) { return ((SlugcatStats.Name)slugcat).ToString(); }
            if (OptionScript.SlugBaseExists && IsSlugBaseSlugcat(slugcat)) { return GetSlugBaseSlugcatName(slugcat); }
            else { return ((SlugcatStats.Name)slugcat).ToString(); }
        }
public static string GetSlugcatName ( int slugcat ) { if ( slugcat < 0 ) return null ; if ( slugcat < 3 ) { return ( ( SlugcatStats . Name ) slugcat ) . ToString ( ) ; } if ( OptionScript . SlugBaseExists && IsSlugBaseSlugcat ( slugcat ) ) { return GetSlugBaseSlugcatName ( slugcat ) ; } else { return ( ( SlugcatStats . Name ) slugcat ) . ToString ( ) ; } }
Helper for getting the text name for a slugcat, which is used for filenames for data
Helper for getting the text name for a slugcat which is used for filenames for data
slugcat
int