stub
This commit is contained in:
@@ -216,6 +216,7 @@ 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);
|
||||
}
|
||||
|
||||
@@ -342,6 +342,7 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
|
||||
break;
|
||||
|
||||
case PlayerChanges.Moodles:
|
||||
// TODO: send it to petnames ipc here instead
|
||||
await _ipcManager.Moodles.SetStatusAsync(handler.Address, charaData.MoodlesData).ConfigureAwait(false);
|
||||
break;
|
||||
|
||||
|
||||
@@ -122,6 +122,9 @@ public sealed class CacheCreationService : DisposableMediatorSubscriberBase
|
||||
MoodlesChanged();
|
||||
}
|
||||
});
|
||||
|
||||
// TODO: if event is needed for petnames add it here similar to moodles
|
||||
|
||||
Mediator.Subscribe<PenumbraModSettingChangedMessage>(this, (msg) =>
|
||||
{
|
||||
Logger.LogDebug("Received Penumbra Mod settings change, updating player");
|
||||
|
||||
Reference in New Issue
Block a user