2024-04-30 10:42:46 +02:00
|
|
|
using System.Text.Json;
|
2024-04-07 01:27:11 +02:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
2024-04-10 19:25:45 +02:00
|
|
|
namespace TanksServer.Interactivity;
|
2024-04-07 01:27:11 +02:00
|
|
|
|
|
|
|
[JsonSerializable(typeof(Player))]
|
2024-04-13 18:35:36 +02:00
|
|
|
[JsonSerializable(typeof(IEnumerable<Player>))]
|
2024-04-16 18:55:34 +02:00
|
|
|
[JsonSerializable(typeof(IEnumerable<string>))]
|
2024-04-22 19:03:07 +02:00
|
|
|
[JsonSerializable(typeof(PlayerInfo))]
|
2024-04-30 10:42:46 +02:00
|
|
|
[JsonSourceGenerationOptions(JsonSerializerDefaults.Web)]
|
2024-04-13 14:08:51 +02:00
|
|
|
internal sealed partial class AppSerializerContext : JsonSerializerContext;
|