export-table-pulgin-csharp 1.1.174 → 1.1.176

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.
Files changed (68) hide show
  1. package/dist/ExportUnityCSJsonPlugin.d.ts.map +1 -1
  2. package/dist/ExportUnityCSJsonPlugin.js +6 -1
  3. package/dist/index.d.ts +1 -1
  4. package/package.json +1 -1
  5. package/src/ExportUnityCSJsonPlugin.ts +6 -1
  6. package/test/src0/ActivityTable.xlsx +0 -0
  7. package/test/src0/AnnouncementTable.xlsx +0 -0
  8. package/test/src0/AntiAddictionTable.xlsx +0 -0
  9. package/test/src0/BattleTable.xlsx +0 -0
  10. package/test/src0/BlackWhiteTable.xlsx +0 -0
  11. package/test/src0/BuffTable.xlsx +0 -0
  12. package/test/src0/CardTable.xlsx +0 -0
  13. package/test/src0/CommonQualityTable.xlsx +0 -0
  14. package/test/src0/CommonTipsTable.xlsx +0 -0
  15. package/test/src0/CommonValueTable.xlsx +0 -0
  16. package/test/src0/CommonVideoTable.xlsx +0 -0
  17. package/test/src0/CoopRuleTable.xlsx +0 -0
  18. package/test/src0/DefaultNameTable.xlsx +0 -0
  19. package/test/src0/EffectLoadTable.xlsx +0 -0
  20. package/test/src0/ErrorCodeTable.xlsx +0 -0
  21. package/test/src0/FAreaEffectTable.xlsx +0 -0
  22. package/test/src0/FHaloBuffTable.xlsx +0 -0
  23. package/test/src0/FiveAttributeTable.xlsx +0 -0
  24. package/test/src0/FlyerTable.xlsx +0 -0
  25. package/test/src0/FormationTable.xlsx +0 -0
  26. package/test/src0/GameUITable.xlsx +0 -0
  27. package/test/src0/GuildRuinsTable.xlsx +0 -0
  28. package/test/src0/GuildTable.xlsx +0 -0
  29. package/test/src0/HeadIconTable.xlsx +0 -0
  30. package/test/src0/InitialDataTable.xlsx +0 -0
  31. package/test/src0/ItemTable.xlsx +0 -0
  32. package/test/src0/LotteryPoolTable.xlsx +0 -0
  33. package/test/src0/MailTable.xlsx +0 -0
  34. package/test/src0/MatchTable.xlsx +0 -0
  35. package/test/src0/ModuleTable.xlsx +0 -0
  36. package/test/src0/MonsterTable.xlsx +0 -0
  37. package/test/src0/NotificationTable.xlsx +0 -0
  38. package/test/src0/PveAdventureTable.xlsx +0 -0
  39. package/test/src0/PveTable.xlsx +0 -0
  40. package/test/src0/PvpTable.xlsx +0 -0
  41. package/test/src0/RankTable.xlsx +0 -0
  42. package/test/src0/RecordTable.xlsx +0 -0
  43. package/test/src0/RedeemTable.xlsx +0 -0
  44. package/test/src0/RefinerTable.xlsx +0 -0
  45. package/test/src0/RobotServerConfigTable.xlsx +0 -0
  46. package/test/src0/ScreenAdaptTable.xlsx +0 -0
  47. package/test/src0/SeasonTimeTable.xlsx +0 -0
  48. package/test/src0/ServerTable.xlsx +0 -0
  49. package/test/src0/ShopTable.xlsx +0 -0
  50. package/test/src0/SkillTable.xlsx +0 -0
  51. package/test/src0/SpellTable.xlsx +0 -0
  52. package/test/src0/SpiritTable.xlsx +0 -0
  53. package/test/src0/StickerTable.xlsx +0 -0
  54. package/test/src0/SummonerTable.xlsx +0 -0
  55. package/test/src0/SutraStarTable.xlsx +0 -0
  56. package/test/src0/SutraSystemTable.xlsx +0 -0
  57. package/test/src0/SutraTable.xlsx +0 -0
  58. package/test/src0/SwitchTable.xlsx +0 -0
  59. package/test/src0/TaskAchieveTaskTable.xlsx +0 -0
  60. package/test/src0/TaskDayTaskTable.xlsx +0 -0
  61. package/test/src0/TaskSevenDayTaskTable.xlsx +0 -0
  62. package/test/src0/TaskTable.xlsx +0 -0
  63. package/test/src0/TipsTable.xlsx +0 -0
  64. package/test/src0/TowerTable.xlsx +0 -0
  65. package/test/src0/TutorialShowTable.xlsx +0 -0
  66. package/test/src0/TutorialTable.xlsx +0 -0
  67. package/test/src0/UnitAttributeTable.xlsx +0 -0
  68. package/test/src0//346/265/213/350/257/225/345/244/226/347/275/256/350/207/252/345/256/232/344/271/211/347/261/273/345/236/213.xlsx +0 -0
@@ -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;AAQxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+DnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAoJzE;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;CA4C3C"}
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;AAQxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+DnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAyJzE;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;CA4C3C"}
@@ -140,6 +140,7 @@ namespace ${exportNamespace}
140
140
  var configLiteral = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
141
141
  if (configLiteral != null)
142
142
  {
143
+ Configs.Clear();
143
144
  try
144
145
  {
145
146
  ConfigAssetLoader.LoadConfigs(configLiteral, Configs);
@@ -181,7 +182,11 @@ namespace ${exportNamespace}
181
182
  {
182
183
  try
183
184
  {
184
- System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
185
+ var content0 = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
186
+ if (content0 != configLiteral)
187
+ {
188
+ System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
189
+ }
185
190
  }
186
191
  catch (System.Exception exception)
187
192
  {
package/dist/index.d.ts CHANGED
@@ -3,5 +3,5 @@ import { ExportLiteDBCSPlugin } from "./ExportLiteDBCSPlugin";
3
3
  import { ExportLiteDBUJsonPlugin } from "./ExportLiteDBUnityCSJsonPlugin";
4
4
  import { ExportUJsonPlugin } from "./ExportUnityCSJsonPlugin";
5
5
  import { ExportUnityMMPPlugin } from "./ExportUnityMMPPlugin";
6
- export declare const ExportPlugins: (ExportCSPlugin | ExportUJsonPlugin | ExportLiteDBCSPlugin | ExportLiteDBUJsonPlugin | ExportUnityMMPPlugin)[];
6
+ export declare const ExportPlugins: (ExportCSPlugin | ExportLiteDBCSPlugin | ExportUJsonPlugin | ExportLiteDBUJsonPlugin | ExportUnityMMPPlugin)[];
7
7
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.174",
3
+ "version": "1.1.176",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -164,6 +164,7 @@ namespace ${exportNamespace}
164
164
  var configLiteral = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
165
165
  if (configLiteral != null)
166
166
  {
167
+ Configs.Clear();
167
168
  try
168
169
  {
169
170
  ConfigAssetLoader.LoadConfigs(configLiteral, Configs);
@@ -205,7 +206,11 @@ namespace ${exportNamespace}
205
206
  {
206
207
  try
207
208
  {
208
- System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
209
+ var content0 = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
210
+ if (content0 != configLiteral)
211
+ {
212
+ System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
213
+ }
209
214
  }
210
215
  catch (System.Exception exception)
211
216
  {
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file