You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
947 B

2 years ago
  1. namespace Euro.Transfer
  2. {
  3. public enum MessageType
  4. {
  5. /// <summary>
  6. /// 廣播
  7. /// </summary>
  8. SendBroadcast,
  9. /// <summary>
  10. /// 發送給自己
  11. /// </summary>
  12. SendToMe,
  13. /// <summary>
  14. /// 發送給連線人員
  15. /// </summary>
  16. SendToConnectionId,
  17. /// <summary>
  18. /// 發送給制定人員ID
  19. /// </summary>
  20. SendToUser,
  21. /// <summary>
  22. /// 發送給制定多個人員ID
  23. /// </summary>
  24. SendToUsers,
  25. /// <summary>
  26. /// 發送給制定群組
  27. /// </summary>
  28. SendToGroup,
  29. /// <summary>
  30. /// 進入某個群組
  31. /// </summary>
  32. JoinGroup,
  33. /// <summary>
  34. /// 推出某個群組
  35. /// </summary>
  36. LeaveGroup,
  37. /// <summary>
  38. /// 拋出異常
  39. /// </summary>
  40. Throw
  41. }
  42. }