using System;
using System.Collections.Generic;
//using ProtoBuf;
//using Protocols.Base;
using UnityEngine;

/// <summary>
/// 战斗数据
/// </summary>
public class BattleData
{
    /// <summary>
    /// 地图
    /// </summary>
    public BattleMapData mapData;

    /// <summary>
    /// 玩家
    /// </summary>
    public List<BattlePlayerData> players;

    public DataConfig dataConfig;
}



/// <summary>
/// 战斗地图数据
/// </summary>
public class BattleMapData
{
    public int mapId{get; set;}
    
    /*/// <summary>
    /// 玩家编辑的物品
    /// </summary>
    public List<MapEditWidgetData> mapEditWidgets{ get; set; }*/
    
    public int mode{get; set;}
    public int targetScore{get; set;}
    public int limitTime{get; set;}

}

/// <summary>
/// 玩家编辑物体数据
/// </summary>
public class MapEditWidgetData
{
    public int editId { get; set; }
    public int entityType {get; set; }
}

/// <summary>
/// 玩家数据
/// </summary>
public class BattlePlayerData
{
    public long playerId;
    public string name;
    public int roleId;
    public float speed;
}