LcuWebsocket rework

This commit is contained in:
SacredFloof committed 2026-11-15 12:27:36 +01:00
1 parent 383f05dfdc
commit 07ac3f5cfd
6 files changed
+166 -56

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
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; }
}