30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
namespace NeonSprawl.Server.Game.PositionState;
|
|
|
|
/// <summary>
|
|
/// Binds the <c>Game</c> configuration section (dev player seed for local authority).
|
|
/// </summary>
|
|
public sealed class GamePositionOptions
|
|
{
|
|
public const string SectionName = "Game";
|
|
|
|
/// <summary>Logical player id seeded in the in-memory store (URL-safe string).</summary>
|
|
public string DevPlayerId { get; set; } = "dev-local-1";
|
|
|
|
/// <summary>Additional player ids seeded with default position and empty progression/perk state (Bruno/manual QA).</summary>
|
|
public List<string> FixturePlayerIds { get; set; } = [];
|
|
|
|
/// <summary>World position for the dev player at process start.</summary>
|
|
public DefaultPositionOptions DefaultPosition { get; set; } = new();
|
|
|
|
/// <summary>NS-19: per-command step limits and optional district bounds.</summary>
|
|
public MovementValidationOptions MovementValidation { get; set; } = new();
|
|
}
|
|
|
|
/// <summary>Default spawn coordinates for the configured dev player.</summary>
|
|
public sealed class DefaultPositionOptions
|
|
{
|
|
public double X { get; set; }
|
|
public double Y { get; set; }
|
|
public double Z { get; set; }
|
|
}
|