This commit is contained in:
sin365 2024-11-08 13:53:13 +08:00
parent 7971b4a4ba
commit 1c0094d836

View File

@ -369,13 +369,13 @@ namespace AxibugEmuOnline.Client.Manager
if (WaitStep != msg.WaitStep) if (WaitStep != msg.WaitStep)
{ {
WaitStep = msg.WaitStep; WaitStep = msg.WaitStep;
Eventer.Instance.PostEvent(EEvent.OnRoomWaitStepChange, WaitStep);
if (WaitStep == 1) if (WaitStep == 1)
{ {
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;
} }
Eventer.Instance.PostEvent(EEvent.OnRoomWaitStepChange, WaitStep);
} }
} }