重写消息
This commit is contained in:
parent
dbcecc8d59
commit
c2c836d6e6
@ -16,7 +16,7 @@ enum ChatType
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 聊天消息
|
// 聊天消息
|
||||||
message C2SChat
|
message ReqChat
|
||||||
{
|
{
|
||||||
ChatUser src_user = 1; // 说话的人
|
ChatUser src_user = 1; // 说话的人
|
||||||
ChatUser dst_user = 2; // 接收者
|
ChatUser dst_user = 2; // 接收者
|
||||||
|
@ -80,44 +80,44 @@ enum ColorGameStatus
|
|||||||
// 等待状态下房间显示信息
|
// 等待状态下房间显示信息
|
||||||
message ColorRoomWaitStart
|
message ColorRoomWaitStart
|
||||||
{
|
{
|
||||||
NotifyColorTrend Trends = 1; // 路途显示
|
NtfColorTrend Trends = 1; // 路途显示
|
||||||
}
|
}
|
||||||
|
|
||||||
// 开始房间显示信息
|
// 开始房间显示信息
|
||||||
message ColorRoomStart
|
message ColorRoomStart
|
||||||
{
|
{
|
||||||
NotifyColorGameStart start = 1;
|
NtfColorGameStart start = 1;
|
||||||
NotifyColorTrend Trends = 2; // 路途显示
|
NtfColorTrend Trends = 2; // 路途显示
|
||||||
}
|
}
|
||||||
|
|
||||||
// 下注显示信息
|
// 下注显示信息
|
||||||
message ColorRoomBetting
|
message ColorRoomBetting
|
||||||
{
|
{
|
||||||
NotifyColorBetAreaInfo betAreaInfo = 1; // 每个投注区域的下注人数,下注金额显示
|
NtfColorBetAreaInfo betAreaInfo = 1; // 每个投注区域的下注人数,下注金额显示
|
||||||
}
|
}
|
||||||
|
|
||||||
// 结束下注显示信息
|
// 结束下注显示信息
|
||||||
message ColorRoomEndBet
|
message ColorRoomEndBet
|
||||||
{
|
{
|
||||||
NotifyColorEndBetting areaMul = 1; // 结束下注后,更新每个投注区域的赔率
|
NtfColorEndBetting areaMul = 1; // 结束下注后,更新每个投注区域的赔率
|
||||||
NotifyColorBetAreaInfo betAreaInfo = 2; // 每个投注区域的下注人数,下注金额显示
|
NtfColorBetAreaInfo betAreaInfo = 2; // 每个投注区域的下注人数,下注金额显示
|
||||||
NotifyColorBigUser bigUser = 3; // 大客数据
|
NtfColorBigUser bigUser = 3; // 大客数据
|
||||||
}
|
}
|
||||||
|
|
||||||
// 开骰子显示信息
|
// 开骰子显示信息
|
||||||
message ColorRoomOpenThreeDice
|
message ColorRoomOpenThreeDice
|
||||||
{
|
{
|
||||||
NotifyColorOpenThreeDice dices = 1;
|
NtfColorOpenThreeDice dices = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 结算信息
|
// 结算信息
|
||||||
message ColorRoomSettle
|
message ColorRoomSettle
|
||||||
{
|
{
|
||||||
NotifyColorSettle settle = 1;
|
NtfColorSettle settle = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 进房间发送房间当前所有信息及状态
|
// 进房间发送房间当前所有信息及状态
|
||||||
message NotifyColorRoomInfo
|
message NtfColorRoomInfo
|
||||||
{
|
{
|
||||||
ColorGameStatus status = 1;
|
ColorGameStatus status = 1;
|
||||||
int64 endTime = 2; // 该状态结束时间
|
int64 endTime = 2; // 该状态结束时间
|
||||||
@ -132,13 +132,13 @@ message NotifyColorRoomInfo
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
message NotifyColorGameStart
|
message NtfColorGameStart
|
||||||
{
|
{
|
||||||
int64 endTime = 1; // 倒计时3秒后游戏开始,endTime = statusTime+3秒
|
int64 endTime = 1; // 倒计时3秒后游戏开始,endTime = statusTime+3秒
|
||||||
int64 jackpot = 2; // jackpot池
|
int64 jackpot = 2; // jackpot池
|
||||||
}
|
}
|
||||||
|
|
||||||
message NotifyColorBetting
|
message NtfColorBetting
|
||||||
{
|
{
|
||||||
int64 endTime = 1; // 结束时间
|
int64 endTime = 1; // 结束时间
|
||||||
}
|
}
|
||||||
@ -158,7 +158,7 @@ message RspColorBetting
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新投注区域信息
|
// 更新投注区域信息
|
||||||
message NotifyColorBetAreaInfo
|
message NtfColorBetAreaInfo
|
||||||
{
|
{
|
||||||
message BetAreaInfo
|
message BetAreaInfo
|
||||||
{
|
{
|
||||||
@ -188,14 +188,14 @@ message ColorBetAreaMul
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 结束投注
|
// 结束投注
|
||||||
message NotifyColorEndBetting
|
message NtfColorEndBetting
|
||||||
{
|
{
|
||||||
int64 endTime = 1; // 结束时间
|
int64 endTime = 1; // 结束时间
|
||||||
repeated ColorBetAreaMul areaMul = 2; // 更新区域实际赔率
|
repeated ColorBetAreaMul areaMul = 2; // 更新区域实际赔率
|
||||||
int64 jackpot = 3; // 下注结束,更新jackpot值
|
int64 jackpot = 3; // 下注结束,更新jackpot值
|
||||||
}
|
}
|
||||||
|
|
||||||
message NotifyColorOpenThreeDice
|
message NtfColorOpenThreeDice
|
||||||
{
|
{
|
||||||
repeated ColorType color = 1; // 骰子开出颜色 3个
|
repeated ColorType color = 1; // 骰子开出颜色 3个
|
||||||
int32 aniRouteIndex = 3; // 动画路径
|
int32 aniRouteIndex = 3; // 动画路径
|
||||||
@ -204,7 +204,7 @@ message NotifyColorOpenThreeDice
|
|||||||
|
|
||||||
|
|
||||||
// 玩家结算信息
|
// 玩家结算信息
|
||||||
message NotifyColorSettle
|
message NtfColorSettle
|
||||||
{
|
{
|
||||||
message UserBetAreaMul
|
message UserBetAreaMul
|
||||||
{
|
{
|
||||||
@ -233,14 +233,14 @@ message ColorUser {
|
|||||||
|
|
||||||
|
|
||||||
// 结束下注,更新大客投注信息
|
// 结束下注,更新大客投注信息
|
||||||
message NotifyColorBigUser
|
message NtfColorBigUser
|
||||||
{
|
{
|
||||||
repeated ColorBigUser bigUser = 34; // 大客投注
|
repeated ColorBigUser bigUser = 34; // 大客投注
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 路途展示
|
// 路途展示
|
||||||
message NotifyColorTrend
|
message NtfColorTrend
|
||||||
{
|
{
|
||||||
message ColorRate
|
message ColorRate
|
||||||
{
|
{
|
||||||
@ -260,13 +260,13 @@ message ColorBigUser
|
|||||||
repeated int64 areaId = 3; // 赢钱区域(前6个)
|
repeated int64 areaId = 3; // 赢钱区域(前6个)
|
||||||
}
|
}
|
||||||
|
|
||||||
message NotifyColorKickOutUser
|
message NtfColorKickOutUser
|
||||||
{
|
{
|
||||||
ErrCode code = 1; // 踢出原因
|
ErrCode code = 1; // 踢出原因
|
||||||
}
|
}
|
||||||
|
|
||||||
// 系统维护或流局
|
// 系统维护或流局
|
||||||
message NotifyColorMaintain
|
message NtfColorMaintain
|
||||||
{
|
{
|
||||||
string msg = 2; // 维护消息
|
string msg = 2; // 维护消息
|
||||||
int64 gold = 3; // 玩家金币重置为该值
|
int64 gold = 3; // 玩家金币重置为该值
|
||||||
|
@ -5,7 +5,7 @@ option go_package = "common/proto/pb";
|
|||||||
import "code.proto";
|
import "code.proto";
|
||||||
|
|
||||||
// 玩家登陆
|
// 玩家登陆
|
||||||
message C2SUserLogin
|
message ReqUserLogin
|
||||||
{
|
{
|
||||||
string username = 1; // 用户名
|
string username = 1; // 用户名
|
||||||
string password = 2; // 密码或token
|
string password = 2; // 密码或token
|
||||||
@ -14,7 +14,7 @@ message C2SUserLogin
|
|||||||
string version = 10; // 版本
|
string version = 10; // 版本
|
||||||
}
|
}
|
||||||
|
|
||||||
message S2CUserLogin
|
message RspUserLogin
|
||||||
{
|
{
|
||||||
ErrCode code = 1;
|
ErrCode code = 1;
|
||||||
int64 user_id = 2;
|
int64 user_id = 2;
|
||||||
@ -28,12 +28,12 @@ message NtfUserOnline
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 玩家登陆
|
// 玩家登陆
|
||||||
message C2SUserLogout
|
message ReqUserLogout
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message S2CUserLogout
|
message RspUserLogout
|
||||||
{
|
{
|
||||||
ErrCode code = 1; // 登出原因
|
ErrCode code = 1; // 登出原因
|
||||||
}
|
}
|
||||||
|
@ -6,14 +6,14 @@ import "code.proto";
|
|||||||
import "user.proto";
|
import "user.proto";
|
||||||
|
|
||||||
// 房间匹配
|
// 房间匹配
|
||||||
message C2SMatchRoom
|
message ReqMatchRoom
|
||||||
{
|
{
|
||||||
int32 PlayType = 1; // 玩法id
|
int32 PlayType = 1; // 玩法id
|
||||||
int32 RoomType = 2; // 房间类型,低级,中级,高级等
|
int32 RoomType = 2; // 房间类型,低级,中级,高级等
|
||||||
}
|
}
|
||||||
|
|
||||||
// 玩家进房间返回 匹配服返回该消息,假房间。匹配成功后发给对应玩法服,玩法服发NotifyUserEnterRoom才是真房间
|
// 玩家进房间返回 匹配服返回该消息,假房间。匹配成功后发给对应玩法服,玩法服发NotifyUserEnterRoom才是真房间
|
||||||
message S2CMatchRoom
|
message RspMatchRoom
|
||||||
{
|
{
|
||||||
// color玩法配置信息
|
// color玩法配置信息
|
||||||
message ColorInfo
|
message ColorInfo
|
||||||
|
@ -4,7 +4,7 @@ option go_package = "common/proto/pb";
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
命名规则:
|
命名规则:
|
||||||
1. 所有消息id都在msgId.proto的MsgId中定义,前缀需有C2S,S2C,Ntf三种之一,后缀统一为Id
|
1. 所有消息id都在msgId.proto的MsgId中定义,前缀需有Req,Rsp,Ntf三种之一,后缀统一为Id
|
||||||
2. 所有错误码都在code.proto的ErrCode中定义
|
2. 所有错误码都在code.proto的ErrCode中定义
|
||||||
3. 所有消息名为对应消息id去掉后缀Id组成
|
3. 所有消息名为对应消息id去掉后缀Id组成
|
||||||
*/
|
*/
|
||||||
@ -15,58 +15,36 @@ enum MsgId
|
|||||||
NtfMaintainId = 1000; // 通知维护
|
NtfMaintainId = 1000; // 通知维护
|
||||||
|
|
||||||
// 聊天服 2000-2099
|
// 聊天服 2000-2099
|
||||||
C2SChatId = 2000; // 玩家聊天消息
|
ReqChatId = 2000; // 玩家聊天消息
|
||||||
S2CChatId = 2001; // 复用C2SChatMsg
|
RspChatId = 2001; // 复用C2SChatMsg
|
||||||
|
|
||||||
// 登陆服 2100-2199
|
// 登陆服 2100-2199
|
||||||
C2SUserLoginId = 2100; // 玩家登陆
|
ReqUserLoginId = 2100; // 玩家登陆
|
||||||
S2CUserLoginId = 2101;
|
RspUserLoginId = 2101;
|
||||||
NtfUserOnlineId = 2102;
|
NtfUserOnlineId = 2102;
|
||||||
C2SUserLogoutId = 2104;
|
ReqUserLogoutId = 2104;
|
||||||
S2CUserLogoutId = 2105;
|
RspUserLogoutId = 2105;
|
||||||
NtfUserOfflineId = 2106;
|
NtfUserOfflineId = 2106;
|
||||||
|
|
||||||
// 匹配服 2200-2299
|
// 匹配服 2200-2299
|
||||||
C2SMatchRoomId = 2200; // 匹配服
|
ReqMatchRoomId = 2200; // 匹配服
|
||||||
S2CMatchRoomId = 2201;
|
RspMatchRoomId = 2201;
|
||||||
NtfUserEnterRoomId = 2202; // 玩家进入房间 所有玩法共用此消息
|
NtfUserEnterRoomId = 2202; // 玩家进入房间 所有玩法共用此消息
|
||||||
|
|
||||||
// color game 2300-2499
|
// color game 2300-2399
|
||||||
ColorPinoyLiveNoticeGameSync = 201;
|
NtfColorRoomInfoId = 2300;
|
||||||
ColorPinoyLiveNoticeGameReady = 202;
|
NtfColorGameStartId = 2305;
|
||||||
ColorPinoyLiveNoticeGameStart = 203;
|
NtfColorBettingId = 2310;
|
||||||
ColorPinoyLiveNoticeGameStartBet = 204;
|
ReqColorBettingId = 2315;
|
||||||
ColorPinoyLiveNoticeGameEndBet = 205;
|
RspColorBettingId = 2320;
|
||||||
ColorPinoyLiveNoticeGameOpenLuckyDice = 206;
|
NtfColorBetAreaInfoId = 2325;
|
||||||
ColorPinoyLiveNoticeGameOpenThreeDice = 207;
|
NtfColorEndBettingId = 2330;
|
||||||
ColorPinoyLiveNoticeGameUserSettle = 208; // 用户自己结算返回
|
NtfColorOpenThreeDiceId = 2335;
|
||||||
ColorPinoyLiveNoticeGameSettle = 209; // 广播本局结算信息
|
NtfColorSettleId = 2340;
|
||||||
ColorPinoyLiveNoticeGameSeatUserBet = 210; // 广播座位上的玩家下注信息
|
NtfColorBigUserId = 2345;
|
||||||
ColorPinoyLiveNoticeGameUserBet = 211; // 玩家下注成功返回
|
NtfColorTrendId = 2350;
|
||||||
ColorPinoyLiveNoticeGameTrendInfo = 212; // 走势图
|
NtfColorKickOutUserId = 2355;
|
||||||
ColorPinoyLiveNoticePlayerLeaveNtf = 213; // 离开广播
|
NtfColorMaintainId = 2360;
|
||||||
ColorPinoyLiveNoticeOnlinePlayerNum = 214; // 在线玩家数量
|
|
||||||
ColorPinoyLiveNoticeUpdateRoomInfo = 215; // 更新房间信息 1秒一次
|
|
||||||
ColorPinoyLiveNoticeUndoBet = 216; // 撤销下注
|
|
||||||
ColorPinoyLiveNoticeBetFail = 217; // 下注失败 撤销下注失败 ...
|
|
||||||
ColorPinoyLiveNoticeKickOutUser = 218; // 踢出玩家发送原因
|
|
||||||
ColorPinoyLiveNoticeRoomBetRuleMsg = 219; // 推送玩家下注规则
|
|
||||||
ColorPinoyLiveNoticePlayerUseProps = 220; // 推送玩家使用道具
|
|
||||||
ColorPinoyLiveNoticePlayerBetEndResultFailed = 221; // 推送玩家结束下注时扣钱失败
|
|
||||||
ColorPinoyLiveNoticeGameMainte = 222; // 推送游戏维护 ColorPinoyLiveMainteNtf
|
|
||||||
ColorPinoyLiveNoticeDiscard = 223; // 推送废弃 ColorPinoyLiveMainteNtf
|
|
||||||
ColorPinoyLiveNoticeRankList = 224; // 推送排行榜 ColorPinoyLiveRankList
|
|
||||||
ColorPinoyLiveNoticeGameBigWinner = 225; // 大客投注信息
|
|
||||||
ColorPinoyLiveNoticeDealerName = 226; // 设置或清空主播名字
|
|
||||||
ColorPinoyLiveNoticeBigOddBetArea = 228; // 下注结束后更新区域爆奖信息
|
|
||||||
|
|
||||||
ColorPinoyLiveApplyBetChips = 101; // 下注信息
|
|
||||||
ColorPinoyLiveApplyGetTrend = 102; //获取走势图
|
|
||||||
ColorPinoyLiveApplyBetDouble = 104; //一键翻倍押注
|
|
||||||
ColorPinoyLiveApplyUndoBet = 105; //撤回押注
|
|
||||||
|
|
||||||
ColorPinoyLiveApplyLeave = 107; //申请离开
|
|
||||||
ColorPinoyLiveApplyBetAgain = 108; //申请重复下注
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -22,7 +22,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// 命名规则:
|
// 命名规则:
|
||||||
// 1. 所有消息id都在msgId.proto的MsgId中定义,前缀需有C2S,S2C,Ntf三种之一,后缀统一为Id
|
// 1. 所有消息id都在msgId.proto的MsgId中定义,前缀需有Req,Rsp,Ntf三种之一,后缀统一为Id
|
||||||
// 2. 所有错误码都在code.proto的ErrCode中定义
|
// 2. 所有错误码都在code.proto的ErrCode中定义
|
||||||
// 3. 所有消息名为对应消息id去掉后缀Id组成
|
// 3. 所有消息名为对应消息id去掉后缀Id组成
|
||||||
type MsgId int32
|
type MsgId int32
|
||||||
@ -31,53 +31,33 @@ const (
|
|||||||
MsgId_MI_Unknown MsgId = 0
|
MsgId_MI_Unknown MsgId = 0
|
||||||
MsgId_NtfMaintainId MsgId = 1000 // 通知维护
|
MsgId_NtfMaintainId MsgId = 1000 // 通知维护
|
||||||
// 聊天服 2000-2099
|
// 聊天服 2000-2099
|
||||||
MsgId_C2SChatId MsgId = 2000 // 玩家聊天消息
|
MsgId_ReqChatId MsgId = 2000 // 玩家聊天消息
|
||||||
MsgId_S2CChatId MsgId = 2001 // 复用C2SChatMsg
|
MsgId_RspChatId MsgId = 2001 // 复用C2SChatMsg
|
||||||
// 登陆服 2100-2199
|
// 登陆服 2100-2199
|
||||||
MsgId_C2SUserLoginId MsgId = 2100 // 玩家登陆
|
MsgId_ReqUserLoginId MsgId = 2100 // 玩家登陆
|
||||||
MsgId_S2CUserLoginId MsgId = 2101
|
MsgId_RspUserLoginId MsgId = 2101
|
||||||
MsgId_NtfUserOnlineId MsgId = 2102
|
MsgId_NtfUserOnlineId MsgId = 2102
|
||||||
MsgId_C2SUserLogoutId MsgId = 2104
|
MsgId_ReqUserLogoutId MsgId = 2104
|
||||||
MsgId_S2CUserLogoutId MsgId = 2105
|
MsgId_RspUserLogoutId MsgId = 2105
|
||||||
MsgId_NtfUserOfflineId MsgId = 2106
|
MsgId_NtfUserOfflineId MsgId = 2106
|
||||||
// 匹配服 2200-2299
|
// 匹配服 2200-2299
|
||||||
MsgId_C2SMatchRoomId MsgId = 2200 // 匹配服
|
MsgId_ReqMatchRoomId MsgId = 2200 // 匹配服
|
||||||
MsgId_S2CMatchRoomId MsgId = 2201
|
MsgId_RspMatchRoomId MsgId = 2201
|
||||||
MsgId_NtfUserEnterRoomId MsgId = 2202 // 玩家进入房间 所有玩法共用此消息
|
MsgId_NtfUserEnterRoomId MsgId = 2202 // 玩家进入房间 所有玩法共用此消息
|
||||||
// color game 2300-2499
|
// color game 2300-2399
|
||||||
MsgId_ColorPinoyLiveNoticeGameSync MsgId = 201
|
MsgId_NtfColorRoomInfoId MsgId = 2300
|
||||||
MsgId_ColorPinoyLiveNoticeGameReady MsgId = 202
|
MsgId_NtfColorGameStartId MsgId = 2305
|
||||||
MsgId_ColorPinoyLiveNoticeGameStart MsgId = 203
|
MsgId_NtfColorBettingId MsgId = 2310
|
||||||
MsgId_ColorPinoyLiveNoticeGameStartBet MsgId = 204
|
MsgId_ReqColorBettingId MsgId = 2315
|
||||||
MsgId_ColorPinoyLiveNoticeGameEndBet MsgId = 205
|
MsgId_RspColorBettingId MsgId = 2320
|
||||||
MsgId_ColorPinoyLiveNoticeGameOpenLuckyDice MsgId = 206
|
MsgId_NtfColorBetAreaInfoId MsgId = 2325
|
||||||
MsgId_ColorPinoyLiveNoticeGameOpenThreeDice MsgId = 207
|
MsgId_NtfColorEndBettingId MsgId = 2330
|
||||||
MsgId_ColorPinoyLiveNoticeGameUserSettle MsgId = 208 // 用户自己结算返回
|
MsgId_NtfColorOpenThreeDiceId MsgId = 2335
|
||||||
MsgId_ColorPinoyLiveNoticeGameSettle MsgId = 209 // 广播本局结算信息
|
MsgId_NtfColorSettleId MsgId = 2340
|
||||||
MsgId_ColorPinoyLiveNoticeGameSeatUserBet MsgId = 210 // 广播座位上的玩家下注信息
|
MsgId_NtfColorBigUserId MsgId = 2345
|
||||||
MsgId_ColorPinoyLiveNoticeGameUserBet MsgId = 211 // 玩家下注成功返回
|
MsgId_NtfColorTrendId MsgId = 2350
|
||||||
MsgId_ColorPinoyLiveNoticeGameTrendInfo MsgId = 212 // 走势图
|
MsgId_NtfColorKickOutUserId MsgId = 2355
|
||||||
MsgId_ColorPinoyLiveNoticePlayerLeaveNtf MsgId = 213 // 离开广播
|
MsgId_NtfColorMaintainId MsgId = 2360
|
||||||
MsgId_ColorPinoyLiveNoticeOnlinePlayerNum MsgId = 214 // 在线玩家数量
|
|
||||||
MsgId_ColorPinoyLiveNoticeUpdateRoomInfo MsgId = 215 // 更新房间信息 1秒一次
|
|
||||||
MsgId_ColorPinoyLiveNoticeUndoBet MsgId = 216 // 撤销下注
|
|
||||||
MsgId_ColorPinoyLiveNoticeBetFail MsgId = 217 // 下注失败 撤销下注失败 ...
|
|
||||||
MsgId_ColorPinoyLiveNoticeKickOutUser MsgId = 218 // 踢出玩家发送原因
|
|
||||||
MsgId_ColorPinoyLiveNoticeRoomBetRuleMsg MsgId = 219 // 推送玩家下注规则
|
|
||||||
MsgId_ColorPinoyLiveNoticePlayerUseProps MsgId = 220 // 推送玩家使用道具
|
|
||||||
MsgId_ColorPinoyLiveNoticePlayerBetEndResultFailed MsgId = 221 // 推送玩家结束下注时扣钱失败
|
|
||||||
MsgId_ColorPinoyLiveNoticeGameMainte MsgId = 222 // 推送游戏维护 ColorPinoyLiveMainteNtf
|
|
||||||
MsgId_ColorPinoyLiveNoticeDiscard MsgId = 223 // 推送废弃 ColorPinoyLiveMainteNtf
|
|
||||||
MsgId_ColorPinoyLiveNoticeRankList MsgId = 224 // 推送排行榜 ColorPinoyLiveRankList
|
|
||||||
MsgId_ColorPinoyLiveNoticeGameBigWinner MsgId = 225 // 大客投注信息
|
|
||||||
MsgId_ColorPinoyLiveNoticeDealerName MsgId = 226 // 设置或清空主播名字
|
|
||||||
MsgId_ColorPinoyLiveNoticeBigOddBetArea MsgId = 228 // 下注结束后更新区域爆奖信息
|
|
||||||
MsgId_ColorPinoyLiveApplyBetChips MsgId = 101 // 下注信息
|
|
||||||
MsgId_ColorPinoyLiveApplyGetTrend MsgId = 102 //获取走势图
|
|
||||||
MsgId_ColorPinoyLiveApplyBetDouble MsgId = 104 //一键翻倍押注
|
|
||||||
MsgId_ColorPinoyLiveApplyUndoBet MsgId = 105 //撤回押注
|
|
||||||
MsgId_ColorPinoyLiveApplyLeave MsgId = 107 //申请离开
|
|
||||||
MsgId_ColorPinoyLiveApplyBetAgain MsgId = 108 //申请重复下注
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for MsgId.
|
// Enum value maps for MsgId.
|
||||||
@ -85,98 +65,58 @@ var (
|
|||||||
MsgId_name = map[int32]string{
|
MsgId_name = map[int32]string{
|
||||||
0: "MI_Unknown",
|
0: "MI_Unknown",
|
||||||
1000: "NtfMaintainId",
|
1000: "NtfMaintainId",
|
||||||
2000: "C2SChatId",
|
2000: "ReqChatId",
|
||||||
2001: "S2CChatId",
|
2001: "RspChatId",
|
||||||
2100: "C2SUserLoginId",
|
2100: "ReqUserLoginId",
|
||||||
2101: "S2CUserLoginId",
|
2101: "RspUserLoginId",
|
||||||
2102: "NtfUserOnlineId",
|
2102: "NtfUserOnlineId",
|
||||||
2104: "C2SUserLogoutId",
|
2104: "ReqUserLogoutId",
|
||||||
2105: "S2CUserLogoutId",
|
2105: "RspUserLogoutId",
|
||||||
2106: "NtfUserOfflineId",
|
2106: "NtfUserOfflineId",
|
||||||
2200: "C2SMatchRoomId",
|
2200: "ReqMatchRoomId",
|
||||||
2201: "S2CMatchRoomId",
|
2201: "RspMatchRoomId",
|
||||||
2202: "NtfUserEnterRoomId",
|
2202: "NtfUserEnterRoomId",
|
||||||
201: "ColorPinoyLiveNoticeGameSync",
|
2300: "NtfColorRoomInfoId",
|
||||||
202: "ColorPinoyLiveNoticeGameReady",
|
2305: "NtfColorGameStartId",
|
||||||
203: "ColorPinoyLiveNoticeGameStart",
|
2310: "NtfColorBettingId",
|
||||||
204: "ColorPinoyLiveNoticeGameStartBet",
|
2315: "ReqColorBettingId",
|
||||||
205: "ColorPinoyLiveNoticeGameEndBet",
|
2320: "RspColorBettingId",
|
||||||
206: "ColorPinoyLiveNoticeGameOpenLuckyDice",
|
2325: "NtfColorBetAreaInfoId",
|
||||||
207: "ColorPinoyLiveNoticeGameOpenThreeDice",
|
2330: "NtfColorEndBettingId",
|
||||||
208: "ColorPinoyLiveNoticeGameUserSettle",
|
2335: "NtfColorOpenThreeDiceId",
|
||||||
209: "ColorPinoyLiveNoticeGameSettle",
|
2340: "NtfColorSettleId",
|
||||||
210: "ColorPinoyLiveNoticeGameSeatUserBet",
|
2345: "NtfColorBigUserId",
|
||||||
211: "ColorPinoyLiveNoticeGameUserBet",
|
2350: "NtfColorTrendId",
|
||||||
212: "ColorPinoyLiveNoticeGameTrendInfo",
|
2355: "NtfColorKickOutUserId",
|
||||||
213: "ColorPinoyLiveNoticePlayerLeaveNtf",
|
2360: "NtfColorMaintainId",
|
||||||
214: "ColorPinoyLiveNoticeOnlinePlayerNum",
|
|
||||||
215: "ColorPinoyLiveNoticeUpdateRoomInfo",
|
|
||||||
216: "ColorPinoyLiveNoticeUndoBet",
|
|
||||||
217: "ColorPinoyLiveNoticeBetFail",
|
|
||||||
218: "ColorPinoyLiveNoticeKickOutUser",
|
|
||||||
219: "ColorPinoyLiveNoticeRoomBetRuleMsg",
|
|
||||||
220: "ColorPinoyLiveNoticePlayerUseProps",
|
|
||||||
221: "ColorPinoyLiveNoticePlayerBetEndResultFailed",
|
|
||||||
222: "ColorPinoyLiveNoticeGameMainte",
|
|
||||||
223: "ColorPinoyLiveNoticeDiscard",
|
|
||||||
224: "ColorPinoyLiveNoticeRankList",
|
|
||||||
225: "ColorPinoyLiveNoticeGameBigWinner",
|
|
||||||
226: "ColorPinoyLiveNoticeDealerName",
|
|
||||||
228: "ColorPinoyLiveNoticeBigOddBetArea",
|
|
||||||
101: "ColorPinoyLiveApplyBetChips",
|
|
||||||
102: "ColorPinoyLiveApplyGetTrend",
|
|
||||||
104: "ColorPinoyLiveApplyBetDouble",
|
|
||||||
105: "ColorPinoyLiveApplyUndoBet",
|
|
||||||
107: "ColorPinoyLiveApplyLeave",
|
|
||||||
108: "ColorPinoyLiveApplyBetAgain",
|
|
||||||
}
|
}
|
||||||
MsgId_value = map[string]int32{
|
MsgId_value = map[string]int32{
|
||||||
"MI_Unknown": 0,
|
"MI_Unknown": 0,
|
||||||
"NtfMaintainId": 1000,
|
"NtfMaintainId": 1000,
|
||||||
"C2SChatId": 2000,
|
"ReqChatId": 2000,
|
||||||
"S2CChatId": 2001,
|
"RspChatId": 2001,
|
||||||
"C2SUserLoginId": 2100,
|
"ReqUserLoginId": 2100,
|
||||||
"S2CUserLoginId": 2101,
|
"RspUserLoginId": 2101,
|
||||||
"NtfUserOnlineId": 2102,
|
"NtfUserOnlineId": 2102,
|
||||||
"C2SUserLogoutId": 2104,
|
"ReqUserLogoutId": 2104,
|
||||||
"S2CUserLogoutId": 2105,
|
"RspUserLogoutId": 2105,
|
||||||
"NtfUserOfflineId": 2106,
|
"NtfUserOfflineId": 2106,
|
||||||
"C2SMatchRoomId": 2200,
|
"ReqMatchRoomId": 2200,
|
||||||
"S2CMatchRoomId": 2201,
|
"RspMatchRoomId": 2201,
|
||||||
"NtfUserEnterRoomId": 2202,
|
"NtfUserEnterRoomId": 2202,
|
||||||
"ColorPinoyLiveNoticeGameSync": 201,
|
"NtfColorRoomInfoId": 2300,
|
||||||
"ColorPinoyLiveNoticeGameReady": 202,
|
"NtfColorGameStartId": 2305,
|
||||||
"ColorPinoyLiveNoticeGameStart": 203,
|
"NtfColorBettingId": 2310,
|
||||||
"ColorPinoyLiveNoticeGameStartBet": 204,
|
"ReqColorBettingId": 2315,
|
||||||
"ColorPinoyLiveNoticeGameEndBet": 205,
|
"RspColorBettingId": 2320,
|
||||||
"ColorPinoyLiveNoticeGameOpenLuckyDice": 206,
|
"NtfColorBetAreaInfoId": 2325,
|
||||||
"ColorPinoyLiveNoticeGameOpenThreeDice": 207,
|
"NtfColorEndBettingId": 2330,
|
||||||
"ColorPinoyLiveNoticeGameUserSettle": 208,
|
"NtfColorOpenThreeDiceId": 2335,
|
||||||
"ColorPinoyLiveNoticeGameSettle": 209,
|
"NtfColorSettleId": 2340,
|
||||||
"ColorPinoyLiveNoticeGameSeatUserBet": 210,
|
"NtfColorBigUserId": 2345,
|
||||||
"ColorPinoyLiveNoticeGameUserBet": 211,
|
"NtfColorTrendId": 2350,
|
||||||
"ColorPinoyLiveNoticeGameTrendInfo": 212,
|
"NtfColorKickOutUserId": 2355,
|
||||||
"ColorPinoyLiveNoticePlayerLeaveNtf": 213,
|
"NtfColorMaintainId": 2360,
|
||||||
"ColorPinoyLiveNoticeOnlinePlayerNum": 214,
|
|
||||||
"ColorPinoyLiveNoticeUpdateRoomInfo": 215,
|
|
||||||
"ColorPinoyLiveNoticeUndoBet": 216,
|
|
||||||
"ColorPinoyLiveNoticeBetFail": 217,
|
|
||||||
"ColorPinoyLiveNoticeKickOutUser": 218,
|
|
||||||
"ColorPinoyLiveNoticeRoomBetRuleMsg": 219,
|
|
||||||
"ColorPinoyLiveNoticePlayerUseProps": 220,
|
|
||||||
"ColorPinoyLiveNoticePlayerBetEndResultFailed": 221,
|
|
||||||
"ColorPinoyLiveNoticeGameMainte": 222,
|
|
||||||
"ColorPinoyLiveNoticeDiscard": 223,
|
|
||||||
"ColorPinoyLiveNoticeRankList": 224,
|
|
||||||
"ColorPinoyLiveNoticeGameBigWinner": 225,
|
|
||||||
"ColorPinoyLiveNoticeDealerName": 226,
|
|
||||||
"ColorPinoyLiveNoticeBigOddBetArea": 228,
|
|
||||||
"ColorPinoyLiveApplyBetChips": 101,
|
|
||||||
"ColorPinoyLiveApplyGetTrend": 102,
|
|
||||||
"ColorPinoyLiveApplyBetDouble": 104,
|
|
||||||
"ColorPinoyLiveApplyUndoBet": 105,
|
|
||||||
"ColorPinoyLiveApplyLeave": 107,
|
|
||||||
"ColorPinoyLiveApplyBetAgain": 108,
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -211,55 +151,35 @@ var File_msgId_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
const file_msgId_proto_rawDesc = "" +
|
const file_msgId_proto_rawDesc = "" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"\vmsgId.proto\x12\x02pb*\xf3\v\n" +
|
"\vmsgId.proto\x12\x02pb*\xdb\x04\n" +
|
||||||
"\x05MsgId\x12\x0e\n" +
|
"\x05MsgId\x12\x0e\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"MI_Unknown\x10\x00\x12\x12\n" +
|
"MI_Unknown\x10\x00\x12\x12\n" +
|
||||||
"\rNtfMaintainId\x10\xe8\a\x12\x0e\n" +
|
"\rNtfMaintainId\x10\xe8\a\x12\x0e\n" +
|
||||||
"\tC2SChatId\x10\xd0\x0f\x12\x0e\n" +
|
"\tReqChatId\x10\xd0\x0f\x12\x0e\n" +
|
||||||
"\tS2CChatId\x10\xd1\x0f\x12\x13\n" +
|
"\tRspChatId\x10\xd1\x0f\x12\x13\n" +
|
||||||
"\x0eC2SUserLoginId\x10\xb4\x10\x12\x13\n" +
|
"\x0eReqUserLoginId\x10\xb4\x10\x12\x13\n" +
|
||||||
"\x0eS2CUserLoginId\x10\xb5\x10\x12\x14\n" +
|
"\x0eRspUserLoginId\x10\xb5\x10\x12\x14\n" +
|
||||||
"\x0fNtfUserOnlineId\x10\xb6\x10\x12\x14\n" +
|
"\x0fNtfUserOnlineId\x10\xb6\x10\x12\x14\n" +
|
||||||
"\x0fC2SUserLogoutId\x10\xb8\x10\x12\x14\n" +
|
"\x0fReqUserLogoutId\x10\xb8\x10\x12\x14\n" +
|
||||||
"\x0fS2CUserLogoutId\x10\xb9\x10\x12\x15\n" +
|
"\x0fRspUserLogoutId\x10\xb9\x10\x12\x15\n" +
|
||||||
"\x10NtfUserOfflineId\x10\xba\x10\x12\x13\n" +
|
"\x10NtfUserOfflineId\x10\xba\x10\x12\x13\n" +
|
||||||
"\x0eC2SMatchRoomId\x10\x98\x11\x12\x13\n" +
|
"\x0eReqMatchRoomId\x10\x98\x11\x12\x13\n" +
|
||||||
"\x0eS2CMatchRoomId\x10\x99\x11\x12\x17\n" +
|
"\x0eRspMatchRoomId\x10\x99\x11\x12\x17\n" +
|
||||||
"\x12NtfUserEnterRoomId\x10\x9a\x11\x12!\n" +
|
"\x12NtfUserEnterRoomId\x10\x9a\x11\x12\x17\n" +
|
||||||
"\x1cColorPinoyLiveNoticeGameSync\x10\xc9\x01\x12\"\n" +
|
"\x12NtfColorRoomInfoId\x10\xfc\x11\x12\x18\n" +
|
||||||
"\x1dColorPinoyLiveNoticeGameReady\x10\xca\x01\x12\"\n" +
|
"\x13NtfColorGameStartId\x10\x81\x12\x12\x16\n" +
|
||||||
"\x1dColorPinoyLiveNoticeGameStart\x10\xcb\x01\x12%\n" +
|
"\x11NtfColorBettingId\x10\x86\x12\x12\x16\n" +
|
||||||
" ColorPinoyLiveNoticeGameStartBet\x10\xcc\x01\x12#\n" +
|
"\x11ReqColorBettingId\x10\x8b\x12\x12\x16\n" +
|
||||||
"\x1eColorPinoyLiveNoticeGameEndBet\x10\xcd\x01\x12*\n" +
|
"\x11RspColorBettingId\x10\x90\x12\x12\x1a\n" +
|
||||||
"%ColorPinoyLiveNoticeGameOpenLuckyDice\x10\xce\x01\x12*\n" +
|
"\x15NtfColorBetAreaInfoId\x10\x95\x12\x12\x19\n" +
|
||||||
"%ColorPinoyLiveNoticeGameOpenThreeDice\x10\xcf\x01\x12'\n" +
|
"\x14NtfColorEndBettingId\x10\x9a\x12\x12\x1c\n" +
|
||||||
"\"ColorPinoyLiveNoticeGameUserSettle\x10\xd0\x01\x12#\n" +
|
"\x17NtfColorOpenThreeDiceId\x10\x9f\x12\x12\x15\n" +
|
||||||
"\x1eColorPinoyLiveNoticeGameSettle\x10\xd1\x01\x12(\n" +
|
"\x10NtfColorSettleId\x10\xa4\x12\x12\x16\n" +
|
||||||
"#ColorPinoyLiveNoticeGameSeatUserBet\x10\xd2\x01\x12$\n" +
|
"\x11NtfColorBigUserId\x10\xa9\x12\x12\x14\n" +
|
||||||
"\x1fColorPinoyLiveNoticeGameUserBet\x10\xd3\x01\x12&\n" +
|
"\x0fNtfColorTrendId\x10\xae\x12\x12\x1a\n" +
|
||||||
"!ColorPinoyLiveNoticeGameTrendInfo\x10\xd4\x01\x12'\n" +
|
"\x15NtfColorKickOutUserId\x10\xb3\x12\x12\x17\n" +
|
||||||
"\"ColorPinoyLiveNoticePlayerLeaveNtf\x10\xd5\x01\x12(\n" +
|
"\x12NtfColorMaintainId\x10\xb8\x12B\x11Z\x0fcommon/proto/pbb\x06proto3"
|
||||||
"#ColorPinoyLiveNoticeOnlinePlayerNum\x10\xd6\x01\x12'\n" +
|
|
||||||
"\"ColorPinoyLiveNoticeUpdateRoomInfo\x10\xd7\x01\x12 \n" +
|
|
||||||
"\x1bColorPinoyLiveNoticeUndoBet\x10\xd8\x01\x12 \n" +
|
|
||||||
"\x1bColorPinoyLiveNoticeBetFail\x10\xd9\x01\x12$\n" +
|
|
||||||
"\x1fColorPinoyLiveNoticeKickOutUser\x10\xda\x01\x12'\n" +
|
|
||||||
"\"ColorPinoyLiveNoticeRoomBetRuleMsg\x10\xdb\x01\x12'\n" +
|
|
||||||
"\"ColorPinoyLiveNoticePlayerUseProps\x10\xdc\x01\x121\n" +
|
|
||||||
",ColorPinoyLiveNoticePlayerBetEndResultFailed\x10\xdd\x01\x12#\n" +
|
|
||||||
"\x1eColorPinoyLiveNoticeGameMainte\x10\xde\x01\x12 \n" +
|
|
||||||
"\x1bColorPinoyLiveNoticeDiscard\x10\xdf\x01\x12!\n" +
|
|
||||||
"\x1cColorPinoyLiveNoticeRankList\x10\xe0\x01\x12&\n" +
|
|
||||||
"!ColorPinoyLiveNoticeGameBigWinner\x10\xe1\x01\x12#\n" +
|
|
||||||
"\x1eColorPinoyLiveNoticeDealerName\x10\xe2\x01\x12&\n" +
|
|
||||||
"!ColorPinoyLiveNoticeBigOddBetArea\x10\xe4\x01\x12\x1f\n" +
|
|
||||||
"\x1bColorPinoyLiveApplyBetChips\x10e\x12\x1f\n" +
|
|
||||||
"\x1bColorPinoyLiveApplyGetTrend\x10f\x12 \n" +
|
|
||||||
"\x1cColorPinoyLiveApplyBetDouble\x10h\x12\x1e\n" +
|
|
||||||
"\x1aColorPinoyLiveApplyUndoBet\x10i\x12\x1c\n" +
|
|
||||||
"\x18ColorPinoyLiveApplyLeave\x10k\x12\x1f\n" +
|
|
||||||
"\x1bColorPinoyLiveApplyBetAgain\x10lB\x11Z\x0fcommon/proto/pbb\x06proto3"
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
file_msgId_proto_rawDescOnce sync.Once
|
file_msgId_proto_rawDescOnce sync.Once
|
||||||
|
Loading…
x
Reference in New Issue
Block a user