export-table-pulgin-csharp 1.1.171 → 1.1.172

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.
@@ -32,7 +32,7 @@ function export_stuff(paras) {
32
32
  console.log(`map class: ${classNameOrigin}`);
33
33
  let classInfo = protoParser.getClassInfo(classNameOrigin);
34
34
  if (classInfo != null) {
35
- extendClass = ` : ${classNameOrigin}`;
35
+ extendClass = ` : ${classInfo.name}`;
36
36
  usingProtoNamespace = "\nusing DXTS.BattleProto;";
37
37
  // for (let f of classInfo.fields) {
38
38
  // console.log(`${f.csName}`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.171",
3
+ "version": "1.1.172",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -50,7 +50,7 @@ export function export_stuff(paras: HandleSheetParams): string | null {
50
50
  console.log(`map class: ${classNameOrigin}`)
51
51
  let classInfo = protoParser.getClassInfo(classNameOrigin)
52
52
  if (classInfo != null) {
53
- extendClass = ` : ${classNameOrigin}`
53
+ extendClass = ` : ${classInfo.name}`
54
54
  usingProtoNamespace = "\nusing DXTS.BattleProto;"
55
55
  // for (let f of classInfo.fields) {
56
56
  // console.log(`${f.csName}`)