feat: add multi-client mode

This commit is contained in:
Anna
2022-02-16 15:38:55 -05:00
parent eea455c51b
commit 458f4a673c
7 changed files with 73 additions and 9 deletions
+5
View File
@@ -142,6 +142,7 @@ internal sealed class Settings : IUiComponent {
|| Math.Abs(this.Mutable.JapaneseFontSize - this.Ui.Plugin.Config.JapaneseFontSize) > 0.001
|| Math.Abs(this.Mutable.SymbolsFontSize - this.Ui.Plugin.Config.SymbolsFontSize) > 0.001;
var langChanged = this.Mutable.LanguageOverride != this.Ui.Plugin.Config.LanguageOverride;
var sharedChanged = this.Mutable.SharedMode != this.Ui.Plugin.Config.SharedMode;
config.UpdateFrom(this.Mutable);
@@ -159,6 +160,10 @@ internal sealed class Settings : IUiComponent {
this.Ui.Plugin.LanguageChanged(this.Ui.Plugin.Interface.UiLanguage);
}
if (sharedChanged) {
this.Ui.Plugin.Store.Reconnect();
}
if (!this.Mutable.HideChat && hideChatChanged) {
GameFunctions.GameFunctions.SetChatInteractable(true);
}