// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v6.31.0 // source: msgId.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // 命名规则: // 1. 所有消息id都在msgId.proto的MsgId中定义,前缀需有C2S,S2C,Ntf三种之一,后缀统一为Id // 2. 所有错误码都在code.proto的ErrCode中定义 // 3. 所有消息名为对应消息id去掉后缀Id组成 type MsgId int32 const ( MsgId_MI_Unknown MsgId = 0 MsgId_NtfMaintainId MsgId = 1000 // 通知维护 // 聊天服 2000-2099 MsgId_C2SChatId MsgId = 2000 // 玩家聊天消息 MsgId_S2CChatId MsgId = 2001 // 复用C2SChatMsg // 登陆服 2100-2199 MsgId_C2SUserLoginId MsgId = 2100 // 玩家登陆 MsgId_S2CUserLoginId MsgId = 2101 MsgId_NtfUserOnlineId MsgId = 2102 MsgId_C2SUserLogoutId MsgId = 2104 MsgId_S2CUserLogoutId MsgId = 2105 MsgId_NtfUserOfflineId MsgId = 2106 // 匹配服 2200-2299 MsgId_C2SMatchRoomId MsgId = 2200 // 匹配服 MsgId_S2CMatchRoomId MsgId = 2201 MsgId_NtfUserEnterRoomId MsgId = 2202 // 玩家进入房间 所有玩法共用此消息 // color game 2300-2499 MsgId_ColorPinoyLiveNoticeGameSync MsgId = 201 MsgId_ColorPinoyLiveNoticeGameReady MsgId = 202 MsgId_ColorPinoyLiveNoticeGameStart MsgId = 203 MsgId_ColorPinoyLiveNoticeGameStartBet MsgId = 204 MsgId_ColorPinoyLiveNoticeGameEndBet MsgId = 205 MsgId_ColorPinoyLiveNoticeGameOpenLuckyDice MsgId = 206 MsgId_ColorPinoyLiveNoticeGameOpenThreeDice MsgId = 207 MsgId_ColorPinoyLiveNoticeGameUserSettle MsgId = 208 // 用户自己结算返回 MsgId_ColorPinoyLiveNoticeGameSettle MsgId = 209 // 广播本局结算信息 MsgId_ColorPinoyLiveNoticeGameSeatUserBet MsgId = 210 // 广播座位上的玩家下注信息 MsgId_ColorPinoyLiveNoticeGameUserBet MsgId = 211 // 玩家下注成功返回 MsgId_ColorPinoyLiveNoticeGameTrendInfo MsgId = 212 // 走势图 MsgId_ColorPinoyLiveNoticePlayerLeaveNtf MsgId = 213 // 离开广播 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. var ( MsgId_name = map[int32]string{ 0: "MI_Unknown", 1000: "NtfMaintainId", 2000: "C2SChatId", 2001: "S2CChatId", 2100: "C2SUserLoginId", 2101: "S2CUserLoginId", 2102: "NtfUserOnlineId", 2104: "C2SUserLogoutId", 2105: "S2CUserLogoutId", 2106: "NtfUserOfflineId", 2200: "C2SMatchRoomId", 2201: "S2CMatchRoomId", 2202: "NtfUserEnterRoomId", 201: "ColorPinoyLiveNoticeGameSync", 202: "ColorPinoyLiveNoticeGameReady", 203: "ColorPinoyLiveNoticeGameStart", 204: "ColorPinoyLiveNoticeGameStartBet", 205: "ColorPinoyLiveNoticeGameEndBet", 206: "ColorPinoyLiveNoticeGameOpenLuckyDice", 207: "ColorPinoyLiveNoticeGameOpenThreeDice", 208: "ColorPinoyLiveNoticeGameUserSettle", 209: "ColorPinoyLiveNoticeGameSettle", 210: "ColorPinoyLiveNoticeGameSeatUserBet", 211: "ColorPinoyLiveNoticeGameUserBet", 212: "ColorPinoyLiveNoticeGameTrendInfo", 213: "ColorPinoyLiveNoticePlayerLeaveNtf", 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{ "MI_Unknown": 0, "NtfMaintainId": 1000, "C2SChatId": 2000, "S2CChatId": 2001, "C2SUserLoginId": 2100, "S2CUserLoginId": 2101, "NtfUserOnlineId": 2102, "C2SUserLogoutId": 2104, "S2CUserLogoutId": 2105, "NtfUserOfflineId": 2106, "C2SMatchRoomId": 2200, "S2CMatchRoomId": 2201, "NtfUserEnterRoomId": 2202, "ColorPinoyLiveNoticeGameSync": 201, "ColorPinoyLiveNoticeGameReady": 202, "ColorPinoyLiveNoticeGameStart": 203, "ColorPinoyLiveNoticeGameStartBet": 204, "ColorPinoyLiveNoticeGameEndBet": 205, "ColorPinoyLiveNoticeGameOpenLuckyDice": 206, "ColorPinoyLiveNoticeGameOpenThreeDice": 207, "ColorPinoyLiveNoticeGameUserSettle": 208, "ColorPinoyLiveNoticeGameSettle": 209, "ColorPinoyLiveNoticeGameSeatUserBet": 210, "ColorPinoyLiveNoticeGameUserBet": 211, "ColorPinoyLiveNoticeGameTrendInfo": 212, "ColorPinoyLiveNoticePlayerLeaveNtf": 213, "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, } ) func (x MsgId) Enum() *MsgId { p := new(MsgId) *p = x return p } func (x MsgId) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (MsgId) Descriptor() protoreflect.EnumDescriptor { return file_msgId_proto_enumTypes[0].Descriptor() } func (MsgId) Type() protoreflect.EnumType { return &file_msgId_proto_enumTypes[0] } func (x MsgId) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use MsgId.Descriptor instead. func (MsgId) EnumDescriptor() ([]byte, []int) { return file_msgId_proto_rawDescGZIP(), []int{0} } var File_msgId_proto protoreflect.FileDescriptor const file_msgId_proto_rawDesc = "" + "\n" + "\vmsgId.proto\x12\x02pb*\xf3\v\n" + "\x05MsgId\x12\x0e\n" + "\n" + "MI_Unknown\x10\x00\x12\x12\n" + "\rNtfMaintainId\x10\xe8\a\x12\x0e\n" + "\tC2SChatId\x10\xd0\x0f\x12\x0e\n" + "\tS2CChatId\x10\xd1\x0f\x12\x13\n" + "\x0eC2SUserLoginId\x10\xb4\x10\x12\x13\n" + "\x0eS2CUserLoginId\x10\xb5\x10\x12\x14\n" + "\x0fNtfUserOnlineId\x10\xb6\x10\x12\x14\n" + "\x0fC2SUserLogoutId\x10\xb8\x10\x12\x14\n" + "\x0fS2CUserLogoutId\x10\xb9\x10\x12\x15\n" + "\x10NtfUserOfflineId\x10\xba\x10\x12\x13\n" + "\x0eC2SMatchRoomId\x10\x98\x11\x12\x13\n" + "\x0eS2CMatchRoomId\x10\x99\x11\x12\x17\n" + "\x12NtfUserEnterRoomId\x10\x9a\x11\x12!\n" + "\x1cColorPinoyLiveNoticeGameSync\x10\xc9\x01\x12\"\n" + "\x1dColorPinoyLiveNoticeGameReady\x10\xca\x01\x12\"\n" + "\x1dColorPinoyLiveNoticeGameStart\x10\xcb\x01\x12%\n" + " ColorPinoyLiveNoticeGameStartBet\x10\xcc\x01\x12#\n" + "\x1eColorPinoyLiveNoticeGameEndBet\x10\xcd\x01\x12*\n" + "%ColorPinoyLiveNoticeGameOpenLuckyDice\x10\xce\x01\x12*\n" + "%ColorPinoyLiveNoticeGameOpenThreeDice\x10\xcf\x01\x12'\n" + "\"ColorPinoyLiveNoticeGameUserSettle\x10\xd0\x01\x12#\n" + "\x1eColorPinoyLiveNoticeGameSettle\x10\xd1\x01\x12(\n" + "#ColorPinoyLiveNoticeGameSeatUserBet\x10\xd2\x01\x12$\n" + "\x1fColorPinoyLiveNoticeGameUserBet\x10\xd3\x01\x12&\n" + "!ColorPinoyLiveNoticeGameTrendInfo\x10\xd4\x01\x12'\n" + "\"ColorPinoyLiveNoticePlayerLeaveNtf\x10\xd5\x01\x12(\n" + "#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 ( file_msgId_proto_rawDescOnce sync.Once file_msgId_proto_rawDescData []byte ) func file_msgId_proto_rawDescGZIP() []byte { file_msgId_proto_rawDescOnce.Do(func() { file_msgId_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_msgId_proto_rawDesc), len(file_msgId_proto_rawDesc))) }) return file_msgId_proto_rawDescData } var file_msgId_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_msgId_proto_goTypes = []any{ (MsgId)(0), // 0: pb.MsgId } var file_msgId_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_msgId_proto_init() } func file_msgId_proto_init() { if File_msgId_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_msgId_proto_rawDesc), len(file_msgId_proto_rawDesc)), NumEnums: 1, NumMessages: 0, NumExtensions: 0, NumServices: 0, }, GoTypes: file_msgId_proto_goTypes, DependencyIndexes: file_msgId_proto_depIdxs, EnumInfos: file_msgId_proto_enumTypes, }.Build() File_msgId_proto = out.File file_msgId_proto_goTypes = nil file_msgId_proto_depIdxs = nil }