23 lines
596 B
C#
Raw Permalink Normal View History

using LogosStorageClient;
2025-01-16 13:51:29 +01:00
namespace StoragePlugin.OverwatchSupport.LineConverters
2024-08-01 08:29:12 +02:00
{
public class DialSuccessfulLineConverter : ILineConverter
{
public string Interest => "Dial successful";
public void Process(LogosStorageLogLine line, Action<Action<OverwatchLogosStorageEvent>> addEvent)
2024-08-01 08:29:12 +02:00
{
var peerId = line.Attributes["peerId"];
addEvent(e =>
{
e.DialSuccessful = new PeerDialSuccessfulEvent
2024-08-01 08:29:12 +02:00
{
TargetPeerId = peerId
};
});
}
}
}