game/common/proto/pb/colorgame.pb.go
2025-06-15 01:42:51 +08:00

2141 lines
64 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// 奖励档位
type ColorPrizeArea int32
const (
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 // 三色投注区域
)
// Enum value maps for ColorPrizeArea.
var (
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,
}
)
func (x ColorPrizeArea) Enum() *ColorPrizeArea {
p := new(ColorPrizeArea)
*p = x
return p
}
func (x ColorPrizeArea) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ColorPrizeArea) Descriptor() protoreflect.EnumDescriptor {
return file_colorgame_proto_enumTypes[0].Descriptor()
}
func (ColorPrizeArea) Type() protoreflect.EnumType {
return &file_colorgame_proto_enumTypes[0]
}
func (x ColorPrizeArea) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ColorPrizeArea.Descriptor instead.
func (ColorPrizeArea) EnumDescriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{0}
}
// 骰子颜色类型
type ColorType int32
const (
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 // 绿色
)
// Enum value maps for ColorType.
var (
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,
}
)
func (x ColorType) Enum() *ColorType {
p := new(ColorType)
*p = x
return p
}
func (x ColorType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ColorType) Descriptor() protoreflect.EnumDescriptor {
return file_colorgame_proto_enumTypes[1].Descriptor()
}
func (ColorType) Type() protoreflect.EnumType {
return &file_colorgame_proto_enumTypes[1]
}
func (x ColorType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ColorType.Descriptor instead.
func (ColorType) EnumDescriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{1}
}
// 押注区域
type ColorBetArea int32
const (
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 // 三绿色
)
// Enum value maps for ColorBetArea.
var (
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,
}
)
func (x ColorBetArea) Enum() *ColorBetArea {
p := new(ColorBetArea)
*p = x
return p
}
func (x ColorBetArea) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ColorBetArea) Descriptor() protoreflect.EnumDescriptor {
return file_colorgame_proto_enumTypes[2].Descriptor()
}
func (ColorBetArea) Type() protoreflect.EnumType {
return &file_colorgame_proto_enumTypes[2]
}
func (x ColorBetArea) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ColorBetArea.Descriptor instead.
func (ColorBetArea) EnumDescriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{2}
}
// 游戏阶段
type ColorGameStatus int32
const (
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 // 结算
)
// Enum value maps for ColorGameStatus.
var (
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,
}
)
func (x ColorGameStatus) Enum() *ColorGameStatus {
p := new(ColorGameStatus)
*p = x
return p
}
func (x ColorGameStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ColorGameStatus) Descriptor() protoreflect.EnumDescriptor {
return file_colorgame_proto_enumTypes[3].Descriptor()
}
func (ColorGameStatus) Type() protoreflect.EnumType {
return &file_colorgame_proto_enumTypes[3]
}
func (x ColorGameStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ColorGameStatus.Descriptor instead.
func (ColorGameStatus) EnumDescriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{3}
}
// 奖励类型
type ColorPrizeType int32
const (
ColorPrizeType_CPT_Normal ColorPrizeType = 0 // 普通奖励
ColorPrizeType_CPT_Big ColorPrizeType = 1 // 爆奖
ColorPrizeType_CPT_Jackpot ColorPrizeType = 2 // jackpot奖
)
// Enum value maps for ColorPrizeType.
var (
ColorPrizeType_name = map[int32]string{
0: "CPT_Normal",
1: "CPT_Big",
2: "CPT_Jackpot",
}
ColorPrizeType_value = map[string]int32{
"CPT_Normal": 0,
"CPT_Big": 1,
"CPT_Jackpot": 2,
}
)
func (x ColorPrizeType) Enum() *ColorPrizeType {
p := new(ColorPrizeType)
*p = x
return p
}
func (x ColorPrizeType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ColorPrizeType) Descriptor() protoreflect.EnumDescriptor {
return file_colorgame_proto_enumTypes[4].Descriptor()
}
func (ColorPrizeType) Type() protoreflect.EnumType {
return &file_colorgame_proto_enumTypes[4]
}
func (x ColorPrizeType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ColorPrizeType.Descriptor instead.
func (ColorPrizeType) EnumDescriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{4}
}
// 投注区域赔率范围配置信息
type ColorPrizeAreaRange struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorPrizeAreaRange) Reset() {
*x = ColorPrizeAreaRange{}
mi := &file_colorgame_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorPrizeAreaRange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorPrizeAreaRange) ProtoMessage() {}
func (x *ColorPrizeAreaRange) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorPrizeAreaRange.ProtoReflect.Descriptor instead.
func (*ColorPrizeAreaRange) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{0}
}
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
}
func (x *ColorRoomConfig) Reset() {
*x = ColorRoomConfig{}
mi := &file_colorgame_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomConfig) ProtoMessage() {}
func (x *ColorRoomConfig) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomConfig.ProtoReflect.Descriptor instead.
func (*ColorRoomConfig) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{1}
}
func (x *ColorRoomConfig) GetBetList() []int64 {
if x != nil {
return x.BetList
}
return nil
}
func (x *ColorRoomConfig) GetMulRangeConfig() []*ColorPrizeAreaRange {
if x != nil {
return x.MulRangeConfig
}
return nil
}
// 等待状态下房间显示信息
type ColorRoomWaitStart struct {
state protoimpl.MessageState `protogen:"open.v1"`
Trends *NtfColorTrend `protobuf:"bytes,1,opt,name=Trends,proto3" json:"Trends,omitempty"` // 路途显示
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorRoomWaitStart) Reset() {
*x = ColorRoomWaitStart{}
mi := &file_colorgame_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomWaitStart) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomWaitStart) ProtoMessage() {}
func (x *ColorRoomWaitStart) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomWaitStart.ProtoReflect.Descriptor instead.
func (*ColorRoomWaitStart) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{2}
}
func (x *ColorRoomWaitStart) GetTrends() *NtfColorTrend {
if x != nil {
return x.Trends
}
return nil
}
// 开始房间显示信息
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"` // 路途显示
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorRoomStart) Reset() {
*x = ColorRoomStart{}
mi := &file_colorgame_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomStart) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomStart) ProtoMessage() {}
func (x *ColorRoomStart) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomStart.ProtoReflect.Descriptor instead.
func (*ColorRoomStart) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{3}
}
func (x *ColorRoomStart) GetStart() *NtfColorGameStart {
if x != nil {
return x.Start
}
return nil
}
func (x *ColorRoomStart) GetTrends() *NtfColorTrend {
if x != nil {
return x.Trends
}
return nil
}
// 下注显示信息
type ColorRoomBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
BetAreaInfo *NtfColorBetAreaInfo `protobuf:"bytes,1,opt,name=betAreaInfo,proto3" json:"betAreaInfo,omitempty"` // 每个投注区域的下注人数,下注金额显示
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorRoomBetting) Reset() {
*x = ColorRoomBetting{}
mi := &file_colorgame_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomBetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomBetting) ProtoMessage() {}
func (x *ColorRoomBetting) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomBetting.ProtoReflect.Descriptor instead.
func (*ColorRoomBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{4}
}
func (x *ColorRoomBetting) GetBetAreaInfo() *NtfColorBetAreaInfo {
if x != nil {
return x.BetAreaInfo
}
return nil
}
// 结束下注显示信息
type ColorRoomEndBet struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"` // 大客数据
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorRoomEndBet) Reset() {
*x = ColorRoomEndBet{}
mi := &file_colorgame_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomEndBet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomEndBet) ProtoMessage() {}
func (x *ColorRoomEndBet) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomEndBet.ProtoReflect.Descriptor instead.
func (*ColorRoomEndBet) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{5}
}
func (x *ColorRoomEndBet) GetAreaMul() *NtfColorEndBetting {
if x != nil {
return x.AreaMul
}
return nil
}
func (x *ColorRoomEndBet) GetBetAreaInfo() *NtfColorBetAreaInfo {
if x != nil {
return x.BetAreaInfo
}
return nil
}
func (x *ColorRoomEndBet) GetBigUser() *NtfColorBigUser {
if x != nil {
return x.BigUser
}
return nil
}
// 开骰子显示信息
type ColorRoomOpenThreeDice struct {
state protoimpl.MessageState `protogen:"open.v1"`
Dices *NtfColorOpenThreeDice `protobuf:"bytes,1,opt,name=dices,proto3" json:"dices,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorRoomOpenThreeDice) Reset() {
*x = ColorRoomOpenThreeDice{}
mi := &file_colorgame_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomOpenThreeDice) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomOpenThreeDice) ProtoMessage() {}
func (x *ColorRoomOpenThreeDice) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomOpenThreeDice.ProtoReflect.Descriptor instead.
func (*ColorRoomOpenThreeDice) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{6}
}
func (x *ColorRoomOpenThreeDice) GetDices() *NtfColorOpenThreeDice {
if x != nil {
return x.Dices
}
return nil
}
// 结算信息
type ColorRoomSettle struct {
state protoimpl.MessageState `protogen:"open.v1"`
Settle *NtfColorSettle `protobuf:"bytes,1,opt,name=settle,proto3" json:"settle,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorRoomSettle) Reset() {
*x = ColorRoomSettle{}
mi := &file_colorgame_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorRoomSettle) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorRoomSettle) ProtoMessage() {}
func (x *ColorRoomSettle) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorRoomSettle.ProtoReflect.Descriptor instead.
func (*ColorRoomSettle) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{7}
}
func (x *ColorRoomSettle) GetSettle() *NtfColorSettle {
if x != nil {
return x.Settle
}
return nil
}
// 进房间发送房间当前所有信息及状态
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorRoomInfo) Reset() {
*x = NtfColorRoomInfo{}
mi := &file_colorgame_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorRoomInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorRoomInfo) ProtoMessage() {}
func (x *NtfColorRoomInfo) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use NtfColorRoomInfo.ProtoReflect.Descriptor instead.
func (*NtfColorRoomInfo) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{8}
}
func (x *NtfColorRoomInfo) GetStatus() ColorGameStatus {
if x != nil {
return x.Status
}
return ColorGameStatus_CGS_WaitStart
}
func (x *NtfColorRoomInfo) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *NtfColorRoomInfo) GetConfig() *ColorRoomConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *NtfColorRoomInfo) GetUser() *ColorUser {
if x != nil {
return x.User
}
return nil
}
func (x *NtfColorRoomInfo) GetWaitStart() *ColorRoomWaitStart {
if x != nil {
return x.WaitStart
}
return nil
}
func (x *NtfColorRoomInfo) GetStart() *ColorRoomStart {
if x != nil {
return x.Start
}
return nil
}
func (x *NtfColorRoomInfo) GetBetting() *ColorRoomBetting {
if x != nil {
return x.Betting
}
return nil
}
func (x *NtfColorRoomInfo) GetEndBet() *ColorRoomEndBet {
if x != nil {
return x.EndBet
}
return nil
}
func (x *NtfColorRoomInfo) GetOpenThreeDice() *ColorRoomOpenThreeDice {
if x != nil {
return x.OpenThreeDice
}
return nil
}
func (x *NtfColorRoomInfo) GetSettle() *ColorRoomSettle {
if x != nil {
return x.Settle
}
return nil
}
type NtfColorGameStart struct {
state protoimpl.MessageState `protogen:"open.v1"`
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池
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorGameStart) Reset() {
*x = NtfColorGameStart{}
mi := &file_colorgame_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorGameStart) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorGameStart) ProtoMessage() {}
func (x *NtfColorGameStart) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorGameStart.ProtoReflect.Descriptor instead.
func (*NtfColorGameStart) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{9}
}
func (x *NtfColorGameStart) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *NtfColorGameStart) GetJackpot() int64 {
if x != nil {
return x.Jackpot
}
return 0
}
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]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorBetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorBetting) ProtoMessage() {}
func (x *NtfColorBetting) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorBetting.ProtoReflect.Descriptor instead.
func (*NtfColorBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{10}
}
func (x *NtfColorBetting) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
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)
}
func (*ReqColorBetting) ProtoMessage() {}
func (x *ReqColorBetting) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReqColorBetting.ProtoReflect.Descriptor instead.
func (*ReqColorBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{11}
}
func (x *ReqColorBetting) GetArea() ColorBetArea {
if x != nil {
return x.Area
}
return ColorBetArea_CBA_Yellow
}
func (x *ReqColorBetting) GetBet() int64 {
if x != nil {
return x.Bet
}
return 0
}
type RspColorBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code ErrCode `protobuf:"varint,1,opt,name=code,proto3,enum=pb.ErrCode" json:"code,omitempty"`
AreaInfo *ColorBetAreaInfo `protobuf:"bytes,2,opt,name=areaInfo,proto3" json:"areaInfo,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RspColorBetting) Reset() {
*x = RspColorBetting{}
mi := &file_colorgame_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RspColorBetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RspColorBetting) ProtoMessage() {}
func (x *RspColorBetting) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use RspColorBetting.ProtoReflect.Descriptor instead.
func (*RspColorBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{12}
}
func (x *RspColorBetting) GetCode() ErrCode {
if x != nil {
return x.Code
}
return ErrCode_OK
}
func (x *RspColorBetting) GetAreaInfo() *ColorBetAreaInfo {
if x != nil {
return x.AreaInfo
}
return nil
}
type ColorBetAreaInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Area ColorBetArea `protobuf:"varint,1,opt,name=area,proto3,enum=pb.ColorBetArea" json:"area,omitempty"` // 投注区域
TotalBet int64 `protobuf:"varint,2,opt,name=totalBet,proto3" json:"totalBet,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"` // 我的投注金额
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorBetAreaInfo) Reset() {
*x = ColorBetAreaInfo{}
mi := &file_colorgame_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorBetAreaInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorBetAreaInfo) ProtoMessage() {}
func (x *ColorBetAreaInfo) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorBetAreaInfo.ProtoReflect.Descriptor instead.
func (*ColorBetAreaInfo) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{13}
}
func (x *ColorBetAreaInfo) GetArea() ColorBetArea {
if x != nil {
return x.Area
}
return ColorBetArea_CBA_Yellow
}
func (x *ColorBetAreaInfo) GetTotalBet() int64 {
if x != nil {
return x.TotalBet
}
return 0
}
func (x *ColorBetAreaInfo) GetPlayerNum() int32 {
if x != nil {
return x.PlayerNum
}
return 0
}
func (x *ColorBetAreaInfo) GetMyBet() int64 {
if x != nil {
return x.MyBet
}
return 0
}
// 更新投注区域信息
type NtfColorBetAreaInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
AreaInfos []*ColorBetAreaInfo `protobuf:"bytes,1,rep,name=areaInfos,proto3" json:"areaInfos,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorBetAreaInfo) Reset() {
*x = NtfColorBetAreaInfo{}
mi := &file_colorgame_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorBetAreaInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorBetAreaInfo) ProtoMessage() {}
func (x *NtfColorBetAreaInfo) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use NtfColorBetAreaInfo.ProtoReflect.Descriptor instead.
func (*NtfColorBetAreaInfo) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{14}
}
func (x *NtfColorBetAreaInfo) GetAreaInfos() []*ColorBetAreaInfo {
if x != nil {
return x.AreaInfos
}
return nil
}
// 投注区域实际赔率,奖励类型
type ColorBetAreaMul struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"` // 赔率
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ColorBetAreaMul) Reset() {
*x = ColorBetAreaMul{}
mi := &file_colorgame_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorBetAreaMul) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorBetAreaMul) ProtoMessage() {}
func (x *ColorBetAreaMul) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use ColorBetAreaMul.ProtoReflect.Descriptor instead.
func (*ColorBetAreaMul) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{15}
}
func (x *ColorBetAreaMul) GetArea() ColorBetArea {
if x != nil {
return x.Area
}
return ColorBetArea_CBA_Yellow
}
func (x *ColorBetAreaMul) GetPrizeArea() ColorPrizeArea {
if x != nil {
return x.PrizeArea
}
return ColorPrizeArea_CPA_Single_0
}
func (x *ColorBetAreaMul) GetPrizeType() ColorPrizeType {
if x != nil {
return x.PrizeType
}
return ColorPrizeType_CPT_Normal
}
func (x *ColorBetAreaMul) GetMul() int64 {
if x != nil {
return x.Mul
}
return 0
}
// 结束投注
type NtfColorEndBetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
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值
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorEndBetting) Reset() {
*x = NtfColorEndBetting{}
mi := &file_colorgame_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorEndBetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorEndBetting) ProtoMessage() {}
func (x *NtfColorEndBetting) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use NtfColorEndBetting.ProtoReflect.Descriptor instead.
func (*NtfColorEndBetting) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{16}
}
func (x *NtfColorEndBetting) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *NtfColorEndBetting) GetAreaMul() []*ColorBetAreaMul {
if x != nil {
return x.AreaMul
}
return nil
}
func (x *NtfColorEndBetting) GetJackpot() int64 {
if x != nil {
return x.Jackpot
}
return 0
}
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"` // 动画路径
WinArea []ColorBetArea `protobuf:"varint,4,rep,packed,name=winArea,proto3,enum=pb.ColorBetArea" json:"winArea,omitempty"` // 中奖区域高亮
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorOpenThreeDice) Reset() {
*x = NtfColorOpenThreeDice{}
mi := &file_colorgame_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorOpenThreeDice) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorOpenThreeDice) ProtoMessage() {}
func (x *NtfColorOpenThreeDice) ProtoReflect() protoreflect.Message {
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)
}
// Deprecated: Use NtfColorOpenThreeDice.ProtoReflect.Descriptor instead.
func (*NtfColorOpenThreeDice) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{17}
}
func (x *NtfColorOpenThreeDice) GetColor() []ColorType {
if x != nil {
return x.Color
}
return nil
}
func (x *NtfColorOpenThreeDice) GetAniRouteIndex() int32 {
if x != nil {
return x.AniRouteIndex
}
return 0
}
func (x *NtfColorOpenThreeDice) GetWinArea() []ColorBetArea {
if x != nil {
return x.WinArea
}
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"` // 总投注
TotalWinBaseBet int64 `protobuf:"varint,6,opt,name=totalWinBaseBet,proto3" json:"totalWinBaseBet,omitempty"` // 赢钱区域的总投注
Tax int64 `protobuf:"varint,5,opt,name=tax,proto3" json:"tax,omitempty"` // 税
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorSettle) Reset() {
*x = NtfColorSettle{}
mi := &file_colorgame_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorSettle) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorSettle) ProtoMessage() {}
func (x *NtfColorSettle) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorSettle.ProtoReflect.Descriptor instead.
func (*NtfColorSettle) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{18}
}
func (x *NtfColorSettle) GetUserAreaWin() []*NtfColorSettle_UserBetAreaMul {
if x != nil {
return x.UserAreaWin
}
return nil
}
func (x *NtfColorSettle) GetThreeDice() []ColorType {
if x != nil {
return x.ThreeDice
}
return nil
}
func (x *NtfColorSettle) GetTotalWin() int64 {
if x != nil {
return x.TotalWin
}
return 0
}
func (x *NtfColorSettle) GetTotalBet() int64 {
if x != nil {
return x.TotalBet
}
return 0
}
func (x *NtfColorSettle) GetTotalWinBaseBet() int64 {
if x != nil {
return x.TotalWinBaseBet
}
return 0
}
func (x *NtfColorSettle) GetTax() int64 {
if x != nil {
return x.Tax
}
return 0
}
// 游戏中几个玩家的数据
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
}
func (x *ColorUser) Reset() {
*x = ColorUser{}
mi := &file_colorgame_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorUser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorUser) ProtoMessage() {}
func (x *ColorUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ColorUser.ProtoReflect.Descriptor instead.
func (*ColorUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{19}
}
func (x *ColorUser) GetNick() string {
if x != nil {
return x.Nick
}
return ""
}
func (x *ColorUser) GetHead() string {
if x != nil {
return x.Head
}
return ""
}
func (x *ColorUser) GetScore() int64 {
if x != nil {
return x.Score
}
return 0
}
func (x *ColorUser) GetSeatId() int32 {
if x != nil {
return x.SeatId
}
return 0
}
func (x *ColorUser) GetUserID() int64 {
if x != nil {
return x.UserID
}
return 0
}
// 结束下注,更新大客投注信息
type NtfColorBigUser struct {
state protoimpl.MessageState `protogen:"open.v1"`
BigUser []*ColorBigUser `protobuf:"bytes,34,rep,name=bigUser,proto3" json:"bigUser,omitempty"` // 大客投注
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorBigUser) Reset() {
*x = NtfColorBigUser{}
mi := &file_colorgame_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorBigUser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorBigUser) ProtoMessage() {}
func (x *NtfColorBigUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorBigUser.ProtoReflect.Descriptor instead.
func (*NtfColorBigUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{20}
}
func (x *NtfColorBigUser) GetBigUser() []*ColorBigUser {
if x != nil {
return x.BigUser
}
return nil
}
// 路途展示
type NtfColorTrend struct {
state protoimpl.MessageState `protogen:"open.v1"`
ColorRate []*NtfColorTrend_ColorRate `protobuf:"bytes,1,rep,name=colorRate,proto3" json:"colorRate,omitempty"` // 最近30局各颜色中奖概率
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorTrend) Reset() {
*x = NtfColorTrend{}
mi := &file_colorgame_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorTrend) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorTrend) ProtoMessage() {}
func (x *NtfColorTrend) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorTrend.ProtoReflect.Descriptor instead.
func (*NtfColorTrend) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{21}
}
func (x *NtfColorTrend) GetColorRate() []*NtfColorTrend_ColorRate {
if x != nil {
return x.ColorRate
}
return nil
}
// 赢钱或下注最多的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
}
func (x *ColorBigUser) Reset() {
*x = ColorBigUser{}
mi := &file_colorgame_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ColorBigUser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ColorBigUser) ProtoMessage() {}
func (x *ColorBigUser) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ColorBigUser.ProtoReflect.Descriptor instead.
func (*ColorBigUser) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{22}
}
func (x *ColorBigUser) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
func (x *ColorBigUser) GetAvatar() string {
if x != nil {
return x.Avatar
}
return ""
}
func (x *ColorBigUser) GetWinChips() int64 {
if x != nil {
return x.WinChips
}
return 0
}
func (x *ColorBigUser) GetAreaId() []int64 {
if x != nil {
return x.AreaId
}
return nil
}
// 系统维护或流局
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"` // 玩家金币重置为该值
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorMaintain) Reset() {
*x = NtfColorMaintain{}
mi := &file_colorgame_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorMaintain) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorMaintain) ProtoMessage() {}
func (x *NtfColorMaintain) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorMaintain.ProtoReflect.Descriptor instead.
func (*NtfColorMaintain) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{23}
}
func (x *NtfColorMaintain) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *NtfColorMaintain) GetGold() int64 {
if x != nil {
return x.Gold
}
return 0
}
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"` // 该区域税前赢钱
RealWin int64 `protobuf:"varint,4,opt,name=realWin,proto3" json:"realWin,omitempty"` // 税后赢钱
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorSettle_UserBetAreaMul) Reset() {
*x = NtfColorSettle_UserBetAreaMul{}
mi := &file_colorgame_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorSettle_UserBetAreaMul) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorSettle_UserBetAreaMul) ProtoMessage() {}
func (x *NtfColorSettle_UserBetAreaMul) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorSettle_UserBetAreaMul.ProtoReflect.Descriptor instead.
func (*NtfColorSettle_UserBetAreaMul) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{18, 0}
}
func (x *NtfColorSettle_UserBetAreaMul) GetAreaMul() *ColorBetAreaMul {
if x != nil {
return x.AreaMul
}
return nil
}
func (x *NtfColorSettle_UserBetAreaMul) GetBet() int64 {
if x != nil {
return x.Bet
}
return 0
}
func (x *NtfColorSettle_UserBetAreaMul) GetWin() int64 {
if x != nil {
return x.Win
}
return 0
}
func (x *NtfColorSettle_UserBetAreaMul) GetRealWin() int64 {
if x != nil {
return x.RealWin
}
return 0
}
type NtfColorTrend_ColorRate struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NtfColorTrend_ColorRate) Reset() {
*x = NtfColorTrend_ColorRate{}
mi := &file_colorgame_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NtfColorTrend_ColorRate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NtfColorTrend_ColorRate) ProtoMessage() {}
func (x *NtfColorTrend_ColorRate) ProtoReflect() protoreflect.Message {
mi := &file_colorgame_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NtfColorTrend_ColorRate.ProtoReflect.Descriptor instead.
func (*NtfColorTrend_ColorRate) Descriptor() ([]byte, []int) {
return file_colorgame_proto_rawDescGZIP(), []int{21, 0}
}
func (x *NtfColorTrend_ColorRate) GetColor() ColorType {
if x != nil {
return x.Color
}
return ColorType_CT_Yellow
}
func (x *NtfColorTrend_ColorRate) GetRate() int32 {
if x != nil {
return x.Rate
}
return 0
}
var File_colorgame_proto protoreflect.FileDescriptor
const file_colorgame_proto_rawDesc = "" +
"\n" +
"\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\"d\n" +
"\x0fRspColorBetting\x12\x1f\n" +
"\x04code\x18\x01 \x01(\x0e2\v.pb.ErrCodeR\x04code\x120\n" +
"\bareaInfo\x18\x02 \x01(\v2\x14.pb.ColorBetAreaInfoR\bareaInfo\"\x88\x01\n" +
"\x10ColorBetAreaInfo\x12$\n" +
"\x04area\x18\x01 \x01(\x0e2\x10.pb.ColorBetAreaR\x04area\x12\x1a\n" +
"\btotalBet\x18\x02 \x01(\x03R\btotalBet\x12\x1c\n" +
"\tplayerNum\x18\x03 \x01(\x05R\tplayerNum\x12\x14\n" +
"\x05myBet\x18\x04 \x01(\x03R\x05myBet\"I\n" +
"\x13NtfColorBetAreaInfo\x122\n" +
"\tareaInfos\x18\x01 \x03(\v2\x14.pb.ColorBetAreaInfoR\tareaInfos\"\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\"\x8e\x01\n" +
"\x15NtfColorOpenThreeDice\x12#\n" +
"\x05color\x18\x01 \x03(\x0e2\r.pb.ColorTypeR\x05color\x12$\n" +
"\raniRouteIndex\x18\x03 \x01(\x05R\raniRouteIndex\x12*\n" +
"\awinArea\x18\x04 \x03(\x0e2\x10.pb.ColorBetAreaR\awinArea\"\xf5\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(\n" +
"\x0ftotalWinBaseBet\x18\x06 \x01(\x03R\x0ftotalWinBaseBet\x12\x10\n" +
"\x03tax\x18\x05 \x01(\x03R\x03tax\x1a}\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\x12\x18\n" +
"\arealWin\x18\x04 \x01(\x03R\arealWin\"y\n" +
"\tColorUser\x12\x12\n" +
"\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" +
"\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" +
"\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" +
"\x06areaId\x18\x03 \x03(\x03R\x06areaId\"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" +
"\n" +
"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" +
"\n" +
"\x06CT_Red\x10\x04\x12\f\n" +
"\bCT_Green\x10\x05*\x9f\x02\n" +
"\fColorBetArea\x12\x0e\n" +
"\n" +
"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" +
"\n" +
"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" +
"\n" +
"CBA_Green2\x10\v\x12\x0f\n" +
"\vCBA_Yellow3\x10\f\x12\x0e\n" +
"\n" +
"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" +
"\n" +
"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" +
"\n" +
"CGS_BetEnd\x10\x03\x12\x15\n" +
"\x11CGS_OpenThreeDice\x10\x04\x12\x0e\n" +
"\n" +
"CGS_Settle\x10\x05*>\n" +
"\x0eColorPrizeType\x12\x0e\n" +
"\n" +
"CPT_Normal\x10\x00\x12\v\n" +
"\aCPT_Big\x10\x01\x12\x0f\n" +
"\vCPT_Jackpot\x10\x02B\x11Z\x0fcommon/proto/pbb\x06proto3"
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
}
var file_colorgame_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_colorgame_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
var file_colorgame_proto_goTypes = []any{
(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
(*ColorBetAreaInfo)(nil), // 18: pb.ColorBetAreaInfo
(*NtfColorBetAreaInfo)(nil), // 19: pb.NtfColorBetAreaInfo
(*ColorBetAreaMul)(nil), // 20: pb.ColorBetAreaMul
(*NtfColorEndBetting)(nil), // 21: pb.NtfColorEndBetting
(*NtfColorOpenThreeDice)(nil), // 22: pb.NtfColorOpenThreeDice
(*NtfColorSettle)(nil), // 23: pb.NtfColorSettle
(*ColorUser)(nil), // 24: pb.ColorUser
(*NtfColorBigUser)(nil), // 25: pb.NtfColorBigUser
(*NtfColorTrend)(nil), // 26: pb.NtfColorTrend
(*ColorBigUser)(nil), // 27: pb.ColorBigUser
(*NtfColorMaintain)(nil), // 28: pb.NtfColorMaintain
(*NtfColorSettle_UserBetAreaMul)(nil), // 29: pb.NtfColorSettle.UserBetAreaMul
(*NtfColorTrend_ColorRate)(nil), // 30: pb.NtfColorTrend.ColorRate
(ErrCode)(0), // 31: pb.ErrCode
}
var file_colorgame_proto_depIdxs = []int32{
0, // 0: pb.ColorPrizeAreaRange.pos:type_name -> pb.ColorPrizeArea
5, // 1: pb.ColorRoomConfig.mulRangeConfig:type_name -> pb.ColorPrizeAreaRange
26, // 2: pb.ColorRoomWaitStart.Trends:type_name -> pb.NtfColorTrend
14, // 3: pb.ColorRoomStart.start:type_name -> pb.NtfColorGameStart
26, // 4: pb.ColorRoomStart.Trends:type_name -> pb.NtfColorTrend
19, // 5: pb.ColorRoomBetting.betAreaInfo:type_name -> pb.NtfColorBetAreaInfo
21, // 6: pb.ColorRoomEndBet.areaMul:type_name -> pb.NtfColorEndBetting
19, // 7: pb.ColorRoomEndBet.betAreaInfo:type_name -> pb.NtfColorBetAreaInfo
25, // 8: pb.ColorRoomEndBet.bigUser:type_name -> pb.NtfColorBigUser
22, // 9: pb.ColorRoomOpenThreeDice.dices:type_name -> pb.NtfColorOpenThreeDice
23, // 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
24, // 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
31, // 21: pb.RspColorBetting.code:type_name -> pb.ErrCode
18, // 22: pb.RspColorBetting.areaInfo:type_name -> pb.ColorBetAreaInfo
2, // 23: pb.ColorBetAreaInfo.area:type_name -> pb.ColorBetArea
18, // 24: pb.NtfColorBetAreaInfo.areaInfos:type_name -> pb.ColorBetAreaInfo
2, // 25: pb.ColorBetAreaMul.area:type_name -> pb.ColorBetArea
0, // 26: pb.ColorBetAreaMul.prizeArea:type_name -> pb.ColorPrizeArea
4, // 27: pb.ColorBetAreaMul.prizeType:type_name -> pb.ColorPrizeType
20, // 28: pb.NtfColorEndBetting.areaMul:type_name -> pb.ColorBetAreaMul
1, // 29: pb.NtfColorOpenThreeDice.color:type_name -> pb.ColorType
2, // 30: pb.NtfColorOpenThreeDice.winArea:type_name -> pb.ColorBetArea
29, // 31: pb.NtfColorSettle.userAreaWin:type_name -> pb.NtfColorSettle.UserBetAreaMul
1, // 32: pb.NtfColorSettle.threeDice:type_name -> pb.ColorType
27, // 33: pb.NtfColorBigUser.bigUser:type_name -> pb.ColorBigUser
30, // 34: pb.NtfColorTrend.colorRate:type_name -> pb.NtfColorTrend.ColorRate
20, // 35: pb.NtfColorSettle.UserBetAreaMul.areaMul:type_name -> pb.ColorBetAreaMul
1, // 36: pb.NtfColorTrend.ColorRate.color:type_name -> pb.ColorType
37, // [37:37] is the sub-list for method output_type
37, // [37:37] is the sub-list for method input_type
37, // [37:37] is the sub-list for extension type_name
37, // [37:37] is the sub-list for extension extendee
0, // [0:37] is the sub-list for field type_name
}
func init() { file_colorgame_proto_init() }
func file_colorgame_proto_init() {
if File_colorgame_proto != nil {
return
}
file_code_proto_init()
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)),
NumEnums: 5,
NumMessages: 26,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_colorgame_proto_goTypes,
DependencyIndexes: file_colorgame_proto_depIdxs,
EnumInfos: file_colorgame_proto_enumTypes,
MessageInfos: file_colorgame_proto_msgTypes,
}.Build()
File_colorgame_proto = out.File
file_colorgame_proto_goTypes = nil
file_colorgame_proto_depIdxs = nil
}