27 lines
938 B
C#
27 lines
938 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace NeonSprawl.Server.Game.Quests;
|
|
|
|
/// <summary>POST body for <c>POST /game/players/{{id}}/__dev/quest-fixture</c> (NEO-137 Bruno/manual QA).</summary>
|
|
public sealed class QuestFixtureRequest
|
|
{
|
|
public const int CurrentSchemaVersion = 1;
|
|
|
|
[JsonPropertyName("schemaVersion")]
|
|
public int SchemaVersion { get; init; }
|
|
|
|
/// <summary>Quest ids to mark completed via store activate+complete (no reward delivery).</summary>
|
|
[JsonPropertyName("completedQuestIds")]
|
|
public IReadOnlyList<string> CompletedQuestIds { get; init; } = [];
|
|
|
|
/// <summary>Quest ids to clear from player progress (dev Bruno reset).</summary>
|
|
[JsonPropertyName("resetQuestIds")]
|
|
public IReadOnlyList<string> ResetQuestIds { get; init; } = [];
|
|
}
|
|
|
|
/// <summary>POST response for quest fixture apply.</summary>
|
|
public sealed class QuestFixtureResponse
|
|
{
|
|
public bool Applied { get; init; }
|
|
}
|