forked from sin365/AxibugEmuOnline
修复进入房间时,netreply中的帧数未重置的问题
This commit is contained in:
parent
5ecdf999d3
commit
ee65797a6a
@ -316,7 +316,7 @@ namespace AxibugEmuOnline.Client.Manager
|
|||||||
/// <param name="reqData"></param>
|
/// <param name="reqData"></param>
|
||||||
void RecvLeavnRoom(byte[] reqData)
|
void RecvLeavnRoom(byte[] reqData)
|
||||||
{
|
{
|
||||||
App.log.Debug("加入房间成功");
|
App.log.Debug("离开房间成功");
|
||||||
Protobuf_Room_Leave_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Room_Leave_RESP>(reqData);
|
Protobuf_Room_Leave_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Room_Leave_RESP>(reqData);
|
||||||
ReleaseRePlay();
|
ReleaseRePlay();
|
||||||
mineRoomMiniInfo = null;
|
mineRoomMiniInfo = null;
|
||||||
@ -374,6 +374,7 @@ namespace AxibugEmuOnline.Client.Manager
|
|||||||
byte[] decompressRawData = Helper.DecompressByteArray(msg.LoadStateRaw.ToByteArray());
|
byte[] decompressRawData = Helper.DecompressByteArray(msg.LoadStateRaw.ToByteArray());
|
||||||
App.log.Info($"收到即时存档数据 解压后;{decompressRawData.Length}");
|
App.log.Info($"收到即时存档数据 解压后;{decompressRawData.Length}");
|
||||||
RawData = decompressRawData;
|
RawData = decompressRawData;
|
||||||
|
ReleaseRePlay();
|
||||||
}
|
}
|
||||||
Eventer.Instance.PostEvent(EEvent.OnRoomWaitStepChange, WaitStep);
|
Eventer.Instance.PostEvent(EEvent.OnRoomWaitStepChange, WaitStep);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user