20 lines
583 B
C#
20 lines
583 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace NeonSprawl.Server.Game.Combat;
|
|
|
|
/// <summary>JSON body for <c>POST /game/__dev/combat-targets-fixture</c> (NEO-83 Bruno/QA).</summary>
|
|
public sealed class CombatTargetFixtureRequest
|
|
{
|
|
public const int CurrentSchemaVersion = 1;
|
|
|
|
[JsonPropertyName("schemaVersion")]
|
|
public int SchemaVersion { get; init; }
|
|
}
|
|
|
|
/// <summary>JSON response when the dev combat-target fixture applies.</summary>
|
|
public sealed class CombatTargetFixtureResponse
|
|
{
|
|
[JsonPropertyName("applied")]
|
|
public required bool Applied { get; init; }
|
|
}
|