forked from sin365/AxibugEmuOnline
有错误码不再派发
This commit is contained in:
parent
c6d6d45d90
commit
3d9bfe4493
@ -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("封面图上传成功");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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<Delegate> eventList = GetNetEventDicList(cmd);
|
||||
if (eventList != null)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user