BililiveRecorder/BililiveRecorder.Core/Event/RecordFileOpeningEventArgs.cs
genteure 34ba4ded08 Add more webhook types
Added StreamStarted and StreamEnded
Close #269
2022-05-17 18:08:53 +08:00

24 lines
639 B
C#

using System;
using BililiveRecorder.Core.SimpleWebhook;
using Newtonsoft.Json;
namespace BililiveRecorder.Core.Event
{
/// <summary>
/// <see cref="EventType.FileOpening"/>
/// </summary>
public sealed class RecordFileOpeningEventArgs : RecordEventArgsBase, IRecordSessionEventArgs
{
internal RecordFileOpeningEventArgs(IRoom room) : base(room) { }
public Guid SessionId { get; set; }
[JsonIgnore]
public string FullPath { get; set; } = string.Empty;
public string RelativePath { get; set; } = string.Empty;
public DateTimeOffset FileOpenTime { get; set; }
}
}