コード例 #1
0
        static void FullDump(string path)
        {
            string ext = Utils.GetExt(path, "abc");

            if (ext == "abc")
            {
                AbcDumpService.Dump(path);
                return;
            }

            if (ext == "swf")
            {
                SwfDumpService.DumpSwf(path);
                return;
            }

            if (ext == "swc")
            {
                SwfDumpService.DumpSwc(path);
                return;
            }
        }
コード例 #2
0
        static void Dump(string abcPath)
        {
            try
            {
                if (File.Exists(abcPath))
                {
#if DEBUG
                    DebugService.LogInfo("AbcDump started");
                    int start = Environment.TickCount;
#endif

                    AbcDumpService.Dump(abcPath);

#if DEBUG
                    int end = Environment.TickCount;
                    DebugService.LogInfo("AbcDump succeeded. Ellapsed Time: {0}", (end - start) + "ms");
#endif
                }
            }
            catch
            {
            }
        }