/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Combat\OptimalRoutesResponseDto.cs
 * Created: 2025-10-23
 * Last Modified: 2025-10-23
 * Description: Response DTO for optimal route calculations and pathfinding
 * Last Edit Notes: Individual file implementation for route optimization data
 */

namespace ShadowedRealms.Shared.DTOs.Combat
{
    /// <summary>
    /// Response DTO for optimal route calculations and pathfinding
    /// </summary>
    public class OptimalRoutesResponseDto
    {
        /// <summary>
        /// Player ID requesting route optimization
        /// </summary>
        public int PlayerId { get; set; }

        /// <summary>
        /// Starting coordinates for the route
        /// </summary>
        public Dictionary<string, decimal> StartCoordinates { get; set; } = new();

        /// <summary>
        /// Destination coordinates for the route
        /// </summary>
        public Dictionary<string, decimal> DestinationCoordinates { get; set; } = new();

        /// <summary>
        /// Primary optimal route with waypoints
        /// </summary>
        public Dictionary<string, object> PrimaryRoute { get; set; } = new();

        /// <summary>
        /// Alternative routes with different trade-offs
        /// </summary>
        public List<Dictionary<string, object>> AlternativeRoutes { get; set; } = new();

        /// <summary>
        /// Route analysis including distance, time, and safety
        /// </summary>
        public Dictionary<string, object> RouteAnalysis { get; set; } = new();

        /// <summary>
        /// Terrain effects and movement modifiers
        /// </summary>
        public Dictionary<string, decimal> TerrainEffects { get; set; } = new();

        /// <summary>
        /// Forest barrier impacts and speed reductions
        /// </summary>
        public Dictionary<string, object> ForestBarrierEffects { get; set; } = new();

        /// <summary>
        /// Stealth route options vs premium convenience routes
        /// </summary>
        public Dictionary<string, object> StealthRouteOptions { get; set; } = new();

        /// <summary>
        /// Resource costs for different route choices
        /// </summary>
        public Dictionary<string, Dictionary<string, long>> RouteCosts { get; set; } = new();

        /// <summary>
        /// When route calculations were performed
        /// </summary>
        public DateTime CalculationTime { get; set; }

        /// <summary>
        /// Additional pathfinding and optimization data
        /// </summary>
        public Dictionary<string, object> OptimizationData { get; set; } = new();
    }
}