game/common/proto/pb/colorgame.pb.go

2191 lines
65 KiB
Go
Raw Normal View History

2025-06-07 22:53:54 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.6
// protoc v6.31.0
// source: colorgame.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
2025-06-08 00:52:17 +08:00
sync "sync"
2025-06-07 22:53:54 +08:00
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)
)
2025-06-08 22:42:34 +08:00
// 奖励档位
type ColorPrizeArea int32
2025-06-08 00:52:17 +08:00
const (
2025-06-08 22:42:34 +08:00
ColorPrizeArea_CPA_Single_0 ColorPrizeArea = 0 // 单色投注区域开出单色
ColorPrizeArea_CPA_Single_1 ColorPrizeArea = 1 // 单色投注区域开出双色
ColorPrizeArea_CPA_Single_2 ColorPrizeArea = 2 // 单色投注区域开出三色
ColorPrizeArea_CPA_Double ColorPrizeArea = 3 // 双色投注区域
ColorPrizeArea_CPA_Three ColorPrizeArea = 4 // 三色投注区域
2025-06-08 00:52:17 +08:00
)
2025-06-08 22:42:34 +08:00
// Enum value maps for ColorPrizeArea.
2025-06-08 00:52:17 +08:00
var (
2025-06-08 22:42:34 +08:00
ColorPrizeArea_name = map[int32]string{
0: "CPA_Single_0",
1: "CPA_Single_1",
2: "CPA_Single_2",
3: "CPA_Double",
4: "CPA_Three",
}
ColorPrizeArea_value = map[string]int32{
"CPA_Single_0": 0,
"CPA_Single_1": 1,
"CPA_Single_2": 2,
"CPA_Double": 3,
"CPA_Three": 4,
2025-06-08 00:52:17 +08:00
}
)
2025-06-08 22:42:34 +08:00
func (x ColorPrizeArea) Enum() *ColorPrizeArea {
p := new(ColorPrizeArea)
2025-06-08 00:52:17 +08:00
*p = x
return p
}
2025-06-08 22:42:34 +08:00
func (x ColorPrizeArea) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2025-06-08 22:42:34 +08:00
func (ColorPrizeArea) Descriptor() protoreflect.EnumDescriptor {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_enumTypes[0].Descriptor()
}
2025-06-08 22:42:34 +08:00
func (ColorPrizeArea) Type() protoreflect.EnumType {
2025-06-08 00:52:17 +08:00
return &file_colorgame_proto_enumTypes[0]
}
2025-06-08 22:42:34 +08:00
func (x ColorPrizeArea) Number() protoreflect.EnumNumber {
2025-06-08 00:52:17 +08:00
return protoreflect.EnumNumber(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorPrizeArea.Descriptor instead.
func (ColorPrizeArea) EnumDescriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{0}
}
2025-06-08 22:42:34 +08:00
// 骰子颜色类型
type ColorType int32
2025-06-08 00:52:17 +08:00
const (
2025-06-08 22:42:34 +08:00
ColorType_CT_Yellow ColorType = 0 // 黄色
ColorType_CT_White ColorType = 1 // 白色
ColorType_CT_Pink ColorType = 2 // 粉色
ColorType_CT_Blue ColorType = 3 // 蓝色
ColorType_CT_Red ColorType = 4 // 红色
ColorType_CT_Green ColorType = 5 // 绿色
2025-06-08 00:52:17 +08:00
)
2025-06-08 22:42:34 +08:00
// Enum value maps for ColorType.
2025-06-08 00:52:17 +08:00
var (
2025-06-08 22:42:34 +08:00
ColorType_name = map[int32]string{
0: "CT_Yellow",
1: "CT_White",
2: "CT_Pink",
3: "CT_Blue",
4: "CT_Red",
5: "CT_Green",
}
ColorType_value = map[string]int32{
"CT_Yellow": 0,
"CT_White": 1,
"CT_Pink": 2,
"CT_Blue": 3,
"CT_Red": 4,
"CT_Green": 5,
2025-06-08 00:52:17 +08:00
}
)
2025-06-08 22:42:34 +08:00
func (x ColorType) Enum() *ColorType {
p := new(ColorType)
2025-06-08 00:52:17 +08:00
*p = x
return p
}
2025-06-08 22:42:34 +08:00
func (x ColorType) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2025-06-08 22:42:34 +08:00
func (ColorType) Descriptor() protoreflect.EnumDescriptor {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_enumTypes[1].Descriptor()
}
2025-06-08 22:42:34 +08:00
func (ColorType) Type() protoreflect.EnumType {
2025-06-08 00:52:17 +08:00
return &file_colorgame_proto_enumTypes[1]
}
2025-06-08 22:42:34 +08:00
func (x ColorType) Number() protoreflect.EnumNumber {
2025-06-08 00:52:17 +08:00
return protoreflect.EnumNumber(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorType.Descriptor instead.
func (ColorType) EnumDescriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{1}
}
2025-06-08 22:42:34 +08:00
// 押注区域
type ColorBetArea int32
2025-06-08 00:52:17 +08:00
const (
2025-06-08 22:42:34 +08:00
ColorBetArea_CBA_Yellow ColorBetArea = 0 // 黄色
ColorBetArea_CBA_White ColorBetArea = 1 // 白色
ColorBetArea_CBA_Pink ColorBetArea = 2 // 粉色
ColorBetArea_CBA_Blue ColorBetArea = 3 // 蓝色
ColorBetArea_CBA_Red ColorBetArea = 4 // 红色
ColorBetArea_CBA_Green ColorBetArea = 5 // 绿色
ColorBetArea_CBA_Yellow2 ColorBetArea = 6 // 双黄色
ColorBetArea_CBA_White2 ColorBetArea = 7 // 双白色
ColorBetArea_CBA_Pink2 ColorBetArea = 8 // 双粉色
ColorBetArea_CBA_Blue2 ColorBetArea = 9 // 双蓝色
ColorBetArea_CBA_Red2 ColorBetArea = 10 // 双红色
ColorBetArea_CBA_Green2 ColorBetArea = 11 // 双绿色
ColorBetArea_CBA_Yellow3 ColorBetArea = 12 // 三黄色
ColorBetArea_CBA_White3 ColorBetArea = 13 // 三白色
ColorBetArea_CBA_Pink3 ColorBetArea = 14 // 三粉色
ColorBetArea_CBA_Blue3 ColorBetArea = 15 // 三蓝色
ColorBetArea_CBA_Red3 ColorBetArea = 16 // 三红色
ColorBetArea_CBA_Green3 ColorBetArea = 17 // 三绿色
2025-06-08 00:52:17 +08:00
)
2025-06-08 22:42:34 +08:00
// Enum value maps for ColorBetArea.
2025-06-08 00:52:17 +08:00
var (
2025-06-08 22:42:34 +08:00
ColorBetArea_name = map[int32]string{
0: "CBA_Yellow",
1: "CBA_White",
2: "CBA_Pink",
3: "CBA_Blue",
4: "CBA_Red",
5: "CBA_Green",
6: "CBA_Yellow2",
7: "CBA_White2",
8: "CBA_Pink2",
9: "CBA_Blue2",
10: "CBA_Red2",
11: "CBA_Green2",
12: "CBA_Yellow3",
13: "CBA_White3",
14: "CBA_Pink3",
15: "CBA_Blue3",
16: "CBA_Red3",
17: "CBA_Green3",
}
ColorBetArea_value = map[string]int32{
"CBA_Yellow": 0,
"CBA_White": 1,
"CBA_Pink": 2,
"CBA_Blue": 3,
"CBA_Red": 4,
"CBA_Green": 5,
"CBA_Yellow2": 6,
"CBA_White2": 7,
"CBA_Pink2": 8,
"CBA_Blue2": 9,
"CBA_Red2": 10,
"CBA_Green2": 11,
"CBA_Yellow3": 12,
"CBA_White3": 13,
"CBA_Pink3": 14,
"CBA_Blue3": 15,
"CBA_Red3": 16,
"CBA_Green3": 17,
2025-06-08 00:52:17 +08:00
}
)
2025-06-08 22:42:34 +08:00
func (x ColorBetArea) Enum() *ColorBetArea {
p := new(ColorBetArea)
2025-06-08 00:52:17 +08:00
*p = x
return p
}
2025-06-08 22:42:34 +08:00
func (x ColorBetArea) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2025-06-08 22:42:34 +08:00
func (ColorBetArea) Descriptor() protoreflect.EnumDescriptor {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_enumTypes[2].Descriptor()
}
2025-06-08 22:42:34 +08:00
func (ColorBetArea) Type() protoreflect.EnumType {
2025-06-08 00:52:17 +08:00
return &file_colorgame_proto_enumTypes[2]
}
2025-06-08 22:42:34 +08:00
func (x ColorBetArea) Number() protoreflect.EnumNumber {
2025-06-08 00:52:17 +08:00
return protoreflect.EnumNumber(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorBetArea.Descriptor instead.
func (ColorBetArea) EnumDescriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{2}
}
2025-06-08 22:42:34 +08:00
// 游戏阶段
type ColorGameStatus int32
2025-06-08 00:52:17 +08:00
const (
2025-06-08 22:42:34 +08:00
ColorGameStatus_CGS_WaitStart ColorGameStatus = 0 // 等待准备
ColorGameStatus_CGS_Start ColorGameStatus = 1 // 开始
ColorGameStatus_CGS_Betting ColorGameStatus = 2 // 下注
ColorGameStatus_CGS_BetEnd ColorGameStatus = 3 // 下注结束
ColorGameStatus_CGS_OpenThreeDice ColorGameStatus = 4 // 开三色
ColorGameStatus_CGS_Settle ColorGameStatus = 5 // 结算
2025-06-08 00:52:17 +08:00
)
2025-06-08 22:42:34 +08:00
// Enum value maps for ColorGameStatus.
2025-06-08 00:52:17 +08:00
var (
2025-06-08 22:42:34 +08:00
ColorGameStatus_name = map[int32]string{
0: "CGS_WaitStart",
1: "CGS_Start",
2: "CGS_Betting",
3: "CGS_BetEnd",
4: "CGS_OpenThreeDice",
5: "CGS_Settle",
}
ColorGameStatus_value = map[string]int32{
"CGS_WaitStart": 0,
"CGS_Start": 1,
"CGS_Betting": 2,
"CGS_BetEnd": 3,
"CGS_OpenThreeDice": 4,
"CGS_Settle": 5,
2025-06-08 00:52:17 +08:00
}
)
2025-06-08 22:42:34 +08:00
func (x ColorGameStatus) Enum() *ColorGameStatus {
p := new(ColorGameStatus)
2025-06-08 00:52:17 +08:00
*p = x
return p
}
2025-06-08 22:42:34 +08:00
func (x ColorGameStatus) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2025-06-08 22:42:34 +08:00
func (ColorGameStatus) Descriptor() protoreflect.EnumDescriptor {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_enumTypes[3].Descriptor()
}
2025-06-08 22:42:34 +08:00
func (ColorGameStatus) Type() protoreflect.EnumType {
2025-06-08 00:52:17 +08:00
return &file_colorgame_proto_enumTypes[3]
}
2025-06-08 22:42:34 +08:00
func (x ColorGameStatus) Number() protoreflect.EnumNumber {
2025-06-08 00:52:17 +08:00
return protoreflect.EnumNumber(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorGameStatus.Descriptor instead.
func (ColorGameStatus) EnumDescriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{3}
}
2025-06-08 22:42:34 +08:00
// 奖励类型
type ColorPrizeType int32
2025-06-08 00:52:17 +08:00
const (
2025-06-08 22:42:34 +08:00
ColorPrizeType_CPT_Normal ColorPrizeType = 0 // 普通奖励
ColorPrizeType_CPT_Big ColorPrizeType = 1 // 爆奖
ColorPrizeType_CPT_Jackpot ColorPrizeType = 2 // jackpot奖
2025-06-08 00:52:17 +08:00
)
2025-06-08 22:42:34 +08:00
// Enum value maps for ColorPrizeType.
2025-06-08 00:52:17 +08:00
var (
2025-06-08 22:42:34 +08:00
ColorPrizeType_name = map[int32]string{
0: "CPT_Normal",
1: "CPT_Big",
2: "CPT_Jackpot",
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
ColorPrizeType_value = map[string]int32{
"CPT_Normal": 0,
"CPT_Big": 1,
"CPT_Jackpot": 2,
2025-06-08 00:52:17 +08:00
}
)
2025-06-08 22:42:34 +08:00
func (x ColorPrizeType) Enum() *ColorPrizeType {
p := new(ColorPrizeType)
2025-06-08 00:52:17 +08:00
*p = x
return p
}
2025-06-08 22:42:34 +08:00
func (x ColorPrizeType) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2025-06-08 22:42:34 +08:00
func (ColorPrizeType) Descriptor() protoreflect.EnumDescriptor {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_enumTypes[4].Descriptor()
}
2025-06-08 22:42:34 +08:00
func (ColorPrizeType) Type() protoreflect.EnumType {
2025-06-08 00:52:17 +08:00
return &file_colorgame_proto_enumTypes[4]
}
2025-06-08 22:42:34 +08:00
func (x ColorPrizeType) Number() protoreflect.EnumNumber {
2025-06-08 00:52:17 +08:00
return protoreflect.EnumNumber(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorPrizeType.Descriptor instead.
func (ColorPrizeType) EnumDescriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{4}
}
2025-06-08 22:42:34 +08:00
// 投注区域赔率范围配置信息
type ColorPrizeAreaRange struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Pos ColorPrizeArea `protobuf:"varint,1,opt,name=pos,proto3,enum=pb.ColorPrizeArea" json:"pos,omitempty"` // 下注区域为单色区0-2时该值表明是单色还是双色三色不同的赔率
MinMul int64 `protobuf:"varint,2,opt,name=minMul,proto3" json:"minMul,omitempty"`
MaxMul int64 `protobuf:"varint,3,opt,name=maxMul,proto3" json:"maxMul,omitempty"`
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorPrizeAreaRange) Reset() {
*x = ColorPrizeAreaRange{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorPrizeAreaRange) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorPrizeAreaRange) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorPrizeAreaRange) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorPrizeAreaRange.ProtoReflect.Descriptor instead.
func (*ColorPrizeAreaRange) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{0}
}
2025-06-08 22:42:34 +08:00
func (x *ColorPrizeAreaRange) GetPos() ColorPrizeArea {
if x != nil {
return x.Pos
}
return ColorPrizeArea_CPA_Single_0
}
func (x *ColorPrizeAreaRange) GetMinMul() int64 {
if x != nil {
return x.MinMul
}
return 0
}
func (x *ColorPrizeAreaRange) GetMaxMul() int64 {
if x != nil {
return x.MaxMul
}
return 0
}
// color玩法配置信息
type ColorRoomConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
BetList []int64 `protobuf:"varint,3,rep,packed,name=betList,proto3" json:"betList,omitempty"` // 下注档位
MulRangeConfig []*ColorPrizeAreaRange `protobuf:"bytes,5,rep,name=mulRangeConfig,proto3" json:"mulRangeConfig,omitempty"` // 赔率显示
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomConfig) Reset() {
*x = ColorRoomConfig{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomConfig) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomConfig) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomConfig) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomConfig.ProtoReflect.Descriptor instead.
func (*ColorRoomConfig) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{1}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomConfig) GetBetList() []int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.BetList
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomConfig) GetMulRangeConfig() []*ColorPrizeAreaRange {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.MulRangeConfig
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 等待状态下房间显示信息
type ColorRoomWaitStart struct {
state protoimpl.MessageState `protogen:"open.v1"`
Trends *NtfColorTrend `protobuf:"bytes,1,opt,name=Trends,proto3" json:"Trends,omitempty"` // 路途显示
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomWaitStart) Reset() {
*x = ColorRoomWaitStart{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomWaitStart) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomWaitStart) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomWaitStart) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomWaitStart.ProtoReflect.Descriptor instead.
func (*ColorRoomWaitStart) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{2}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomWaitStart) GetTrends() *NtfColorTrend {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Trends
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
// 开始房间显示信息
type ColorRoomStart struct {
state protoimpl.MessageState `protogen:"open.v1"`
Start *NtfColorGameStart `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
Trends *NtfColorTrend `protobuf:"bytes,2,opt,name=Trends,proto3" json:"Trends,omitempty"` // 路途显示
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomStart) Reset() {
*x = ColorRoomStart{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomStart) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomStart) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomStart) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomStart.ProtoReflect.Descriptor instead.
func (*ColorRoomStart) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{3}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomStart) GetStart() *NtfColorGameStart {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Start
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomStart) GetTrends() *NtfColorTrend {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Trends
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 下注显示信息
type ColorRoomBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
BetAreaInfo *NtfColorBetAreaInfo `protobuf:"bytes,1,opt,name=betAreaInfo,proto3" json:"betAreaInfo,omitempty"` // 每个投注区域的下注人数,下注金额显示
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomBetting) Reset() {
*x = ColorRoomBetting{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomBetting) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomBetting) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomBetting) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomBetting.ProtoReflect.Descriptor instead.
func (*ColorRoomBetting) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{4}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomBetting) GetBetAreaInfo() *NtfColorBetAreaInfo {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.BetAreaInfo
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
// 结束下注显示信息
type ColorRoomEndBet struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
AreaMul *NtfColorEndBetting `protobuf:"bytes,1,opt,name=areaMul,proto3" json:"areaMul,omitempty"` // 结束下注后,更新每个投注区域的赔率
BetAreaInfo *NtfColorBetAreaInfo `protobuf:"bytes,2,opt,name=betAreaInfo,proto3" json:"betAreaInfo,omitempty"` // 每个投注区域的下注人数,下注金额显示
BigUser *NtfColorBigUser `protobuf:"bytes,3,opt,name=bigUser,proto3" json:"bigUser,omitempty"` // 大客数据
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomEndBet) Reset() {
*x = ColorRoomEndBet{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomEndBet) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomEndBet) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomEndBet) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomEndBet.ProtoReflect.Descriptor instead.
func (*ColorRoomEndBet) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{5}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomEndBet) GetAreaMul() *NtfColorEndBetting {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.AreaMul
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomEndBet) GetBetAreaInfo() *NtfColorBetAreaInfo {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.BetAreaInfo
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomEndBet) GetBigUser() *NtfColorBigUser {
if x != nil {
return x.BigUser
}
return nil
}
// 开骰子显示信息
type ColorRoomOpenThreeDice struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Dices *NtfColorOpenThreeDice `protobuf:"bytes,1,opt,name=dices,proto3" json:"dices,omitempty"`
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomOpenThreeDice) Reset() {
*x = ColorRoomOpenThreeDice{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomOpenThreeDice) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomOpenThreeDice) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomOpenThreeDice) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomOpenThreeDice.ProtoReflect.Descriptor instead.
func (*ColorRoomOpenThreeDice) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{6}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomOpenThreeDice) GetDices() *NtfColorOpenThreeDice {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Dices
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 结算信息
type ColorRoomSettle struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Settle *NtfColorSettle `protobuf:"bytes,1,opt,name=settle,proto3" json:"settle,omitempty"`
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomSettle) Reset() {
*x = ColorRoomSettle{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomSettle) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorRoomSettle) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorRoomSettle) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorRoomSettle.ProtoReflect.Descriptor instead.
func (*ColorRoomSettle) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{7}
}
2025-06-08 22:42:34 +08:00
func (x *ColorRoomSettle) GetSettle() *NtfColorSettle {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Settle
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 进房间发送房间当前所有信息及状态
type NtfColorRoomInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status ColorGameStatus `protobuf:"varint,1,opt,name=status,proto3,enum=pb.ColorGameStatus" json:"status,omitempty"`
EndTime int64 `protobuf:"varint,2,opt,name=endTime,proto3" json:"endTime,omitempty"` // 该状态结束时间
Config *ColorRoomConfig `protobuf:"bytes,101,opt,name=config,proto3" json:"config,omitempty"` // 房间配置
User *ColorUser `protobuf:"bytes,100,opt,name=user,proto3" json:"user,omitempty"`
WaitStart *ColorRoomWaitStart `protobuf:"bytes,3,opt,name=waitStart,proto3" json:"waitStart,omitempty"` // 等待状态房间数据
Start *ColorRoomStart `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
Betting *ColorRoomBetting `protobuf:"bytes,5,opt,name=betting,proto3" json:"betting,omitempty"`
EndBet *ColorRoomEndBet `protobuf:"bytes,6,opt,name=endBet,proto3" json:"endBet,omitempty"`
OpenThreeDice *ColorRoomOpenThreeDice `protobuf:"bytes,7,opt,name=openThreeDice,proto3" json:"openThreeDice,omitempty"`
Settle *ColorRoomSettle `protobuf:"bytes,8,opt,name=settle,proto3" json:"settle,omitempty"`
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) Reset() {
*x = NtfColorRoomInfo{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorRoomInfo) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorRoomInfo.ProtoReflect.Descriptor instead.
func (*NtfColorRoomInfo) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{8}
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetStatus() ColorGameStatus {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Status
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorGameStatus_CGS_WaitStart
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetEndTime() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.EndTime
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetConfig() *ColorRoomConfig {
if x != nil {
return x.Config
}
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetUser() *ColorUser {
if x != nil {
return x.User
}
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetWaitStart() *ColorRoomWaitStart {
if x != nil {
return x.WaitStart
}
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetStart() *ColorRoomStart {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Start
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetBetting() *ColorRoomBetting {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Betting
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetEndBet() *ColorRoomEndBet {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.EndBet
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetOpenThreeDice() *ColorRoomOpenThreeDice {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.OpenThreeDice
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorRoomInfo) GetSettle() *ColorRoomSettle {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Settle
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
type NtfColorGameStart struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
EndTime int64 `protobuf:"varint,1,opt,name=endTime,proto3" json:"endTime,omitempty"` // 倒计时3秒后游戏开始endTime = statusTime+3秒
Jackpot int64 `protobuf:"varint,2,opt,name=jackpot,proto3" json:"jackpot,omitempty"` // jackpot池
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorGameStart) Reset() {
*x = NtfColorGameStart{}
mi := &file_colorgame_proto_msgTypes[9]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorGameStart) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorGameStart) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorGameStart) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[9]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorGameStart.ProtoReflect.Descriptor instead.
func (*NtfColorGameStart) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{9}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorGameStart) GetEndTime() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.EndTime
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorGameStart) GetJackpot() int64 {
if x != nil {
return x.Jackpot
}
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
type NtfColorBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
EndTime int64 `protobuf:"varint,1,opt,name=endTime,proto3" json:"endTime,omitempty"` // 结束时间
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorBetting) Reset() {
*x = NtfColorBetting{}
mi := &file_colorgame_proto_msgTypes[10]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetting) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorBetting) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetting) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[10]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorBetting.ProtoReflect.Descriptor instead.
func (*NtfColorBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{10}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetting) GetEndTime() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.EndTime
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
type ReqColorBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
Area ColorBetArea `protobuf:"varint,1,opt,name=area,proto3,enum=pb.ColorBetArea" json:"area,omitempty"`
Bet int64 `protobuf:"varint,2,opt,name=bet,proto3" json:"bet,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReqColorBetting) Reset() {
*x = ReqColorBetting{}
mi := &file_colorgame_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReqColorBetting) String() string {
return protoimpl.X.MessageStringOf(x)
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (*ReqColorBetting) ProtoMessage() {}
func (x *ReqColorBetting) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[11]
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return mi.MessageOf(x)
}
// Deprecated: Use ReqColorBetting.ProtoReflect.Descriptor instead.
func (*ReqColorBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{11}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ReqColorBetting) GetArea() ColorBetArea {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Area
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorBetArea_CBA_Yellow
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ReqColorBetting) GetBet() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Bet
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
type RspColorBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code ErrCode `protobuf:"varint,1,opt,name=code,proto3,enum=pb.ErrCode" json:"code,omitempty"`
Area ColorBetArea `protobuf:"varint,2,opt,name=area,proto3,enum=pb.ColorBetArea" json:"area,omitempty"`
Bet int64 `protobuf:"varint,3,opt,name=bet,proto3" json:"bet,omitempty"`
Gold int64 `protobuf:"varint,4,opt,name=gold,proto3" json:"gold,omitempty"` // 玩家一共有多少金币
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *RspColorBetting) Reset() {
*x = RspColorBetting{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *RspColorBetting) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*RspColorBetting) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *RspColorBetting) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use RspColorBetting.ProtoReflect.Descriptor instead.
func (*RspColorBetting) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{12}
}
2025-06-08 22:42:34 +08:00
func (x *RspColorBetting) GetCode() ErrCode {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Code
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ErrCode_OK
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *RspColorBetting) GetArea() ColorBetArea {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Area
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorBetArea_CBA_Yellow
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *RspColorBetting) GetBet() int64 {
if x != nil {
return x.Bet
}
return 0
}
func (x *RspColorBetting) GetGold() int64 {
if x != nil {
return x.Gold
}
return 0
}
// 更新投注区域信息
type NtfColorBetAreaInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
AreaInfos []*NtfColorBetAreaInfo_BetAreaInfo `protobuf:"bytes,1,rep,name=areaInfos,proto3" json:"areaInfos,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo) Reset() {
*x = NtfColorBetAreaInfo{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorBetAreaInfo) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorBetAreaInfo.ProtoReflect.Descriptor instead.
func (*NtfColorBetAreaInfo) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{13}
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo) GetAreaInfos() []*NtfColorBetAreaInfo_BetAreaInfo {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.AreaInfos
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
// 投注区域实际赔率,奖励类型
type ColorBetAreaMul struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Area ColorBetArea `protobuf:"varint,1,opt,name=area,proto3,enum=pb.ColorBetArea" json:"area,omitempty"` // 区域位置
PrizeArea ColorPrizeArea `protobuf:"varint,2,opt,name=prizeArea,proto3,enum=pb.ColorPrizeArea" json:"prizeArea,omitempty"` // 奖励档位
PrizeType ColorPrizeType `protobuf:"varint,3,opt,name=prizeType,proto3,enum=pb.ColorPrizeType" json:"prizeType,omitempty"` // 奖励类型
Mul int64 `protobuf:"varint,4,opt,name=mul,proto3" json:"mul,omitempty"` // 赔率
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) Reset() {
*x = ColorBetAreaMul{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorBetAreaMul) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorBetAreaMul.ProtoReflect.Descriptor instead.
func (*ColorBetAreaMul) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{14}
}
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) GetArea() ColorBetArea {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Area
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorBetArea_CBA_Yellow
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) GetPrizeArea() ColorPrizeArea {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.PrizeArea
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorPrizeArea_CPA_Single_0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) GetPrizeType() ColorPrizeType {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.PrizeType
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorPrizeType_CPT_Normal
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorBetAreaMul) GetMul() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Mul
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 结束投注
type NtfColorEndBetting struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
EndTime int64 `protobuf:"varint,1,opt,name=endTime,proto3" json:"endTime,omitempty"` // 结束时间
AreaMul []*ColorBetAreaMul `protobuf:"bytes,2,rep,name=areaMul,proto3" json:"areaMul,omitempty"` // 更新区域实际赔率
Jackpot int64 `protobuf:"varint,3,opt,name=jackpot,proto3" json:"jackpot,omitempty"` // 下注结束更新jackpot值
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorEndBetting) Reset() {
*x = NtfColorEndBetting{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorEndBetting) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorEndBetting) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorEndBetting) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorEndBetting.ProtoReflect.Descriptor instead.
func (*NtfColorEndBetting) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{15}
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorEndBetting) GetEndTime() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.EndTime
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorEndBetting) GetAreaMul() []*ColorBetAreaMul {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.AreaMul
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorEndBetting) GetJackpot() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Jackpot
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
type NtfColorOpenThreeDice struct {
state protoimpl.MessageState `protogen:"open.v1"`
Color []ColorType `protobuf:"varint,1,rep,packed,name=color,proto3,enum=pb.ColorType" json:"color,omitempty"` // 骰子开出颜色 3个
AniRouteIndex int32 `protobuf:"varint,3,opt,name=aniRouteIndex,proto3" json:"aniRouteIndex,omitempty"` // 动画路径
WinBetArea []*ColorBetAreaMul `protobuf:"bytes,5,rep,name=winBetArea,proto3" json:"winBetArea,omitempty"` // 中奖区域高亮
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorOpenThreeDice) Reset() {
*x = NtfColorOpenThreeDice{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorOpenThreeDice) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorOpenThreeDice) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorOpenThreeDice) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorOpenThreeDice.ProtoReflect.Descriptor instead.
func (*NtfColorOpenThreeDice) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{16}
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorOpenThreeDice) GetColor() []ColorType {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Color
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorOpenThreeDice) GetAniRouteIndex() int32 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.AniRouteIndex
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorOpenThreeDice) GetWinBetArea() []*ColorBetAreaMul {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.WinBetArea
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
}
// 玩家结算信息
type NtfColorSettle struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserAreaWin []*NtfColorSettle_UserBetAreaMul `protobuf:"bytes,1,rep,name=userAreaWin,proto3" json:"userAreaWin,omitempty"` // 每个投注区域的下注及输赢
ThreeDice []ColorType `protobuf:"varint,2,rep,packed,name=threeDice,proto3,enum=pb.ColorType" json:"threeDice,omitempty"` // 骰子开出颜色
TotalWin int64 `protobuf:"varint,3,opt,name=totalWin,proto3" json:"totalWin,omitempty"` // 总输赢
TotalBet int64 `protobuf:"varint,4,opt,name=totalBet,proto3" json:"totalBet,omitempty"` // 总投注
Tax int64 `protobuf:"varint,5,opt,name=tax,proto3" json:"tax,omitempty"` // 税
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) Reset() {
*x = NtfColorSettle{}
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorSettle) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) ProtoReflect() protoreflect.Message {
2025-06-08 00:52:17 +08:00
mi := &file_colorgame_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorSettle.ProtoReflect.Descriptor instead.
func (*NtfColorSettle) Descriptor() ([]byte, []int) {
2025-06-08 00:52:17 +08:00
return file_colorgame_proto_rawDescGZIP(), []int{17}
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) GetUserAreaWin() []*NtfColorSettle_UserBetAreaMul {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.UserAreaWin
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) GetThreeDice() []ColorType {
2025-06-08 00:52:17 +08:00
if x != nil {
return x.ThreeDice
}
return nil
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) GetTotalWin() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.TotalWin
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) GetTotalBet() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.TotalBet
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle) GetTax() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Tax
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
// 游戏中几个玩家的数据
type ColorUser struct {
state protoimpl.MessageState `protogen:"open.v1"`
Nick string `protobuf:"bytes,1,opt,name=Nick,proto3" json:"Nick,omitempty"` // 用户昵称
Head string `protobuf:"bytes,2,opt,name=Head,proto3" json:"Head,omitempty"` // 头像
Score int64 `protobuf:"varint,3,opt,name=Score,proto3" json:"Score,omitempty"` // 分数
SeatId int32 `protobuf:"varint,4,opt,name=SeatId,proto3" json:"SeatId,omitempty"` //在场景中的座位id
UserID int64 `protobuf:"varint,5,opt,name=UserID,proto3" json:"UserID,omitempty"` //用户ID
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) Reset() {
*x = ColorUser{}
mi := &file_colorgame_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) String() string {
return protoimpl.X.MessageStringOf(x)
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (*ColorUser) ProtoMessage() {}
func (x *ColorUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[18]
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return mi.MessageOf(x)
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorUser.ProtoReflect.Descriptor instead.
func (*ColorUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{18}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) GetNick() string {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Nick
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ""
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) GetHead() string {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Head
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ""
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) GetScore() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Score
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) GetSeatId() int32 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.SeatId
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *ColorUser) GetUserID() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.UserID
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 结束下注,更新大客投注信息
type NtfColorBigUser struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
BigUser []*ColorBigUser `protobuf:"bytes,34,rep,name=bigUser,proto3" json:"bigUser,omitempty"` // 大客投注
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBigUser) Reset() {
*x = NtfColorBigUser{}
mi := &file_colorgame_proto_msgTypes[19]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBigUser) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorBigUser) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorBigUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[19]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorBigUser.ProtoReflect.Descriptor instead.
func (*NtfColorBigUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{19}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBigUser) GetBigUser() []*ColorBigUser {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.BigUser
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 路途展示
type NtfColorTrend struct {
state protoimpl.MessageState `protogen:"open.v1"`
ColorRate []*NtfColorTrend_ColorRate `protobuf:"bytes,1,rep,name=colorRate,proto3" json:"colorRate,omitempty"` // 最近30局各颜色中奖概率
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend) Reset() {
*x = NtfColorTrend{}
mi := &file_colorgame_proto_msgTypes[20]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorTrend) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[20]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorTrend.ProtoReflect.Descriptor instead.
func (*NtfColorTrend) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{20}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend) GetColorRate() []*NtfColorTrend_ColorRate {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.ColorRate
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return nil
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 赢钱或下注最多的6个玩家
type ColorBigUser struct {
state protoimpl.MessageState `protogen:"open.v1"`
NickName string `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"` //名字
Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
WinChips int64 `protobuf:"varint,1,opt,name=winChips,proto3" json:"winChips,omitempty"` // 赢取金币
AreaId []int64 `protobuf:"varint,3,rep,packed,name=areaId,proto3" json:"areaId,omitempty"` // 赢钱区域(前6个)
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) Reset() {
*x = ColorBigUser{}
mi := &file_colorgame_proto_msgTypes[21]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*ColorBigUser) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[21]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use ColorBigUser.ProtoReflect.Descriptor instead.
func (*ColorBigUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{21}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) GetNickName() string {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.NickName
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ""
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) GetAvatar() string {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Avatar
2025-06-08 00:52:17 +08:00
}
return ""
}
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) GetWinChips() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.WinChips
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *ColorBigUser) GetAreaId() []int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.AreaId
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
type NtfColorKickOutUser struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Code ErrCode `protobuf:"varint,1,opt,name=code,proto3,enum=pb.ErrCode" json:"code,omitempty"` // 踢出原因
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorKickOutUser) Reset() {
*x = NtfColorKickOutUser{}
mi := &file_colorgame_proto_msgTypes[22]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorKickOutUser) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorKickOutUser) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorKickOutUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[22]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorKickOutUser.ProtoReflect.Descriptor instead.
func (*NtfColorKickOutUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{22}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorKickOutUser) GetCode() ErrCode {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Code
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ErrCode_OK
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
// 系统维护或流局
type NtfColorMaintain struct {
state protoimpl.MessageState `protogen:"open.v1"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 维护消息
Gold int64 `protobuf:"varint,3,opt,name=gold,proto3" json:"gold,omitempty"` // 玩家金币重置为该值
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorMaintain) Reset() {
*x = NtfColorMaintain{}
mi := &file_colorgame_proto_msgTypes[23]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorMaintain) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorMaintain) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorMaintain) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[23]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorMaintain.ProtoReflect.Descriptor instead.
func (*NtfColorMaintain) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{23}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorMaintain) GetMsg() string {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Msg
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ""
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorMaintain) GetGold() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Gold
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
type NtfColorBetAreaInfo_BetAreaInfo struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Area ColorBetArea `protobuf:"varint,1,opt,name=area,proto3,enum=pb.ColorBetArea" json:"area,omitempty"` // 投注区域
TotalGold int64 `protobuf:"varint,2,opt,name=totalGold,proto3" json:"totalGold,omitempty"` // 所有玩家总投注金额
PlayerNum int32 `protobuf:"varint,3,opt,name=playerNum,proto3" json:"playerNum,omitempty"` // 投注该区域人数
MyBet int64 `protobuf:"varint,4,opt,name=myBet,proto3" json:"myBet,omitempty"` // 我的投注金额
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) Reset() {
*x = NtfColorBetAreaInfo_BetAreaInfo{}
mi := &file_colorgame_proto_msgTypes[24]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorBetAreaInfo_BetAreaInfo) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[24]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorBetAreaInfo_BetAreaInfo.ProtoReflect.Descriptor instead.
func (*NtfColorBetAreaInfo_BetAreaInfo) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{13, 0}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) GetArea() ColorBetArea {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Area
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorBetArea_CBA_Yellow
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) GetTotalGold() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.TotalGold
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) GetPlayerNum() int32 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.PlayerNum
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorBetAreaInfo_BetAreaInfo) GetMyBet() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.MyBet
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
type NtfColorSettle_UserBetAreaMul struct {
state protoimpl.MessageState `protogen:"open.v1"`
AreaMul *ColorBetAreaMul `protobuf:"bytes,1,opt,name=areaMul,proto3" json:"areaMul,omitempty"`
Bet int64 `protobuf:"varint,2,opt,name=bet,proto3" json:"bet,omitempty"` // 玩家在该区域投注金额
Win int64 `protobuf:"varint,3,opt,name=win,proto3" json:"win,omitempty"` // 该区域赢钱
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle_UserBetAreaMul) Reset() {
*x = NtfColorSettle_UserBetAreaMul{}
mi := &file_colorgame_proto_msgTypes[25]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle_UserBetAreaMul) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorSettle_UserBetAreaMul) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle_UserBetAreaMul) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[25]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorSettle_UserBetAreaMul.ProtoReflect.Descriptor instead.
func (*NtfColorSettle_UserBetAreaMul) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{17, 0}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle_UserBetAreaMul) GetAreaMul() *ColorBetAreaMul {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.AreaMul
2025-06-08 00:52:17 +08:00
}
return nil
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle_UserBetAreaMul) GetBet() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Bet
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorSettle_UserBetAreaMul) GetWin() int64 {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Win
2025-06-08 00:52:17 +08:00
}
return 0
}
2025-06-08 22:42:34 +08:00
type NtfColorTrend_ColorRate struct {
2025-06-08 00:52:17 +08:00
state protoimpl.MessageState `protogen:"open.v1"`
2025-06-08 22:42:34 +08:00
Color ColorType `protobuf:"varint,1,opt,name=color,proto3,enum=pb.ColorType" json:"color,omitempty"`
Rate int32 `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"`
2025-06-08 00:52:17 +08:00
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend_ColorRate) Reset() {
*x = NtfColorTrend_ColorRate{}
mi := &file_colorgame_proto_msgTypes[26]
2025-06-08 00:52:17 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend_ColorRate) String() string {
2025-06-08 00:52:17 +08:00
return protoimpl.X.MessageStringOf(x)
}
2025-06-08 22:42:34 +08:00
func (*NtfColorTrend_ColorRate) ProtoMessage() {}
2025-06-08 00:52:17 +08:00
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend_ColorRate) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[26]
2025-06-08 00:52:17 +08:00
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2025-06-08 22:42:34 +08:00
// Deprecated: Use NtfColorTrend_ColorRate.ProtoReflect.Descriptor instead.
func (*NtfColorTrend_ColorRate) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{20, 0}
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
func (x *NtfColorTrend_ColorRate) GetColor() ColorType {
2025-06-08 00:52:17 +08:00
if x != nil {
2025-06-08 22:42:34 +08:00
return x.Color
2025-06-08 00:52:17 +08:00
}
2025-06-08 22:42:34 +08:00
return ColorType_CT_Yellow
}
func (x *NtfColorTrend_ColorRate) GetRate() int32 {
if x != nil {
return x.Rate
}
return 0
2025-06-08 00:52:17 +08:00
}
2025-06-07 22:53:54 +08:00
var File_colorgame_proto protoreflect.FileDescriptor
const file_colorgame_proto_rawDesc = "" +
"\n" +
2025-06-08 22:42:34 +08:00
"\x0fcolorgame.proto\x12\x02pb\x1a\n" +
"code.proto\"k\n" +
"\x13ColorPrizeAreaRange\x12$\n" +
"\x03pos\x18\x01 \x01(\x0e2\x12.pb.ColorPrizeAreaR\x03pos\x12\x16\n" +
"\x06minMul\x18\x02 \x01(\x03R\x06minMul\x12\x16\n" +
"\x06maxMul\x18\x03 \x01(\x03R\x06maxMul\"l\n" +
"\x0fColorRoomConfig\x12\x18\n" +
"\abetList\x18\x03 \x03(\x03R\abetList\x12?\n" +
"\x0emulRangeConfig\x18\x05 \x03(\v2\x17.pb.ColorPrizeAreaRangeR\x0emulRangeConfig\"?\n" +
"\x12ColorRoomWaitStart\x12)\n" +
"\x06Trends\x18\x01 \x01(\v2\x11.pb.NtfColorTrendR\x06Trends\"h\n" +
"\x0eColorRoomStart\x12+\n" +
"\x05start\x18\x01 \x01(\v2\x15.pb.NtfColorGameStartR\x05start\x12)\n" +
"\x06Trends\x18\x02 \x01(\v2\x11.pb.NtfColorTrendR\x06Trends\"M\n" +
"\x10ColorRoomBetting\x129\n" +
"\vbetAreaInfo\x18\x01 \x01(\v2\x17.pb.NtfColorBetAreaInfoR\vbetAreaInfo\"\xad\x01\n" +
"\x0fColorRoomEndBet\x120\n" +
"\aareaMul\x18\x01 \x01(\v2\x16.pb.NtfColorEndBettingR\aareaMul\x129\n" +
"\vbetAreaInfo\x18\x02 \x01(\v2\x17.pb.NtfColorBetAreaInfoR\vbetAreaInfo\x12-\n" +
"\abigUser\x18\x03 \x01(\v2\x13.pb.NtfColorBigUserR\abigUser\"I\n" +
"\x16ColorRoomOpenThreeDice\x12/\n" +
"\x05dices\x18\x01 \x01(\v2\x19.pb.NtfColorOpenThreeDiceR\x05dices\"=\n" +
"\x0fColorRoomSettle\x12*\n" +
"\x06settle\x18\x01 \x01(\v2\x12.pb.NtfColorSettleR\x06settle\"\xd5\x03\n" +
"\x10NtfColorRoomInfo\x12+\n" +
"\x06status\x18\x01 \x01(\x0e2\x13.pb.ColorGameStatusR\x06status\x12\x18\n" +
"\aendTime\x18\x02 \x01(\x03R\aendTime\x12+\n" +
"\x06config\x18e \x01(\v2\x13.pb.ColorRoomConfigR\x06config\x12!\n" +
"\x04user\x18d \x01(\v2\r.pb.ColorUserR\x04user\x124\n" +
"\twaitStart\x18\x03 \x01(\v2\x16.pb.ColorRoomWaitStartR\twaitStart\x12(\n" +
"\x05start\x18\x04 \x01(\v2\x12.pb.ColorRoomStartR\x05start\x12.\n" +
"\abetting\x18\x05 \x01(\v2\x14.pb.ColorRoomBettingR\abetting\x12+\n" +
"\x06endBet\x18\x06 \x01(\v2\x13.pb.ColorRoomEndBetR\x06endBet\x12@\n" +
"\ropenThreeDice\x18\a \x01(\v2\x1a.pb.ColorRoomOpenThreeDiceR\ropenThreeDice\x12+\n" +
"\x06settle\x18\b \x01(\v2\x13.pb.ColorRoomSettleR\x06settle\"G\n" +
"\x11NtfColorGameStart\x12\x18\n" +
"\aendTime\x18\x01 \x01(\x03R\aendTime\x12\x18\n" +
"\ajackpot\x18\x02 \x01(\x03R\ajackpot\"+\n" +
"\x0fNtfColorBetting\x12\x18\n" +
"\aendTime\x18\x01 \x01(\x03R\aendTime\"I\n" +
"\x0fReqColorBetting\x12$\n" +
"\x04area\x18\x01 \x01(\x0e2\x10.pb.ColorBetAreaR\x04area\x12\x10\n" +
"\x03bet\x18\x02 \x01(\x03R\x03bet\"~\n" +
"\x0fRspColorBetting\x12\x1f\n" +
"\x04code\x18\x01 \x01(\x0e2\v.pb.ErrCodeR\x04code\x12$\n" +
"\x04area\x18\x02 \x01(\x0e2\x10.pb.ColorBetAreaR\x04area\x12\x10\n" +
"\x03bet\x18\x03 \x01(\x03R\x03bet\x12\x12\n" +
"\x04gold\x18\x04 \x01(\x03R\x04gold\"\xe0\x01\n" +
"\x13NtfColorBetAreaInfo\x12A\n" +
"\tareaInfos\x18\x01 \x03(\v2#.pb.NtfColorBetAreaInfo.BetAreaInfoR\tareaInfos\x1a\x85\x01\n" +
"\vBetAreaInfo\x12$\n" +
"\x04area\x18\x01 \x01(\x0e2\x10.pb.ColorBetAreaR\x04area\x12\x1c\n" +
"\ttotalGold\x18\x02 \x01(\x03R\ttotalGold\x12\x1c\n" +
"\tplayerNum\x18\x03 \x01(\x05R\tplayerNum\x12\x14\n" +
"\x05myBet\x18\x04 \x01(\x03R\x05myBet\"\xad\x01\n" +
"\x0fColorBetAreaMul\x12$\n" +
"\x04area\x18\x01 \x01(\x0e2\x10.pb.ColorBetAreaR\x04area\x120\n" +
"\tprizeArea\x18\x02 \x01(\x0e2\x12.pb.ColorPrizeAreaR\tprizeArea\x120\n" +
"\tprizeType\x18\x03 \x01(\x0e2\x12.pb.ColorPrizeTypeR\tprizeType\x12\x10\n" +
"\x03mul\x18\x04 \x01(\x03R\x03mul\"w\n" +
"\x12NtfColorEndBetting\x12\x18\n" +
"\aendTime\x18\x01 \x01(\x03R\aendTime\x12-\n" +
"\aareaMul\x18\x02 \x03(\v2\x13.pb.ColorBetAreaMulR\aareaMul\x12\x18\n" +
"\ajackpot\x18\x03 \x01(\x03R\ajackpot\"\x97\x01\n" +
"\x15NtfColorOpenThreeDice\x12#\n" +
"\x05color\x18\x01 \x03(\x0e2\r.pb.ColorTypeR\x05color\x12$\n" +
"\raniRouteIndex\x18\x03 \x01(\x05R\raniRouteIndex\x123\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"winBetArea\x18\x05 \x03(\v2\x13.pb.ColorBetAreaMulR\n" +
"winBetArea\"\xb1\x02\n" +
"\x0eNtfColorSettle\x12C\n" +
"\vuserAreaWin\x18\x01 \x03(\v2!.pb.NtfColorSettle.UserBetAreaMulR\vuserAreaWin\x12+\n" +
"\tthreeDice\x18\x02 \x03(\x0e2\r.pb.ColorTypeR\tthreeDice\x12\x1a\n" +
"\btotalWin\x18\x03 \x01(\x03R\btotalWin\x12\x1a\n" +
"\btotalBet\x18\x04 \x01(\x03R\btotalBet\x12\x10\n" +
"\x03tax\x18\x05 \x01(\x03R\x03tax\x1ac\n" +
"\x0eUserBetAreaMul\x12-\n" +
"\aareaMul\x18\x01 \x01(\v2\x13.pb.ColorBetAreaMulR\aareaMul\x12\x10\n" +
"\x03bet\x18\x02 \x01(\x03R\x03bet\x12\x10\n" +
"\x03win\x18\x03 \x01(\x03R\x03win\"y\n" +
"\tColorUser\x12\x12\n" +
2025-06-08 00:52:17 +08:00
"\x04Nick\x18\x01 \x01(\tR\x04Nick\x12\x12\n" +
"\x04Head\x18\x02 \x01(\tR\x04Head\x12\x14\n" +
"\x05Score\x18\x03 \x01(\x03R\x05Score\x12\x16\n" +
"\x06SeatId\x18\x04 \x01(\x05R\x06SeatId\x12\x16\n" +
2025-06-08 22:42:34 +08:00
"\x06UserID\x18\x05 \x01(\x03R\x06UserID\"=\n" +
"\x0fNtfColorBigUser\x12*\n" +
"\abigUser\x18\" \x03(\v2\x10.pb.ColorBigUserR\abigUser\"\x90\x01\n" +
"\rNtfColorTrend\x129\n" +
"\tcolorRate\x18\x01 \x03(\v2\x1b.pb.NtfColorTrend.ColorRateR\tcolorRate\x1aD\n" +
"\tColorRate\x12#\n" +
"\x05color\x18\x01 \x01(\x0e2\r.pb.ColorTypeR\x05color\x12\x12\n" +
"\x04rate\x18\x02 \x01(\x05R\x04rate\"v\n" +
"\fColorBigUser\x12\x1a\n" +
2025-06-08 00:52:17 +08:00
"\bnickName\x18\x05 \x01(\tR\bnickName\x12\x16\n" +
"\x06avatar\x18\x02 \x01(\tR\x06avatar\x12\x1a\n" +
"\bwinChips\x18\x01 \x01(\x03R\bwinChips\x12\x16\n" +
2025-06-08 22:42:34 +08:00
"\x06areaId\x18\x03 \x03(\x03R\x06areaId\"6\n" +
"\x13NtfColorKickOutUser\x12\x1f\n" +
"\x04code\x18\x01 \x01(\x0e2\v.pb.ErrCodeR\x04code\"8\n" +
"\x10NtfColorMaintain\x12\x10\n" +
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
"\x04gold\x18\x03 \x01(\x03R\x04gold*e\n" +
"\x0eColorPrizeArea\x12\x10\n" +
"\fCPA_Single_0\x10\x00\x12\x10\n" +
"\fCPA_Single_1\x10\x01\x12\x10\n" +
"\fCPA_Single_2\x10\x02\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CPA_Double\x10\x03\x12\r\n" +
"\tCPA_Three\x10\x04*\\\n" +
"\tColorType\x12\r\n" +
"\tCT_Yellow\x10\x00\x12\f\n" +
"\bCT_White\x10\x01\x12\v\n" +
"\aCT_Pink\x10\x02\x12\v\n" +
"\aCT_Blue\x10\x03\x12\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"\x06CT_Red\x10\x04\x12\f\n" +
"\bCT_Green\x10\x05*\x9f\x02\n" +
"\fColorBetArea\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CBA_Yellow\x10\x00\x12\r\n" +
"\tCBA_White\x10\x01\x12\f\n" +
"\bCBA_Pink\x10\x02\x12\f\n" +
"\bCBA_Blue\x10\x03\x12\v\n" +
"\aCBA_Red\x10\x04\x12\r\n" +
"\tCBA_Green\x10\x05\x12\x0f\n" +
"\vCBA_Yellow2\x10\x06\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CBA_White2\x10\a\x12\r\n" +
"\tCBA_Pink2\x10\b\x12\r\n" +
"\tCBA_Blue2\x10\t\x12\f\n" +
"\bCBA_Red2\x10\n" +
"\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CBA_Green2\x10\v\x12\x0f\n" +
"\vCBA_Yellow3\x10\f\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CBA_White3\x10\r\x12\r\n" +
"\tCBA_Pink3\x10\x0e\x12\r\n" +
"\tCBA_Blue3\x10\x0f\x12\f\n" +
"\bCBA_Red3\x10\x10\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CBA_Green3\x10\x11*{\n" +
"\x0fColorGameStatus\x12\x11\n" +
"\rCGS_WaitStart\x10\x00\x12\r\n" +
"\tCGS_Start\x10\x01\x12\x0f\n" +
"\vCGS_Betting\x10\x02\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CGS_BetEnd\x10\x03\x12\x15\n" +
"\x11CGS_OpenThreeDice\x10\x04\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CGS_Settle\x10\x05*>\n" +
"\x0eColorPrizeType\x12\x0e\n" +
2025-06-08 00:52:17 +08:00
"\n" +
2025-06-08 22:42:34 +08:00
"CPT_Normal\x10\x00\x12\v\n" +
"\aCPT_Big\x10\x01\x12\x0f\n" +
"\vCPT_Jackpot\x10\x02B\x11Z\x0fcommon/proto/pbb\x06proto3"
2025-06-08 00:52:17 +08:00
var (
file_colorgame_proto_rawDescOnce sync.Once
file_colorgame_proto_rawDescData []byte
)
func file_colorgame_proto_rawDescGZIP() []byte {
file_colorgame_proto_rawDescOnce.Do(func() {
file_colorgame_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_colorgame_proto_rawDesc), len(file_colorgame_proto_rawDesc)))
})
return file_colorgame_proto_rawDescData
}
2025-06-07 22:53:54 +08:00
2025-06-08 22:42:34 +08:00
var file_colorgame_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_colorgame_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
2025-06-08 00:52:17 +08:00
var file_colorgame_proto_goTypes = []any{
2025-06-08 22:42:34 +08:00
(ColorPrizeArea)(0), // 0: pb.ColorPrizeArea
(ColorType)(0), // 1: pb.ColorType
(ColorBetArea)(0), // 2: pb.ColorBetArea
(ColorGameStatus)(0), // 3: pb.ColorGameStatus
(ColorPrizeType)(0), // 4: pb.ColorPrizeType
(*ColorPrizeAreaRange)(nil), // 5: pb.ColorPrizeAreaRange
(*ColorRoomConfig)(nil), // 6: pb.ColorRoomConfig
(*ColorRoomWaitStart)(nil), // 7: pb.ColorRoomWaitStart
(*ColorRoomStart)(nil), // 8: pb.ColorRoomStart
(*ColorRoomBetting)(nil), // 9: pb.ColorRoomBetting
(*ColorRoomEndBet)(nil), // 10: pb.ColorRoomEndBet
(*ColorRoomOpenThreeDice)(nil), // 11: pb.ColorRoomOpenThreeDice
(*ColorRoomSettle)(nil), // 12: pb.ColorRoomSettle
(*NtfColorRoomInfo)(nil), // 13: pb.NtfColorRoomInfo
(*NtfColorGameStart)(nil), // 14: pb.NtfColorGameStart
(*NtfColorBetting)(nil), // 15: pb.NtfColorBetting
(*ReqColorBetting)(nil), // 16: pb.ReqColorBetting
(*RspColorBetting)(nil), // 17: pb.RspColorBetting
(*NtfColorBetAreaInfo)(nil), // 18: pb.NtfColorBetAreaInfo
(*ColorBetAreaMul)(nil), // 19: pb.ColorBetAreaMul
(*NtfColorEndBetting)(nil), // 20: pb.NtfColorEndBetting
(*NtfColorOpenThreeDice)(nil), // 21: pb.NtfColorOpenThreeDice
(*NtfColorSettle)(nil), // 22: pb.NtfColorSettle
(*ColorUser)(nil), // 23: pb.ColorUser
(*NtfColorBigUser)(nil), // 24: pb.NtfColorBigUser
(*NtfColorTrend)(nil), // 25: pb.NtfColorTrend
(*ColorBigUser)(nil), // 26: pb.ColorBigUser
(*NtfColorKickOutUser)(nil), // 27: pb.NtfColorKickOutUser
(*NtfColorMaintain)(nil), // 28: pb.NtfColorMaintain
(*NtfColorBetAreaInfo_BetAreaInfo)(nil), // 29: pb.NtfColorBetAreaInfo.BetAreaInfo
(*NtfColorSettle_UserBetAreaMul)(nil), // 30: pb.NtfColorSettle.UserBetAreaMul
(*NtfColorTrend_ColorRate)(nil), // 31: pb.NtfColorTrend.ColorRate
(ErrCode)(0), // 32: pb.ErrCode
2025-06-08 00:52:17 +08:00
}
2025-06-07 22:53:54 +08:00
var file_colorgame_proto_depIdxs = []int32{
2025-06-08 22:42:34 +08:00
0, // 0: pb.ColorPrizeAreaRange.pos:type_name -> pb.ColorPrizeArea
5, // 1: pb.ColorRoomConfig.mulRangeConfig:type_name -> pb.ColorPrizeAreaRange
25, // 2: pb.ColorRoomWaitStart.Trends:type_name -> pb.NtfColorTrend
14, // 3: pb.ColorRoomStart.start:type_name -> pb.NtfColorGameStart
25, // 4: pb.ColorRoomStart.Trends:type_name -> pb.NtfColorTrend
18, // 5: pb.ColorRoomBetting.betAreaInfo:type_name -> pb.NtfColorBetAreaInfo
20, // 6: pb.ColorRoomEndBet.areaMul:type_name -> pb.NtfColorEndBetting
18, // 7: pb.ColorRoomEndBet.betAreaInfo:type_name -> pb.NtfColorBetAreaInfo
24, // 8: pb.ColorRoomEndBet.bigUser:type_name -> pb.NtfColorBigUser
21, // 9: pb.ColorRoomOpenThreeDice.dices:type_name -> pb.NtfColorOpenThreeDice
22, // 10: pb.ColorRoomSettle.settle:type_name -> pb.NtfColorSettle
3, // 11: pb.NtfColorRoomInfo.status:type_name -> pb.ColorGameStatus
6, // 12: pb.NtfColorRoomInfo.config:type_name -> pb.ColorRoomConfig
23, // 13: pb.NtfColorRoomInfo.user:type_name -> pb.ColorUser
7, // 14: pb.NtfColorRoomInfo.waitStart:type_name -> pb.ColorRoomWaitStart
8, // 15: pb.NtfColorRoomInfo.start:type_name -> pb.ColorRoomStart
9, // 16: pb.NtfColorRoomInfo.betting:type_name -> pb.ColorRoomBetting
10, // 17: pb.NtfColorRoomInfo.endBet:type_name -> pb.ColorRoomEndBet
11, // 18: pb.NtfColorRoomInfo.openThreeDice:type_name -> pb.ColorRoomOpenThreeDice
12, // 19: pb.NtfColorRoomInfo.settle:type_name -> pb.ColorRoomSettle
2, // 20: pb.ReqColorBetting.area:type_name -> pb.ColorBetArea
32, // 21: pb.RspColorBetting.code:type_name -> pb.ErrCode
2, // 22: pb.RspColorBetting.area:type_name -> pb.ColorBetArea
29, // 23: pb.NtfColorBetAreaInfo.areaInfos:type_name -> pb.NtfColorBetAreaInfo.BetAreaInfo
2, // 24: pb.ColorBetAreaMul.area:type_name -> pb.ColorBetArea
0, // 25: pb.ColorBetAreaMul.prizeArea:type_name -> pb.ColorPrizeArea
4, // 26: pb.ColorBetAreaMul.prizeType:type_name -> pb.ColorPrizeType
19, // 27: pb.NtfColorEndBetting.areaMul:type_name -> pb.ColorBetAreaMul
1, // 28: pb.NtfColorOpenThreeDice.color:type_name -> pb.ColorType
19, // 29: pb.NtfColorOpenThreeDice.winBetArea:type_name -> pb.ColorBetAreaMul
30, // 30: pb.NtfColorSettle.userAreaWin:type_name -> pb.NtfColorSettle.UserBetAreaMul
1, // 31: pb.NtfColorSettle.threeDice:type_name -> pb.ColorType
26, // 32: pb.NtfColorBigUser.bigUser:type_name -> pb.ColorBigUser
31, // 33: pb.NtfColorTrend.colorRate:type_name -> pb.NtfColorTrend.ColorRate
32, // 34: pb.NtfColorKickOutUser.code:type_name -> pb.ErrCode
2, // 35: pb.NtfColorBetAreaInfo.BetAreaInfo.area:type_name -> pb.ColorBetArea
19, // 36: pb.NtfColorSettle.UserBetAreaMul.areaMul:type_name -> pb.ColorBetAreaMul
1, // 37: pb.NtfColorTrend.ColorRate.color:type_name -> pb.ColorType
38, // [38:38] is the sub-list for method output_type
38, // [38:38] is the sub-list for method input_type
38, // [38:38] is the sub-list for extension type_name
38, // [38:38] is the sub-list for extension extendee
0, // [0:38] is the sub-list for field type_name
2025-06-07 22:53:54 +08:00
}
func init() { file_colorgame_proto_init() }
func file_colorgame_proto_init() {
if File_colorgame_proto != nil {
return
}
2025-06-08 22:42:34 +08:00
file_code_proto_init()
2025-06-07 22:53:54 +08:00
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_colorgame_proto_rawDesc), len(file_colorgame_proto_rawDesc)),
2025-06-08 22:42:34 +08:00
NumEnums: 5,
NumMessages: 27,
2025-06-07 22:53:54 +08:00
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_colorgame_proto_goTypes,
DependencyIndexes: file_colorgame_proto_depIdxs,
2025-06-08 00:52:17 +08:00
EnumInfos: file_colorgame_proto_enumTypes,
MessageInfos: file_colorgame_proto_msgTypes,
2025-06-07 22:53:54 +08:00
}.Build()
File_colorgame_proto = out.File
file_colorgame_proto_goTypes = nil
file_colorgame_proto_depIdxs = nil
}