2024-08-01 06:29:12 +00:00
|
|
|
|
namespace CodexPlugin.OverwatchSupport.LineConverters
|
|
|
|
|
{
|
|
|
|
|
public class DialSuccessfulLineConverter : ILineConverter
|
|
|
|
|
{
|
|
|
|
|
public string Interest => "Dial successful";
|
|
|
|
|
|
|
|
|
|
public void Process(CodexLogLine line, Action<Action<OverwatchCodexEvent>> addEvent)
|
|
|
|
|
{
|
|
|
|
|
var peerId = line.Attributes["peerId"];
|
|
|
|
|
|
|
|
|
|
addEvent(e =>
|
|
|
|
|
{
|
2024-08-01 07:09:30 +00:00
|
|
|
|
e.DialSuccessful = new PeerDialSuccessfulEvent
|
2024-08-01 06:29:12 +00:00
|
|
|
|
{
|
|
|
|
|
TargetPeerId = peerId
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|