mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 19:54:15 +01:00
Pet Nicknames IPC implementation (#74)
* Pet Nicknames IPC implementation * Moodles works again
This commit is contained in:
parent
9c954471fb
commit
bf338ec697
7 changed files with 168 additions and 12 deletions
|
|
@ -216,9 +216,11 @@ public class PlayerDataFactory
|
|||
_logger.LogDebug("Heels is now: {heels}", previousData.HeelsData);
|
||||
if (objectKind == ObjectKind.Player)
|
||||
{
|
||||
// TODO: use petnames here and save it to moodles data for temporary transfer
|
||||
previousData.MoodlesData = await _ipcManager.Moodles.GetStatusAsync(playerRelatedObject.Address).ConfigureAwait(false) ?? string.Empty;
|
||||
_logger.LogDebug("Moodles is now: {moodles}", previousData.MoodlesData);
|
||||
|
||||
previousData.MoodlesData = _ipcManager.PetNames.GetLocalNames();
|
||||
_logger.LogDebug("Pet Nicknames is now: {moodles}", previousData.MoodlesData);
|
||||
}
|
||||
|
||||
if (previousData.FileReplacements.TryGetValue(objectKind, out HashSet<FileReplacement>? fileReplacements))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue