修复进入房间时,netreply中的帧数未重置的问题

This commit is contained in:
ALIENJACK\alien 2024-12-06 18:09:29 +08:00
parent 5ecdf999d3
commit ee65797a6a

View File

@ -316,7 +316,7 @@ namespace AxibugEmuOnline.Client.Manager
/// <param name="reqData"></param>
void RecvLeavnRoom(byte[] reqData)
{
App.log.Debug("加入房间成功");
App.log.Debug("离开房间成功");
Protobuf_Room_Leave_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Room_Leave_RESP>(reqData);
ReleaseRePlay();
mineRoomMiniInfo = null;
@ -374,6 +374,7 @@ namespace AxibugEmuOnline.Client.Manager
byte[] decompressRawData = Helper.DecompressByteArray(msg.LoadStateRaw.ToByteArray());
App.log.Info($"收到即时存档数据 解压后;{decompressRawData.Length}");
RawData = decompressRawData;
ReleaseRePlay();
}
Eventer.Instance.PostEvent(EEvent.OnRoomWaitStepChange, WaitStep);
}