From ff8a320fc1bbf012b36b6b051515510f33679193 Mon Sep 17 00:00:00 2001 From: godotg Date: Tue, 5 Mar 2024 18:09:19 +0800 Subject: [PATCH] chore[generate]: format csharp code --- protocol/src/main/resources/csharp/ProtocolTemplate.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/src/main/resources/csharp/ProtocolTemplate.cs b/protocol/src/main/resources/csharp/ProtocolTemplate.cs index a927fb94..6518f0df 100644 --- a/protocol/src/main/resources/csharp/ProtocolTemplate.cs +++ b/protocol/src/main/resources/csharp/ProtocolTemplate.cs @@ -38,7 +38,8 @@ namespace zfoocs int beforeReadIndex = buffer.ReadOffset(); {} packet = new {}(); {} - if (length > 0) { + if (length > 0) + { buffer.SetReadOffset(beforeReadIndex + length); } return packet;