星火直播PC
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.

SocketModel.cs 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace XHZB.Model
  7. {
  8. public class SocketModel
  9. {
  10. /// <summary>
  11. /// 互动类型
  12. /// </summary>
  13. public int c { get; set; }
  14. /// <summary>
  15. /// 直播间编号
  16. /// </summary>
  17. public int rid { get; set; }
  18. /// <summary>
  19. /// 发送者ID
  20. /// </summary>
  21. public int f { get; set; }
  22. /// <summary>
  23. /// 接收者id
  24. /// </summary>
  25. public List<int> t { set; get; }//对象
  26. /// <summary>
  27. /// 设备类型
  28. /// </summary>
  29. public string d { get; set; }
  30. /// <summary>
  31. /// 用户类型 1老师 2学生
  32. /// </summary>
  33. public int u { get; set; }
  34. /// <summary>
  35. /// 错误信息
  36. /// </summary>
  37. public int m { get; set; }
  38. /// <summary>
  39. /// 是否群发 0不发 1发
  40. /// </summary>
  41. public int s { get; set; }
  42. /// <summary>
  43. /// 消息内容
  44. /// </summary>
  45. public BodyModel b { get; set; }
  46. }
  47. }