17 lines
378 B
C#
17 lines
378 B
C#
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace LeagueAPI;
|
|
|
|
public readonly record struct LcuApiEvent
|
|
{
|
|
[JsonPropertyName("data")]
|
|
public JsonElement Data { get; init; }
|
|
|
|
[JsonPropertyName("eventType")]
|
|
public required string EventType { get; init; }
|
|
|
|
[JsonPropertyName("uri")]
|
|
public required string Uri { get; init; }
|
|
}
|