Ejemplo n.º 1
0
        public static void loadConfig()
        {
            Config = JsonConfig.readFromFile <TableGenConfig>("config.json") ?? new TableGenConfig();

            //var hp = new CreateTableCpp();
            //var a = CreateTableCpp.CppString1;
        }
Ejemplo n.º 2
0
 public static void loadConfig()
 {
     Config = JsonConfig.readFromFile <TableGenConfig>("config.json") ?? new TableGenConfig();
     //修正值
     if (string.IsNullOrEmpty(Config.SheetNameForField))
     {
         Config.SheetNameForField = "def";
     }
     if (string.IsNullOrEmpty(Config.SheetNameForData))
     {
         Config.SheetNameForData = "data";
     }
 }