Esempio n. 1
0
        // Token: 0x06002443 RID: 9283 RVA: 0x0007AFEC File Offset: 0x000791EC
        public static bool smethod_5(string file, out string multifile_name)
        {
            multifile_name = null;
            int    num = 0;
            string text;

            if (!file.smethod_8('/', ref num, out text))
            {
                return(false);
            }
            if (!Class136.smethod_7(text))
            {
                return(false);
            }
            multifile_name = text;
            return(true);
        }
Esempio n. 2
0
        // Token: 0x06002446 RID: 9286 RVA: 0x0007B104 File Offset: 0x00079304
        public static bool smethod_8(string file)
        {
            if (string.IsNullOrEmpty(file))
            {
                return(false);
            }
            int    num = 0;
            string text;

            if (!file.smethod_8('/', ref num, out text))
            {
                return(false);
            }
            if (!Class136.smethod_7(text))
            {
                return(false);
            }
            if (!file.smethod_8('/', ref num, out text))
            {
                return(false);
            }
            string a;

            if ((a = text.ToLower()) != null)
            {
                if (a == "audio")
                {
                    string a2;
                    string a3;
                    return(file.smethod_8('/', ref num, out text) && ((a2 = text.ToLower()) != null && (a2 == "bgm" || a2 == "dial" || a2 == "sfx")) && file.smethod_14('.', ref num, out text) && ((a3 = text.ToLower()) != null && (a3 == "wav" || a3 == "mp3" || a3 == "mid")));
                }
                if (a == "maps")
                {
                    string a4;
                    return(file.smethod_14('.', ref num, out text) && ((a4 = text.ToLower()) != null && (a4 == "jpg" || a4 == "rgb")));
                }
            }
            return(false);
        }