mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 18:47:23 +01:00
add moodles integration (temporary)
This commit is contained in:
parent
8bfbf4b582
commit
e94a2a7565
13 changed files with 183 additions and 26 deletions
|
|
@ -40,6 +40,7 @@ public record HeelsOffsetMessage : MessageBase;
|
|||
public record PenumbraResourceLoadMessage(IntPtr GameObject, string GamePath, string FilePath) : SameThreadMessage;
|
||||
public record CustomizePlusMessage(string ProfileName) : MessageBase;
|
||||
public record HonorificMessage(string NewHonorificTitle) : MessageBase;
|
||||
public record MoodlesMessage(IntPtr Address) : MessageBase;
|
||||
public record HonorificReadyMessage : MessageBase;
|
||||
public record PlayerChangedMessage(CharacterData Data) : MessageBase;
|
||||
public record CharacterChangedMessage(GameObjectHandler GameObjectHandler) : MessageBase;
|
||||
|
|
|
|||
|
|
@ -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