Merge slice/flagtracker-metas: quests, Mossy Tracker, meta sync
Resolved FeatureCatalog (both blocks kept; the main window's Tools buttons now open the Mossy Tracker and Metas panels). Tests from both sides adjusted to the combined plugin: quest tests look at quest frames only (chat is streamed too), and the stream tests ignore the /myquests request sent at login. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
2e5d768ca9
19 changed files with 3984 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
using OpenAC.MosswartMassacre.Backend;
|
||||
using OpenAC.MosswartMassacre.FlagTracker;
|
||||
using OpenAC.MosswartMassacre.Infrastructure;
|
||||
using OpenAC.MosswartMassacre.Metas;
|
||||
using OpenAC.MosswartMassacre.Quests;
|
||||
using OpenAC.MosswartMassacre.Streams;
|
||||
using OpenAC.MosswartMassacre.Trackers;
|
||||
|
||||
|
|
@ -27,7 +30,8 @@ internal static class FeatureCatalog
|
|||
features.Add(new VitalsStream(context));
|
||||
features.Add(new SpawnPortalStream(context));
|
||||
features.Add(new BotControl(context));
|
||||
features.Add(new Views.MainWindow(context, stats));
|
||||
var mainWindow = new Views.MainWindow(context, stats);
|
||||
features.Add(mainWindow);
|
||||
session.AddConnectionListener(telemetry);
|
||||
|
||||
// Cross-computer vital and debuff sharing.
|
||||
|
|
@ -47,5 +51,17 @@ internal static class FeatureCatalog
|
|||
else
|
||||
radar.Stop();
|
||||
};
|
||||
|
||||
// Quests, flag tracker, meta sync.
|
||||
var quests = new QuestManager(context);
|
||||
features.Add(quests);
|
||||
var flagTracker = new FlagTrackerFeature(context, quests);
|
||||
features.Add(flagTracker);
|
||||
var metas = new MetaSyncFeature(context);
|
||||
features.Add(metas);
|
||||
if (flagTracker.Panel is { } trackerPanel)
|
||||
mainWindow.FlagTrackerOpener = () => trackerPanel.IsVisible = true;
|
||||
if (metas.Panel is { } metasPanel)
|
||||
mainWindow.MetasOpener = () => metasPanel.IsVisible = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue