using UnityEngine;

namespace FL.Battle.Skills
{
    public struct GenBulletDto
    {
        /// <summary>
        /// 延迟播放
        /// 单位:毫秒
        /// </summary>
        public int delay;
        /// <summary>
        /// 子弹主人的EntityId
        /// </summary>
        public long masterId;
        /// <summary>
        /// 召唤物主人类型
        /// </summary>
        public EEntityType masterType;
        /// <summary>
        /// 目标的EntityId
        /// </summary>
        public long targetId;
        /// <summary>
        /// 子弹表的Id
        /// </summary>
        public int tableId;
        /// <summary>
        /// 子弹出生点坐标
        /// </summary>
        public Vector3 from;
        /// <summary>
        /// 目标的坐标
        /// 子弹还未到达之前，目标可能就已经死亡
        /// </summary>
        public Vector3 to;
    }
}
