2024-07-25 08:30:20 +00:00
|
|
|
|
namespace OverwatchTranscript
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public class OverwatchTranscript
|
2024-07-25 08:30:20 +00:00
|
|
|
|
{
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public OverwatchHeader Header { get; set; } = new();
|
2024-08-01 14:25:28 +00:00
|
|
|
|
public OverwatchMomentReference[] MomentReferences { get; set; } = Array.Empty<OverwatchMomentReference>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class OverwatchMomentReference
|
|
|
|
|
{
|
|
|
|
|
public string MomentsFile { get; set; } = string.Empty;
|
|
|
|
|
public int NumberOfMoments { get; set; }
|
|
|
|
|
public int NumberOfEvents { get; set; }
|
|
|
|
|
public DateTime EarliestUtc { get; set; }
|
|
|
|
|
public DateTime LatestUtc { get; set; }
|
2024-07-25 08:30:20 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public class OverwatchHeader
|
2024-07-25 08:30:20 +00:00
|
|
|
|
{
|
2024-07-29 06:08:17 +00:00
|
|
|
|
public OverwatchCommonHeader Common { get; set; } = new();
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public OverwatchHeaderEntry[] Entries { get; set; } = Array.Empty<OverwatchHeaderEntry>();
|
2024-07-25 08:30:20 +00:00
|
|
|
|
}
|
|
|
|
|
|
2024-07-29 06:08:17 +00:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class OverwatchCommonHeader
|
|
|
|
|
{
|
2024-07-31 09:02:09 +00:00
|
|
|
|
public long NumberOfMoments { get; set; }
|
2024-07-29 06:08:17 +00:00
|
|
|
|
public long NumberOfEvents { get; set; }
|
2024-07-31 09:21:52 +00:00
|
|
|
|
public DateTime EarliestUtc { get; set; }
|
2024-07-29 06:08:17 +00:00
|
|
|
|
public DateTime LatestUtc { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-25 08:30:20 +00:00
|
|
|
|
[Serializable]
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public class OverwatchHeaderEntry
|
2024-07-25 08:30:20 +00:00
|
|
|
|
{
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public string Key { get; set; } = string.Empty;
|
|
|
|
|
public string Value { get; set; } = string.Empty;
|
2024-07-25 08:30:20 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
2024-07-26 08:56:22 +00:00
|
|
|
|
public class OverwatchMoment
|
2024-07-25 08:30:20 +00:00
|
|
|
|
{
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public DateTime Utc { get; set; }
|
2024-07-26 08:56:22 +00:00
|
|
|
|
public OverwatchEvent[] Events { get; set; } = Array.Empty<OverwatchEvent>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class OverwatchEvent
|
|
|
|
|
{
|
2024-07-25 13:12:25 +00:00
|
|
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
|
public string Payload { get; set; } = string.Empty;
|
2024-07-25 08:30:20 +00:00
|
|
|
|
}
|
2024-07-25 13:12:25 +00:00
|
|
|
|
}
|