/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Combat\BattleExecutionResponseDto.cs
 * Created: 2025-10-19
 * Last Modified: 2025-10-19
 * Description: Response DTO for battle execution results
 * Last Edit Notes: Individual file implementation for battle execution results
 */

namespace ShadowedRealms.Shared.DTOs.Combat
{
    /// <summary>
    /// Response DTO for battle execution results
    /// </summary>
    public class BattleExecutionResponseDto
    {
        /// <summary>
        /// Unique battle identifier
        /// </summary>
        public int BattleId { get; set; }

        /// <summary>
        /// Attacking player in the battle
        /// </summary>
        public int AttackerPlayerId { get; set; }

        /// <summary>
        /// Defending player in the battle
        /// </summary>
        public int DefenderPlayerId { get; set; }

        /// <summary>
        /// Winner of the battle
        /// </summary>
        public string Winner { get; set; } = string.Empty;

        /// <summary>
        /// Complete battle results and statistics
        /// </summary>
        public Dictionary<string, object> BattleResults { get; set; } = new();

        /// <summary>
        /// Experience gains for participants
        /// </summary>
        public Dictionary<string, object> ExperienceGains { get; set; } = new();

        /// <summary>
        /// Resource transfers from battle
        /// </summary>
        public Dictionary<string, object> ResourceTransfers { get; set; } = new();

        /// <summary>
        /// When the battle was completed
        /// </summary>
        public DateTime BattleTime { get; set; }
    }
}