From d2267678703a5866c8f73741029029f7b42afeff Mon Sep 17 00:00:00 2001 From: Blank Date: Fri, 6 Sep 2024 20:18:09 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]1.=20=E4=BF=AE=E5=A4=8Dmap?= =?UTF-8?q?=20=E5=8D=8F=E8=AE=AE=E6=8A=A5=E9=94=99=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84aot=20=E8=A3=81=E5=89=AA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProtoExport/ProtoBuffServerHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProtoExport/ProtoBuffServerHelper.cs b/ProtoExport/ProtoBuffServerHelper.cs index 3f42846..b1752b7 100644 --- a/ProtoExport/ProtoBuffServerHelper.cs +++ b/ProtoExport/ProtoBuffServerHelper.cs @@ -82,7 +82,7 @@ public void Run(MessageInfoList messageInfoList, string outputPath, string names { defaultValue = $" = new {operationField.Type}();"; } - + sb.AppendLine($"\t\t[ProtoMap(DisableMap = true)]"); sb.AppendLine($"\t\tpublic {operationField.Type} {operationField.Name} {{ get; set; }}{defaultValue}"); }