export-table-pulgin-csharp 1.0.49 → 1.0.50
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,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;
|
|
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;CAuB3C"}
|
|
@@ -131,6 +131,7 @@ class ExportUJsonPlugin extends export_table_lib_1.PluginBase {
|
|
|
131
131
|
using System;
|
|
132
132
|
using System.Collections.Generic;
|
|
133
133
|
using System.Threading.Tasks;
|
|
134
|
+
using UnityEngine;
|
|
134
135
|
|
|
135
136
|
namespace MEEC.ExportedConfigs
|
|
136
137
|
{
|
|
@@ -139,6 +140,7 @@ namespace MEEC.ExportedConfigs
|
|
|
139
140
|
${(0, export_table_lib_1.foreach)(tables, (table) => `
|
|
140
141
|
yield return ${table.name}.Load;
|
|
141
142
|
`)}
|
|
143
|
+
yield break;
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
146
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "export-table-pulgin-csharp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"pub": "npm-publish --token=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"
|
|
8
7
|
},
|
|
9
8
|
"repository": {
|
|
10
9
|
"type": "git",
|
|
@@ -124,6 +124,7 @@ export class ExportUJsonPlugin extends PluginBase {
|
|
|
124
124
|
using System;
|
|
125
125
|
using System.Collections.Generic;
|
|
126
126
|
using System.Threading.Tasks;
|
|
127
|
+
using UnityEngine;
|
|
127
128
|
|
|
128
129
|
namespace MEEC.ExportedConfigs
|
|
129
130
|
{
|
|
@@ -132,6 +133,7 @@ namespace MEEC.ExportedConfigs
|
|
|
132
133
|
${foreach(tables, (table) => `
|
|
133
134
|
yield return ${table.name}.Load;
|
|
134
135
|
`)}
|
|
136
|
+
yield break;
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
139
|
}
|