fix error vectorlist生成List<List<float>>

This commit is contained in:
dingxiaowei
2024-06-30 10:35:03 +08:00
parent 85ba162116
commit 7eb6403a43
8 changed files with 3 additions and 3 deletions
Binary file not shown.
+1 -1
View File
@@ -43,7 +43,7 @@ namespace ExcelTool
{ {
sb.Append(string.Format("\tpublic List<float> {0}", headers[i].FieldName)); sb.Append(string.Format("\tpublic List<float> {0}", headers[i].FieldName));
} }
else if (type.Equals("list")) else if (type.Equals("vectorlist"))
{ {
sb.Append(string.Format("\tpublic List<List<float>> {0}", headers[i].FieldName)); sb.Append(string.Format("\tpublic List<List<float>> {0}", headers[i].FieldName));
} }
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -34,7 +34,7 @@ public partial class avatarguideTest : IBinarySerializable
/// <summary> /// <summary>
/// 格子 /// 格子
/// </summary> /// </summary>
public vectorlist Grid { get; set; } public List<List<float>> Grid { get; set; }
public void DeSerialize(BinaryReader reader) public void DeSerialize(BinaryReader reader)
{ {
+1 -1
View File
@@ -30,7 +30,7 @@ public partial class battleScene : IBinarySerializable
/// <summary> /// <summary>
/// 出生点vector列表 /// 出生点vector列表
/// </summary> /// </summary>
public vectorlist EnemyBornPoints { get; set; } public List<List<float>> EnemyBornPoints { get; set; }
/// <summary> /// <summary>
/// 出生点对应的小怪id /// 出生点对应的小怪id
/// </summary> /// </summary>
Binary file not shown.
Binary file not shown.