export-table-pulgin-csharp 1.0.46 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"ExportUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAe,MAAM,kBAAkB,CAAA;AAGlI,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAgDnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAwCzE;AAED,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,IAAI,SAAU;IACd,IAAI,EAAE,MAAM,EAAE,CAAY;IAE1B,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAmBpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAiB3C"}
1
+ {"version":3,"file":"ExportUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAe,MAAM,kBAAkB,CAAA;AAGlI,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAgDnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAyCzE;AAED,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,IAAI,SAAU;IACd,IAAI,EAAE,MAAM,EAAE,CAAY;IAE1B,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAmBpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAqB3C"}
@@ -73,6 +73,7 @@ function exportUJsonLoader(paras) {
73
73
  let temp = `
74
74
  using lang.json;
75
75
  using UnityEngine.AddressableAssets;
76
+ using System.Threading.Tasks;
76
77
 
77
78
  namespace MEEC.ExportedConfigs
78
79
  {
@@ -127,6 +128,10 @@ class ExportUJsonPlugin extends export_table_lib_1.PluginBase {
127
128
  handleBatch(paras) {
128
129
  var tables = paras.tables;
129
130
  var temp = `
131
+ using System;
132
+ using System.Collections.Generic;
133
+ using System.Threading.Tasks;
134
+
130
135
  namespace MEEC.ExportedConfigs
131
136
  {
132
137
  public static class DefaultConfigLoader{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.0.46",
3
+ "version": "1.0.49",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -66,6 +66,7 @@ export function exportUJsonLoader(paras: HandleSheetParams): string | null {
66
66
  let temp = `
67
67
  using lang.json;
68
68
  using UnityEngine.AddressableAssets;
69
+ using System.Threading.Tasks;
69
70
 
70
71
  namespace MEEC.ExportedConfigs
71
72
  {
@@ -120,6 +121,10 @@ export class ExportUJsonPlugin extends PluginBase {
120
121
  handleBatch(paras: HandleBatchParams): void {
121
122
  var tables = paras.tables;
122
123
  var temp = `
124
+ using System;
125
+ using System.Collections.Generic;
126
+ using System.Threading.Tasks;
127
+
123
128
  namespace MEEC.ExportedConfigs
124
129
  {
125
130
  public static class DefaultConfigLoader{