mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:47:22 +01:00
add moodles integration (temporary)
This commit is contained in:
parent
8bfbf4b582
commit
e94a2a7565
13 changed files with 183 additions and 26 deletions
|
|
@ -52,6 +52,12 @@ public class PluginWarningNotificationService
|
|||
warning.ShownHonorificWarning = true;
|
||||
}
|
||||
|
||||
if (changes.Contains(PlayerChanges.Moodles) && !warning.ShownMoodlesWarning && !_ipcManager.Moodles.APIAvailable)
|
||||
{
|
||||
missingPluginsForData.Add("Moodles");
|
||||
warning.ShownMoodlesWarning = true;
|
||||
}
|
||||
|
||||
if (missingPluginsForData.Any())
|
||||
{
|
||||
_mediator.Publish(new NotificationMessage("Missing plugins for " + playerName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue