LcuWebsocket rework
This commit is contained in:
6 files changed
+166
-56
No files matched your search
@@ -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; }
|
||||
}
|
||||
Reference in new issue
Block a user