export-table-pulgin-csharp 1.1.71 → 1.1.73
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":"ExportCSPlugin.d.ts","sourceRoot":"","sources":["../src/ExportCSPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAA0B,MAAM,kBAAkB,CAAA;AAM1H,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"ExportCSPlugin.d.ts","sourceRoot":"","sources":["../src/ExportCSPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAA0B,MAAM,kBAAkB,CAAA;AAM1H,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAsUpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,IAAI,SAAW;IACf,IAAI,EAAE,MAAM,EAAE,CAAS;IAEvB,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAOpC"}
|
package/dist/ExportCSPlugin.js
CHANGED
|
@@ -257,6 +257,12 @@ ${(0, export_table_lib_1.foreach)(fields, f => {
|
|
|
257
257
|
${tempDictByMemberName}.Add(c.${memberName}, c);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
+
#if UNITY_EDITOR
|
|
261
|
+
if (${tempDictByMemberName}.Count != Configs.Count)
|
|
262
|
+
{
|
|
263
|
+
Debug.LogError($"配表数据不一致(ConfigsUnmatched): {${tempDictByMemberName}.Count}!={Configs.Count}");
|
|
264
|
+
}
|
|
265
|
+
#endif
|
|
260
266
|
return ${tempDictByMemberName}.GetValueOrDefault(${memberName});
|
|
261
267
|
}
|
|
262
268
|
`;
|
package/package.json
CHANGED
package/src/ExportCSPlugin.ts
CHANGED
|
@@ -229,6 +229,12 @@ ${foreach(fields, f => {
|
|
|
229
229
|
${tempDictByMemberName}.Add(c.${memberName}, c);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
+
#if UNITY_EDITOR
|
|
233
|
+
if (${tempDictByMemberName}.Count != Configs.Count)
|
|
234
|
+
{
|
|
235
|
+
UnityEngine.Debug.LogError($"配表数据不一致(ConfigsUnmatched): {${tempDictByMemberName}.Count}!={Configs.Count}");
|
|
236
|
+
}
|
|
237
|
+
#endif
|
|
232
238
|
return ${tempDictByMemberName}.GetValueOrDefault(${memberName});
|
|
233
239
|
}
|
|
234
240
|
`
|