Add project files.
This commit is contained in:
16
LeagueAPI/LeagueEvent.cs
Normal file
16
LeagueAPI/LeagueEvent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Text.Json.Nodes;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace LeagueAPI;
|
||||
|
||||
public record class LcuApiEvent
|
||||
{
|
||||
[JsonPropertyName("data")]
|
||||
public JsonNode? Data { get; init; }
|
||||
|
||||
[JsonPropertyName("eventType")]
|
||||
public string? EventType { get; init; }
|
||||
|
||||
[JsonPropertyName("uri")]
|
||||
public string? Uri { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user