mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
fully switch to mediator from events
This commit is contained in:
parent
5e7beb8518
commit
41465c2d49
24 changed files with 166 additions and 239 deletions
|
|
@ -107,6 +107,7 @@ public class DalamudUtil : IDisposable
|
|||
Logger.Debug("Zone switch/Gpose start");
|
||||
_sentBetweenAreas = true;
|
||||
_mediator.Publish(new ZoneSwitchStartMessage());
|
||||
_mediator.Publish(new HaltScanMessage("Zone switch"));
|
||||
}
|
||||
|
||||
if (IsInGpose) _mediator.Publish(new GposeFrameworkUpdateMessage());
|
||||
|
|
@ -119,6 +120,7 @@ public class DalamudUtil : IDisposable
|
|||
Logger.Debug("Zone switch/Gpose end");
|
||||
_sentBetweenAreas = false;
|
||||
_mediator.Publish(new ZoneSwitchEndMessage());
|
||||
_mediator.Publish(new ResumeScanMessage("Zone switch"));
|
||||
}
|
||||
|
||||
_mediator.Publish(new FrameworkUpdateMessage());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue