2025-05-28 20:19:11 +08:00
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
2025-06-07 01:58:14 +08:00
|
|
|
|
// protoc-gen-go v1.36.6
|
|
|
|
|
// protoc v6.31.0
|
2025-05-28 20:19:11 +08:00
|
|
|
|
// source: msgId.proto
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
2025-06-07 01:58:14 +08:00
|
|
|
|
unsafe "unsafe"
|
2025-05-28 20:19:11 +08:00
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// 命名规则:
|
2025-06-08 22:42:34 +08:00
|
|
|
|
// 1. 所有消息id都在msgId.proto的MsgId中定义,前缀需有Req,Rsp,Ntf三种之一,后缀统一为Id
|
2025-05-28 20:19:11 +08:00
|
|
|
|
// 2. 所有错误码都在code.proto的ErrCode中定义
|
|
|
|
|
// 3. 所有消息名为对应消息id去掉后缀Id组成
|
|
|
|
|
type MsgId int32
|
|
|
|
|
|
|
|
|
|
const (
|
2025-06-11 23:49:47 +08:00
|
|
|
|
MsgId_MI_Unknown MsgId = 0
|
|
|
|
|
MsgId_NtfMaintainId MsgId = 1000 // 通知维护
|
|
|
|
|
MsgId_NtfKickOutUserId MsgId = 1001 // 踢出玩家
|
|
|
|
|
MsgId_ReqEnterRoomId MsgId = 1002 // 进入房间
|
|
|
|
|
MsgId_RspEnterRoomId MsgId = 1003
|
|
|
|
|
MsgId_ReqLeaveRoomId MsgId = 1004 // 离开房间
|
|
|
|
|
MsgId_RspLeaveRoomId MsgId = 1005
|
2025-06-15 00:00:24 +08:00
|
|
|
|
MsgId_NtfPayoutFailId MsgId = 1010 // 加减钱失败
|
2025-06-07 22:53:54 +08:00
|
|
|
|
// 聊天服 2000-2099
|
2025-06-08 22:42:34 +08:00
|
|
|
|
MsgId_ReqChatId MsgId = 2000 // 玩家聊天消息
|
|
|
|
|
MsgId_RspChatId MsgId = 2001 // 复用C2SChatMsg
|
2025-06-07 22:53:54 +08:00
|
|
|
|
// 登陆服 2100-2199
|
2025-06-14 12:31:57 +08:00
|
|
|
|
MsgId_ReqUserLoginId MsgId = 2100 // 玩家登陆
|
|
|
|
|
MsgId_RspUserLoginId MsgId = 2101
|
|
|
|
|
MsgId_NtfUserOnlineId MsgId = 2102
|
|
|
|
|
MsgId_NtfUserInServiceId MsgId = 2103 // 将玩家之前呆的服务同步给玩家,方便玩家重连进来
|
|
|
|
|
MsgId_ReqUserLogoutId MsgId = 2104
|
|
|
|
|
MsgId_RspUserLogoutId MsgId = 2105
|
|
|
|
|
MsgId_NtfUserOfflineId MsgId = 2106
|
2025-06-07 22:53:54 +08:00
|
|
|
|
// 匹配服 2200-2299
|
2025-06-08 22:42:34 +08:00
|
|
|
|
MsgId_ReqMatchRoomId MsgId = 2200 // 匹配服
|
|
|
|
|
MsgId_RspMatchRoomId MsgId = 2201
|
2025-06-07 22:53:54 +08:00
|
|
|
|
MsgId_NtfUserEnterRoomId MsgId = 2202 // 玩家进入房间 所有玩法共用此消息
|
2025-06-08 22:42:34 +08:00
|
|
|
|
// color game 2300-2399
|
2025-06-10 23:33:37 +08:00
|
|
|
|
MsgId_NtfColorRoomInfoId MsgId = 2300 // 进房间推送房间所有信息
|
|
|
|
|
MsgId_NtfColorGameStartId MsgId = 2305 // 游戏开始
|
|
|
|
|
MsgId_NtfColorBettingId MsgId = 2310 // 通知可以下注
|
|
|
|
|
MsgId_ReqColorBettingId MsgId = 2315 // 下注
|
2025-06-08 22:42:34 +08:00
|
|
|
|
MsgId_RspColorBettingId MsgId = 2320
|
2025-06-10 23:33:37 +08:00
|
|
|
|
MsgId_NtfColorBetAreaInfoId MsgId = 2325 // 每秒更新投注区域信息
|
|
|
|
|
MsgId_NtfColorEndBettingId MsgId = 2330 // 通知下注结束
|
|
|
|
|
MsgId_NtfColorOpenThreeDiceId MsgId = 2335 // 开三个骰子
|
|
|
|
|
MsgId_NtfColorSettleId MsgId = 2340 // 结算
|
|
|
|
|
MsgId_NtfColorBigUserId MsgId = 2345 // 大客数据
|
|
|
|
|
MsgId_NtfColorTrendId MsgId = 2350 // 路途数据
|
2025-05-28 20:19:11 +08:00
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for MsgId.
|
|
|
|
|
var (
|
|
|
|
|
MsgId_name = map[int32]string{
|
|
|
|
|
0: "MI_Unknown",
|
2025-06-06 20:02:58 +08:00
|
|
|
|
1000: "NtfMaintainId",
|
2025-06-11 23:49:47 +08:00
|
|
|
|
1001: "NtfKickOutUserId",
|
|
|
|
|
1002: "ReqEnterRoomId",
|
|
|
|
|
1003: "RspEnterRoomId",
|
|
|
|
|
1004: "ReqLeaveRoomId",
|
|
|
|
|
1005: "RspLeaveRoomId",
|
2025-06-15 00:00:24 +08:00
|
|
|
|
1010: "NtfPayoutFailId",
|
2025-06-08 22:42:34 +08:00
|
|
|
|
2000: "ReqChatId",
|
|
|
|
|
2001: "RspChatId",
|
|
|
|
|
2100: "ReqUserLoginId",
|
|
|
|
|
2101: "RspUserLoginId",
|
2025-05-28 20:19:11 +08:00
|
|
|
|
2102: "NtfUserOnlineId",
|
2025-06-14 12:31:57 +08:00
|
|
|
|
2103: "NtfUserInServiceId",
|
2025-06-08 22:42:34 +08:00
|
|
|
|
2104: "ReqUserLogoutId",
|
|
|
|
|
2105: "RspUserLogoutId",
|
2025-05-28 20:19:11 +08:00
|
|
|
|
2106: "NtfUserOfflineId",
|
2025-06-08 22:42:34 +08:00
|
|
|
|
2200: "ReqMatchRoomId",
|
|
|
|
|
2201: "RspMatchRoomId",
|
2025-06-07 22:53:54 +08:00
|
|
|
|
2202: "NtfUserEnterRoomId",
|
2025-06-08 22:42:34 +08:00
|
|
|
|
2300: "NtfColorRoomInfoId",
|
|
|
|
|
2305: "NtfColorGameStartId",
|
|
|
|
|
2310: "NtfColorBettingId",
|
|
|
|
|
2315: "ReqColorBettingId",
|
|
|
|
|
2320: "RspColorBettingId",
|
|
|
|
|
2325: "NtfColorBetAreaInfoId",
|
|
|
|
|
2330: "NtfColorEndBettingId",
|
|
|
|
|
2335: "NtfColorOpenThreeDiceId",
|
|
|
|
|
2340: "NtfColorSettleId",
|
|
|
|
|
2345: "NtfColorBigUserId",
|
|
|
|
|
2350: "NtfColorTrendId",
|
2025-05-28 20:19:11 +08:00
|
|
|
|
}
|
|
|
|
|
MsgId_value = map[string]int32{
|
2025-06-08 22:42:34 +08:00
|
|
|
|
"MI_Unknown": 0,
|
|
|
|
|
"NtfMaintainId": 1000,
|
2025-06-11 23:49:47 +08:00
|
|
|
|
"NtfKickOutUserId": 1001,
|
|
|
|
|
"ReqEnterRoomId": 1002,
|
|
|
|
|
"RspEnterRoomId": 1003,
|
|
|
|
|
"ReqLeaveRoomId": 1004,
|
|
|
|
|
"RspLeaveRoomId": 1005,
|
2025-06-15 00:00:24 +08:00
|
|
|
|
"NtfPayoutFailId": 1010,
|
2025-06-08 22:42:34 +08:00
|
|
|
|
"ReqChatId": 2000,
|
|
|
|
|
"RspChatId": 2001,
|
|
|
|
|
"ReqUserLoginId": 2100,
|
|
|
|
|
"RspUserLoginId": 2101,
|
|
|
|
|
"NtfUserOnlineId": 2102,
|
2025-06-14 12:31:57 +08:00
|
|
|
|
"NtfUserInServiceId": 2103,
|
2025-06-08 22:42:34 +08:00
|
|
|
|
"ReqUserLogoutId": 2104,
|
|
|
|
|
"RspUserLogoutId": 2105,
|
|
|
|
|
"NtfUserOfflineId": 2106,
|
|
|
|
|
"ReqMatchRoomId": 2200,
|
|
|
|
|
"RspMatchRoomId": 2201,
|
|
|
|
|
"NtfUserEnterRoomId": 2202,
|
|
|
|
|
"NtfColorRoomInfoId": 2300,
|
|
|
|
|
"NtfColorGameStartId": 2305,
|
|
|
|
|
"NtfColorBettingId": 2310,
|
|
|
|
|
"ReqColorBettingId": 2315,
|
|
|
|
|
"RspColorBettingId": 2320,
|
|
|
|
|
"NtfColorBetAreaInfoId": 2325,
|
|
|
|
|
"NtfColorEndBettingId": 2330,
|
|
|
|
|
"NtfColorOpenThreeDiceId": 2335,
|
|
|
|
|
"NtfColorSettleId": 2340,
|
|
|
|
|
"NtfColorBigUserId": 2345,
|
|
|
|
|
"NtfColorTrendId": 2350,
|
2025-05-28 20:19:11 +08:00
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2025-06-07 01:58:14 +08:00
|
|
|
|
const file_msgId_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
2025-07-05 15:47:21 +08:00
|
|
|
|
"\vmsgId.proto*\xc0\x05\n" +
|
2025-06-07 01:58:14 +08:00
|
|
|
|
"\x05MsgId\x12\x0e\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"MI_Unknown\x10\x00\x12\x12\n" +
|
2025-06-11 23:49:47 +08:00
|
|
|
|
"\rNtfMaintainId\x10\xe8\a\x12\x15\n" +
|
|
|
|
|
"\x10NtfKickOutUserId\x10\xe9\a\x12\x13\n" +
|
|
|
|
|
"\x0eReqEnterRoomId\x10\xea\a\x12\x13\n" +
|
|
|
|
|
"\x0eRspEnterRoomId\x10\xeb\a\x12\x13\n" +
|
|
|
|
|
"\x0eReqLeaveRoomId\x10\xec\a\x12\x13\n" +
|
2025-06-15 00:00:24 +08:00
|
|
|
|
"\x0eRspLeaveRoomId\x10\xed\a\x12\x14\n" +
|
|
|
|
|
"\x0fNtfPayoutFailId\x10\xf2\a\x12\x0e\n" +
|
2025-06-08 22:42:34 +08:00
|
|
|
|
"\tReqChatId\x10\xd0\x0f\x12\x0e\n" +
|
|
|
|
|
"\tRspChatId\x10\xd1\x0f\x12\x13\n" +
|
|
|
|
|
"\x0eReqUserLoginId\x10\xb4\x10\x12\x13\n" +
|
|
|
|
|
"\x0eRspUserLoginId\x10\xb5\x10\x12\x14\n" +
|
2025-06-14 12:31:57 +08:00
|
|
|
|
"\x0fNtfUserOnlineId\x10\xb6\x10\x12\x17\n" +
|
|
|
|
|
"\x12NtfUserInServiceId\x10\xb7\x10\x12\x14\n" +
|
2025-06-08 22:42:34 +08:00
|
|
|
|
"\x0fReqUserLogoutId\x10\xb8\x10\x12\x14\n" +
|
|
|
|
|
"\x0fRspUserLogoutId\x10\xb9\x10\x12\x15\n" +
|
2025-06-07 22:53:54 +08:00
|
|
|
|
"\x10NtfUserOfflineId\x10\xba\x10\x12\x13\n" +
|
2025-06-08 22:42:34 +08:00
|
|
|
|
"\x0eReqMatchRoomId\x10\x98\x11\x12\x13\n" +
|
|
|
|
|
"\x0eRspMatchRoomId\x10\x99\x11\x12\x17\n" +
|
|
|
|
|
"\x12NtfUserEnterRoomId\x10\x9a\x11\x12\x17\n" +
|
|
|
|
|
"\x12NtfColorRoomInfoId\x10\xfc\x11\x12\x18\n" +
|
|
|
|
|
"\x13NtfColorGameStartId\x10\x81\x12\x12\x16\n" +
|
|
|
|
|
"\x11NtfColorBettingId\x10\x86\x12\x12\x16\n" +
|
|
|
|
|
"\x11ReqColorBettingId\x10\x8b\x12\x12\x16\n" +
|
|
|
|
|
"\x11RspColorBettingId\x10\x90\x12\x12\x1a\n" +
|
|
|
|
|
"\x15NtfColorBetAreaInfoId\x10\x95\x12\x12\x19\n" +
|
|
|
|
|
"\x14NtfColorEndBettingId\x10\x9a\x12\x12\x1c\n" +
|
|
|
|
|
"\x17NtfColorOpenThreeDiceId\x10\x9f\x12\x12\x15\n" +
|
|
|
|
|
"\x10NtfColorSettleId\x10\xa4\x12\x12\x16\n" +
|
|
|
|
|
"\x11NtfColorBigUserId\x10\xa9\x12\x12\x14\n" +
|
2025-06-11 23:49:47 +08:00
|
|
|
|
"\x0fNtfColorTrendId\x10\xae\x12B\x11Z\x0fcommon/proto/pbb\x06proto3"
|
2025-05-28 20:19:11 +08:00
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_msgId_proto_rawDescOnce sync.Once
|
2025-06-07 01:58:14 +08:00
|
|
|
|
file_msgId_proto_rawDescData []byte
|
2025-05-28 20:19:11 +08:00
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_msgId_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_msgId_proto_rawDescOnce.Do(func() {
|
2025-06-07 01:58:14 +08:00
|
|
|
|
file_msgId_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_msgId_proto_rawDesc), len(file_msgId_proto_rawDesc)))
|
2025-05-28 20:19:11 +08:00
|
|
|
|
})
|
|
|
|
|
return file_msgId_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_msgId_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
2025-06-07 01:58:14 +08:00
|
|
|
|
var file_msgId_proto_goTypes = []any{
|
2025-07-05 15:47:21 +08:00
|
|
|
|
(MsgId)(0), // 0: MsgId
|
2025-05-28 20:19:11 +08:00
|
|
|
|
}
|
|
|
|
|
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(),
|
2025-06-07 01:58:14 +08:00
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_msgId_proto_rawDesc), len(file_msgId_proto_rawDesc)),
|
2025-05-28 20:19:11 +08:00
|
|
|
|
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
|
|
|
|
|
}
|