public static void Create()
        {
            string[] ignores = ignoreSheetName.Split (new string[] { ",", "|" }, System.StringSplitOptions.None);

            ExcelSqliteMaker maker = new ExcelSqliteMaker (excelFilePath, dbPath, dbName);
            maker.Create (splitFlag, ignores);

            PlayerPrefs.SetString (HELLGATE_EXCEL_SQLITE_PATH, excelFilePath);
            PlayerPrefs.SetString (HELLGATE_EXCEL_SQLITE_DB_PATH, dbPath);
            PlayerPrefs.SetString (HELLGATE_EXCEL_SQLITE_DB_NAME, dbName);
            PlayerPrefs.SetString (HELLGATE_EXCEL_SQLITE_IGNORE_SHEET, ignoreSheetName);
            PlayerPrefs.SetInt (HELLGATE_EXCEL_SQLITE_SPLIT_FLAG, splitFlag ? 1 : 0);
        }
예제 #2
0
        public static void Create()
        {
            string[] ignores = ignoreSheetName.Split(new string[] { ",", "|" }, System.StringSplitOptions.None);

            ExcelSqliteMaker maker = new ExcelSqliteMaker(excelFilePath, dbPath, dbName);

            maker.Create(splitFlag, ignores);

            PlayerPrefs.SetString(HELLGATE_EXCEL_SQLITE_PATH, excelFilePath);
            PlayerPrefs.SetString(HELLGATE_EXCEL_SQLITE_DB_PATH, dbPath);
            PlayerPrefs.SetString(HELLGATE_EXCEL_SQLITE_DB_NAME, dbName);
            PlayerPrefs.SetString(HELLGATE_EXCEL_SQLITE_IGNORE_SHEET, ignoreSheetName);
            PlayerPrefs.SetInt(HELLGATE_EXCEL_SQLITE_SPLIT_FLAG, splitFlag ? 1 : 0);
        }