mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 20:26:00 +08:00
34ba4ded08
Added StreamStarted and StreamEnded Close #269
24 lines
639 B
C#
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; }
|
|
}
|
|
}
|