export-table-pulgin-csharp 1.1.136 → 1.1.139
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.
- package/dist/ExportLiteDBUnityCSJsonPlugin.d.ts.map +1 -1
- package/dist/ExportLiteDBUnityCSJsonPlugin.js +0 -1
- package/dist/ExportUnityCSJsonPlugin.d.ts.map +1 -1
- package/dist/ExportUnityCSJsonPlugin.js +1 -2
- package/package.json +1 -1
- package/src/ExportLiteDBUnityCSJsonPlugin.ts +0 -1
- package/src/ExportUnityCSJsonPlugin.ts +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportLiteDBUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportLiteDBUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AAUxJ,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"ExportLiteDBUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportLiteDBUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AAUxJ,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAqDzE;AAED,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,iBAczD;AACD,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAmB5E;AAED,qBAAa,uBAAwB,SAAQ,UAAU;IACtD,IAAI,SAAgB;IACpB,IAAI,EAAE,MAAM,EAAE,CAAkB;IAEhC,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAoB9B,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAqD1C"}
|
|
@@ -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,EAAqC,MAAM,kBAAkB,CAAA;AAOxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+FnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,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,EAAqC,MAAM,kBAAkB,CAAA;AAOxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+FnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAyGzE;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;CAmC3C"}
|
|
@@ -50,7 +50,7 @@ function exportUJson(paras) {
|
|
|
50
50
|
index2 = content.indexOf("|", index);
|
|
51
51
|
if (index2 == -1) {
|
|
52
52
|
if (content.length > 0) {
|
|
53
|
-
console.error(
|
|
53
|
+
console.error(`表格格式错误,缺少部分数据,将用默认值填充<${key}>: ${content}`);
|
|
54
54
|
}
|
|
55
55
|
index2 = content.indexOf(";;", index);
|
|
56
56
|
index = index2;
|
|
@@ -128,7 +128,6 @@ function exportUJsonLoader(paras) {
|
|
|
128
128
|
var fullName = `${table.workbookName}-${name}`;
|
|
129
129
|
// !!!必须开头没有空格
|
|
130
130
|
let temp = `
|
|
131
|
-
using UnityEngine.AddressableAssets;
|
|
132
131
|
using System.Threading.Tasks;
|
|
133
132
|
using UnityEngine;
|
|
134
133
|
using ${jsonToolNamespace};
|
package/package.json
CHANGED
|
@@ -29,7 +29,6 @@ export function exportUJsonLoader(paras: HandleSheetParams): string | null {
|
|
|
29
29
|
var fullName = `${table.workbookName}-${name}`
|
|
30
30
|
// !!!必须开头没有空格
|
|
31
31
|
let temp = `
|
|
32
|
-
using UnityEngine.AddressableAssets;
|
|
33
32
|
using System.Threading.Tasks;
|
|
34
33
|
using LiteDB;
|
|
35
34
|
using UnityEngine;
|
|
@@ -35,7 +35,7 @@ export function exportUJson(paras: HandleSheetParams): string | null {
|
|
|
35
35
|
index2 = content.indexOf("|", index)
|
|
36
36
|
if (index2 == -1) {
|
|
37
37
|
if (content.length > 0) {
|
|
38
|
-
console.error(
|
|
38
|
+
console.error(`表格格式错误,缺少部分数据,将用默认值填充<${key}>: ${content}`)
|
|
39
39
|
}
|
|
40
40
|
index2 = content.indexOf(";;", index)
|
|
41
41
|
index = index2
|
|
@@ -123,7 +123,6 @@ export function exportUJsonLoader(paras: HandleSheetParams): string | null {
|
|
|
123
123
|
var fullName = `${table.workbookName}-${name}`
|
|
124
124
|
// !!!必须开头没有空格
|
|
125
125
|
let temp = `
|
|
126
|
-
using UnityEngine.AddressableAssets;
|
|
127
126
|
using System.Threading.Tasks;
|
|
128
127
|
using UnityEngine;
|
|
129
128
|
using ${jsonToolNamespace};
|