Ejemplo n.º 1
0
        /// <summary>
        /// 将配置导出到CSV
        /// </summary>
        /// <param name="patch"></param>
        /// <returns></returns>
        private bool ExportConfigToCSV(string patch)
        {
            string FullPatch = patch;

            FullPatch += SpellFileName;
            FullPatch += ".csv";

            ExportSpellToCSV(FullPatch);

            FullPatch  = patch;
            FullPatch += conditionFileName;
            FullPatch += ".csv";

            //条件配置
            mConditionEditor.ExportCoditionTableToCsv(FullPatch);


            //效果配置
            FullPatch  = patch;
            FullPatch += effectFileName;
            FullPatch += ".csv";
            mEffectEditor.ExportEffectTableToCsv(FullPatch);



            FullPatch  = patch;
            FullPatch += SpellLogincFileName;
            FullPatch += ".csv";

            mLogicEditor.ExportSpellLogicToCsv(FullPatch);

            return(true);
        }