export-table-pulgin-csharp 1.1.181 → 1.1.185

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.
@@ -147,14 +147,14 @@ ${(0, export_table_lib_1.foreach)(fields, f => {
147
147
  var c = Configs[i];
148
148
  if(!${tempDictByMemberName}.TryAdd(c.${memberName}, c))
149
149
  {
150
- UnityEngine.Debug.LogError($"重复的配表字段值<${memberName}>: {c.${memberName}}");
150
+ UnityEngine.Debug.LogError($"重复的配表字段唯一值<${RowClass}.${memberName}>: {c.${memberName}}");
151
151
  }
152
152
  }
153
153
  }
154
154
  #if UNITY_EDITOR
155
155
  if (${tempDictByMemberName}.Count != Configs.Count)
156
156
  {
157
- UnityEngine.Debug.LogError($"配表数据不一致(ConfigsUnmatched): {${tempDictByMemberName}.Count}!={Configs.Count}");
157
+ UnityEngine.Debug.LogError($"配表数据不一致(ConfigsUnmatched)<${RowClass}.${memberName}>: {${tempDictByMemberName}.Count}!={Configs.Count}");
158
158
  }
159
159
  #endif
160
160
  return ${tempDictByMemberName}.GetValueOrDefault(${paraName});
@@ -183,7 +183,7 @@ ${(0, export_table_lib_1.foreach)(fields, f => {
183
183
  var records = Configs.Where(c => c.${memberName} == ${paraName}).ToArray();
184
184
  if(!${tempRecordsDictByMemberName}.TryAdd(${paraName}, records))
185
185
  {
186
- UnityEngine.Debug.LogError($"重复的配表字段值<${paraName}>: {${paraName}}");
186
+ UnityEngine.Debug.LogError($"重复的配表多对一字段值<${RowClass}.${paraName}>: {${paraName}}");
187
187
  }
188
188
  return records;
189
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.181",
3
+ "version": "1.1.185",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -176,14 +176,14 @@ ${foreach(fields, f => {
176
176
  var c = Configs[i];
177
177
  if(!${tempDictByMemberName}.TryAdd(c.${memberName}, c))
178
178
  {
179
- UnityEngine.Debug.LogError($"重复的配表字段值<${memberName}>: {c.${memberName}}");
179
+ UnityEngine.Debug.LogError($"重复的配表字段唯一值<${RowClass}.${memberName}>: {c.${memberName}}");
180
180
  }
181
181
  }
182
182
  }
183
183
  #if UNITY_EDITOR
184
184
  if (${tempDictByMemberName}.Count != Configs.Count)
185
185
  {
186
- UnityEngine.Debug.LogError($"配表数据不一致(ConfigsUnmatched): {${tempDictByMemberName}.Count}!={Configs.Count}");
186
+ UnityEngine.Debug.LogError($"配表数据不一致(ConfigsUnmatched)<${RowClass}.${memberName}>: {${tempDictByMemberName}.Count}!={Configs.Count}");
187
187
  }
188
188
  #endif
189
189
  return ${tempDictByMemberName}.GetValueOrDefault(${paraName});
@@ -211,7 +211,7 @@ ${foreach(fields, f => {
211
211
  var records = Configs.Where(c => c.${memberName} == ${paraName}).ToArray();
212
212
  if(!${tempRecordsDictByMemberName}.TryAdd(${paraName}, records))
213
213
  {
214
- UnityEngine.Debug.LogError($"重复的配表字段值<${paraName}>: {${paraName}}");
214
+ UnityEngine.Debug.LogError($"重复的配表多对一字段值<${RowClass}.${paraName}>: {${paraName}}");
215
215
  }
216
216
  return records;
217
217
  }