messagetype.proto 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. syntax = "proto2";
  2. package messagetype;
  3. enum MessageType {
  4. //加入房间
  5. CGJoinRoomType = 2001;
  6. GCJoinRoomType = 2002;
  7. GCJoinRoomBroadcastType =2003;
  8. //选择庄家
  9. GCSelectBankerBroadcastType = 2004;
  10. //发牌
  11. GCDealCardsType = 2005;
  12. //打牌
  13. CGPlayerPlayCardType =2006;
  14. //打牌
  15. GCPlayerPlayCardType = 2007;
  16. //玩家操作
  17. GCPlayerOperationsType =2008;
  18. //等候玩家出牌
  19. GCWaitPlayerPlayCardType=2009;
  20. //进贡
  21. CGPlayerJinGongType=2010;
  22. GCPlayerJinGongBroadcastType=2011;
  23. CGPlayerHuanGongType=2012;
  24. GCPlayerHuanGongBroadcastType=2013;
  25. GCPlayerKangGongBroadcastType=2014;
  26. //等待玩家进贡
  27. GCWaitPlayerJinGongBroadcastType=2015;
  28. GCWaitPlayerHuanGongBroadcastType=2016;
  29. //玩家操作
  30. CGPlayerOperateType= 2017;
  31. //清理当前圈,确定一轮最大者后发的消息
  32. GCClearCircleBroadcastType = 2018;
  33. //清理桌面
  34. GCClearType = 2019;
  35. //重新连接
  36. GCReconnectPlayerType=2020;
  37. //断开连接
  38. GCDisconnectPlayerType=2021;
  39. CGDisconnectPlayerType = 2022;
  40. //离开房间
  41. CGPlayerLeaveType=2023;
  42. //离开房间
  43. GCPlayerLeaveType=2024;
  44. //准备开始
  45. CGPlayerStartType=2025;
  46. //准备开始
  47. GCPlayerStartType=2026;
  48. //申请解散
  49. CGPlayerDissolveType=2027;
  50. //申请解散
  51. GCPlayerDissolveType=2028;
  52. //申请解散 同意或不同意
  53. CGPlayerDissolveAgreeType=2029;
  54. //申请解散 同意或不同意
  55. GCPlayerDissolveAgreeType=2030;
  56. //总结算
  57. GCTotalSettleType=2031;
  58. //开金
  59. GCPlayerKaiJinType=2032;
  60. //托管
  61. GCPlayerTuoGuan = 2033;
  62. //取消托管
  63. CGPlayerCancelTuoGuan = 2034;
  64. GCPlayerCancelTuoGuan=2035;
  65. GCRoomRoundStartType=2036;
  66. //流局
  67. GCLiuJuType =2037;
  68. GCLastBroadcastType=2038;
  69. GCPlayerYouType=2039;
  70. GCPlayerEmptyBroadcastType=2040;
  71. //玩家报牌,剩余牌数
  72. GCPlayerRemainCardBroadcastType=2041;
  73. //金币场时一开始的是否翻倍
  74. GCPlayerDoubleBroadcastType=2042;
  75. //团团转中的分组展示卡
  76. GCTuanTuanZhuanShowCardBroadcastType=2043;
  77. //对家牌下发,即玩家打完牌后显示对家手牌
  78. GCOppositePlayerCardType=2044;
  79. //玩家发送是否加倍
  80. CGPlayerDoubleType=2047;
  81. //玩家打牌后的广播
  82. GCPlayerPlayCardBroadcastType=2048;
  83. //等待加倍
  84. GCWaitPlayerDoubleType=2049;
  85. //炸弹加倍局的时候炸弹翻倍
  86. GCBombDoubleType=2050;
  87. //接风
  88. GCJieFengBroadcastType=2051;
  89. //开始理牌
  90. GCStartArrangeCardBroadcastType=2052;
  91. //结束理牌
  92. GCEndArrangeCardBroadcastType=2053;
  93. //剩余手牌
  94. GCRestCardBroadcastType=2054;
  95. //聊天
  96. CGChatType = 3001;
  97. GCChatType=3002;
  98. //业务错误提示
  99. GCErrorNoticeType=4001;
  100. //断开链接信息
  101. GCKickOutReasonType=4002;
  102. }