From 2974bd3bf0a4b57c23abd57673eee666aac8f8ac Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Fri, 31 Mar 2023 17:59:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Client.cs b/Client.cs index 9a8aefc..033c1c2 100644 --- a/Client.cs +++ b/Client.cs @@ -35,7 +35,8 @@ namespace BattleServer private void doBinary(byte[] message) { BattleRpcMessage msg = ProtoDeSerialize(message); - Console.WriteLine("接收到消息 {0}", msg.method); + if (msg.method != "Heartbeat") + Console.WriteLine("接收到消息 {0}", msg.method); // Pb.BattleRpcMessage msg = Deserialize(message); Task t = Task.Run(() => {