From 3d9bfe44933566d1905b041a28048e8fed4dbd8b Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Tue, 4 Nov 2025 14:41:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=89=E9=94=99=E8=AF=AF=E7=A0=81=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E6=B4=BE=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Script/AppMain/Manager/AppShare.cs | 4 ++-- .../Assets/Script/AppMain/Network/NetMsg.cs | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs index 640001f2..0d2d05c1 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs @@ -63,9 +63,9 @@ namespace AxibugEmuOnline.Client.Manager App.network.SendToServer((int)CommandID.CmdGamescreenImgUpload, ProtoBufHelper.Serizlize(req)); } - private void RecvGamescreenImgUpload(byte[] obj) + private void RecvGamescreenImgUpload(byte[] data) { - OverlayManager.PopTip("登录成功"); + OverlayManager.PopTip("封面图上传成功"); } } } \ No newline at end of file diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs index 2a482879..dd75c8d0 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs @@ -163,16 +163,22 @@ namespace AxibugEmuOnline.Client.Network case ErrorCode.ErrorRomDontHadStar: errMsg = "并没有收藏"; break; + case ErrorCode.ErrorRomFailCoverimg: + errMsg = "处理游戏截图失败"; + break; case ErrorCode.ErrorDefaul: case ErrorCode.ErrorOk: default: - errMsg = err.ToString(); break; } OverlayManager.PopTip("错误:"+ errMsg); App.log.Error("错误:" + errMsg); } + //如果报错,则不往前继续推进 + if (err > ErrorCode.ErrorOk) + return; + List eventList = GetNetEventDicList(cmd); if (eventList != null) {