using Fantasy;
using Fantasy.Entitas;
using Unity.Mathematics;

namespace NB.Map;

/// <summary>
/// 地图玩家单元
/// </summary>
public class MapUnit : Entity
{
    /// <summary>
    /// 角色基础信息
    /// </summary>
    public RoleSimpleInfo Info;

    /// <summary>
    /// 位置
    /// </summary>
    public float3 Position;

    /// <summary>
    /// 旋转
    /// </summary>
    public float3 Rotation;

    /// <summary>
    /// 当前所在地图id
    /// </summary>
    public int MapId;

    /// <summary>
    /// 当前所在的房间id
    /// </summary>
    public int RoomId;

    public long GateRouteId;

    /// <summary>
    /// 钓组信息
    /// </summary>
    public List<MapUnitGear> Gears = new List<MapUnitGear>();
}