GenBulletDto.cs 928 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using UnityEngine;
  2. namespace FL.Battle.Skills
  3. {
  4. public struct GenBulletDto
  5. {
  6. /// <summary>
  7. /// 延迟播放
  8. /// 单位:毫秒
  9. /// </summary>
  10. public int delay;
  11. /// <summary>
  12. /// 子弹主人的EntityId
  13. /// </summary>
  14. public long masterId;
  15. /// <summary>
  16. /// 召唤物主人类型
  17. /// </summary>
  18. public EEntityType masterType;
  19. /// <summary>
  20. /// 目标的EntityId
  21. /// </summary>
  22. public long targetId;
  23. /// <summary>
  24. /// 子弹表的Id
  25. /// </summary>
  26. public int tableId;
  27. /// <summary>
  28. /// 子弹出生点坐标
  29. /// </summary>
  30. public Vector3 from;
  31. /// <summary>
  32. /// 目标的坐标
  33. /// 子弹还未到达之前,目标可能就已经死亡
  34. /// </summary>
  35. public Vector3 to;
  36. }
  37. }