Add IPC event on state change and increment IPC minor version.

This commit is contained in:
Ottermandias 2023-07-23 16:14:23 +02:00
parent fa4f22f6f5
commit 6518f958b7
4 changed files with 35 additions and 7 deletions

View file

@ -439,7 +439,7 @@ public class StateManager : IReadOnlyDictionary<ActorIdentifier, ActorState>
actors = ApplyAll(state, redraw, true);
Glamourer.Log.Verbose(
$"Reset entire state of {state.Identifier.Incognito(null)} to game base. [Affecting {actors.ToLazyString("nothing")}.]");
_event.Invoke(StateChanged.Type.Design, StateChanged.Source.Manual, state, actors, null);
_event.Invoke(StateChanged.Type.Reset, StateChanged.Source.Manual, state, actors, null);
}
public void ReapplyState(Actor actor)