1656 lines
60 KiB
Go
1656 lines
60 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.27.1-devel
|
||
// protoc v3.19.4
|
||
// source: smallrocket.proto
|
||
|
||
package smallrocket
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
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 SmallRocketPacketID int32
|
||
|
||
const (
|
||
SmallRocketPacketID_PACKET_SMALLROCKET_ZERO SmallRocketPacketID = 0 //弃用消息号
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_ROOMINFO SmallRocketPacketID = 5581 //房间信息
|
||
SmallRocketPacketID_PACKET_CS_SMALLROCKET_PLAYEROP SmallRocketPacketID = 5582 //玩家操作(客户->服务)
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_PLAYEROP SmallRocketPacketID = 5583 //玩家操作(服务->客户)
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_ROOMSTATE SmallRocketPacketID = 5584 //房间状态
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_PLAYERTAKEGAIN SmallRocketPacketID = 5585 //玩家跳伞
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_GAMEBILLED SmallRocketPacketID = 5586 //游戏结算
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_ROOMPLAYERBETNUM SmallRocketPacketID = 5587 //当局玩家下注人数未逃离
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_PlayerEnter SmallRocketPacketID = 5589 // 玩家进入
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_PlayerLeave SmallRocketPacketID = 5590 // 玩家离开
|
||
SmallRocketPacketID_PACKET_SC_SMALLROCKET_PLAYERINFO SmallRocketPacketID = 5591 // 玩家状态信息变化
|
||
)
|
||
|
||
// Enum value maps for SmallRocketPacketID.
|
||
var (
|
||
SmallRocketPacketID_name = map[int32]string{
|
||
0: "PACKET_SMALLROCKET_ZERO",
|
||
5581: "PACKET_SC_SMALLROCKET_ROOMINFO",
|
||
5582: "PACKET_CS_SMALLROCKET_PLAYEROP",
|
||
5583: "PACKET_SC_SMALLROCKET_PLAYEROP",
|
||
5584: "PACKET_SC_SMALLROCKET_ROOMSTATE",
|
||
5585: "PACKET_SC_SMALLROCKET_PLAYERTAKEGAIN",
|
||
5586: "PACKET_SC_SMALLROCKET_GAMEBILLED",
|
||
5587: "PACKET_SC_SMALLROCKET_ROOMPLAYERBETNUM",
|
||
5589: "PACKET_SC_SMALLROCKET_PlayerEnter",
|
||
5590: "PACKET_SC_SMALLROCKET_PlayerLeave",
|
||
5591: "PACKET_SC_SMALLROCKET_PLAYERINFO",
|
||
}
|
||
SmallRocketPacketID_value = map[string]int32{
|
||
"PACKET_SMALLROCKET_ZERO": 0,
|
||
"PACKET_SC_SMALLROCKET_ROOMINFO": 5581,
|
||
"PACKET_CS_SMALLROCKET_PLAYEROP": 5582,
|
||
"PACKET_SC_SMALLROCKET_PLAYEROP": 5583,
|
||
"PACKET_SC_SMALLROCKET_ROOMSTATE": 5584,
|
||
"PACKET_SC_SMALLROCKET_PLAYERTAKEGAIN": 5585,
|
||
"PACKET_SC_SMALLROCKET_GAMEBILLED": 5586,
|
||
"PACKET_SC_SMALLROCKET_ROOMPLAYERBETNUM": 5587,
|
||
"PACKET_SC_SMALLROCKET_PlayerEnter": 5589,
|
||
"PACKET_SC_SMALLROCKET_PlayerLeave": 5590,
|
||
"PACKET_SC_SMALLROCKET_PLAYERINFO": 5591,
|
||
}
|
||
)
|
||
|
||
func (x SmallRocketPacketID) Enum() *SmallRocketPacketID {
|
||
p := new(SmallRocketPacketID)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x SmallRocketPacketID) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (SmallRocketPacketID) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_smallrocket_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (SmallRocketPacketID) Type() protoreflect.EnumType {
|
||
return &file_smallrocket_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x SmallRocketPacketID) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use SmallRocketPacketID.Descriptor instead.
|
||
func (SmallRocketPacketID) EnumDescriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
//操作结果
|
||
type OpResultCode int32
|
||
|
||
const (
|
||
OpResultCode_OPRC_Success OpResultCode = 0 //成功
|
||
OpResultCode_OPRC_Error OpResultCode = 1 //失败
|
||
OpResultCode_OPRC_CoinNotEnough OpResultCode = 2 //钱不够
|
||
OpResultCode_OPRC_PosAlReadyBet OpResultCode = 3 //本局位置已下注
|
||
)
|
||
|
||
// Enum value maps for OpResultCode.
|
||
var (
|
||
OpResultCode_name = map[int32]string{
|
||
0: "OPRC_Success",
|
||
1: "OPRC_Error",
|
||
2: "OPRC_CoinNotEnough",
|
||
3: "OPRC_PosAlReadyBet",
|
||
}
|
||
OpResultCode_value = map[string]int32{
|
||
"OPRC_Success": 0,
|
||
"OPRC_Error": 1,
|
||
"OPRC_CoinNotEnough": 2,
|
||
"OPRC_PosAlReadyBet": 3,
|
||
}
|
||
)
|
||
|
||
func (x OpResultCode) Enum() *OpResultCode {
|
||
p := new(OpResultCode)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x OpResultCode) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (OpResultCode) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_smallrocket_proto_enumTypes[1].Descriptor()
|
||
}
|
||
|
||
func (OpResultCode) Type() protoreflect.EnumType {
|
||
return &file_smallrocket_proto_enumTypes[1]
|
||
}
|
||
|
||
func (x OpResultCode) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use OpResultCode.Descriptor instead.
|
||
func (OpResultCode) EnumDescriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
// 下注信息
|
||
type BetDataInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
BetVal int64 `protobuf:"varint,1,opt,name=BetVal,proto3" json:"BetVal,omitempty"` //下注金额
|
||
TakeMul float32 `protobuf:"fixed32,2,opt,name=TakeMul,proto3" json:"TakeMul,omitempty"` //领取倍数
|
||
IsCurBet bool `protobuf:"varint,3,opt,name=IsCurBet,proto3" json:"IsCurBet,omitempty"` // 本局是否下注
|
||
IsNextBet bool `protobuf:"varint,4,opt,name=IsNextBet,proto3" json:"IsNextBet,omitempty"` // 下局是否下注
|
||
IsTakeGain bool `protobuf:"varint,5,opt,name=IsTakeGain,proto3" json:"IsTakeGain,omitempty"` // 是否收取过奖励
|
||
IsAutoBetAndTake bool `protobuf:"varint,6,opt,name=IsAutoBetAndTake,proto3" json:"IsAutoBetAndTake,omitempty"` // 是否自动下注收取
|
||
}
|
||
|
||
func (x *BetDataInfo) Reset() {
|
||
*x = BetDataInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BetDataInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BetDataInfo) ProtoMessage() {}
|
||
|
||
func (x *BetDataInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[0]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BetDataInfo.ProtoReflect.Descriptor instead.
|
||
func (*BetDataInfo) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *BetDataInfo) GetBetVal() int64 {
|
||
if x != nil {
|
||
return x.BetVal
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BetDataInfo) GetTakeMul() float32 {
|
||
if x != nil {
|
||
return x.TakeMul
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BetDataInfo) GetIsCurBet() bool {
|
||
if x != nil {
|
||
return x.IsCurBet
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *BetDataInfo) GetIsNextBet() bool {
|
||
if x != nil {
|
||
return x.IsNextBet
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *BetDataInfo) GetIsTakeGain() bool {
|
||
if x != nil {
|
||
return x.IsTakeGain
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *BetDataInfo) GetIsAutoBetAndTake() bool {
|
||
if x != nil {
|
||
return x.IsAutoBetAndTake
|
||
}
|
||
return false
|
||
}
|
||
|
||
type SmallRocketPlayerData struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` //名字
|
||
SnId int32 `protobuf:"varint,2,opt,name=SnId,proto3" json:"SnId,omitempty"` //账号
|
||
Head int32 `protobuf:"varint,3,opt,name=Head,proto3" json:"Head,omitempty"` //头像
|
||
Sex int32 `protobuf:"varint,4,opt,name=Sex,proto3" json:"Sex,omitempty"` //性别
|
||
Coin int64 `protobuf:"varint,5,opt,name=Coin,proto3" json:"Coin,omitempty"` //金币
|
||
HeadOutLine int32 `protobuf:"varint,6,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框
|
||
VIP int32 `protobuf:"varint,7,opt,name=VIP,proto3" json:"VIP,omitempty"`
|
||
Flag int32 `protobuf:"varint,8,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记 第一位:是否掉线(0:在线 1:掉线) 第二位:是否准备(0:未准备 1:已准备)
|
||
WinCoin int64 `protobuf:"varint,9,opt,name=WinCoin,proto3" json:"WinCoin,omitempty"` // 本局赢分
|
||
BetDataArr []*BetDataInfo `protobuf:"bytes,10,rep,name=BetDataArr,proto3" json:"BetDataArr,omitempty"` //下注信息
|
||
Params []string `protobuf:"bytes,15,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:ip 等
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) Reset() {
|
||
*x = SmallRocketPlayerData{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SmallRocketPlayerData) ProtoMessage() {}
|
||
|
||
func (x *SmallRocketPlayerData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[1]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SmallRocketPlayerData.ProtoReflect.Descriptor instead.
|
||
func (*SmallRocketPlayerData) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetHead() int32 {
|
||
if x != nil {
|
||
return x.Head
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetSex() int32 {
|
||
if x != nil {
|
||
return x.Sex
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetCoin() int64 {
|
||
if x != nil {
|
||
return x.Coin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetHeadOutLine() int32 {
|
||
if x != nil {
|
||
return x.HeadOutLine
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetVIP() int32 {
|
||
if x != nil {
|
||
return x.VIP
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetFlag() int32 {
|
||
if x != nil {
|
||
return x.Flag
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetWinCoin() int64 {
|
||
if x != nil {
|
||
return x.WinCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetBetDataArr() []*BetDataInfo {
|
||
if x != nil {
|
||
return x.BetDataArr
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SmallRocketPlayerData) GetParams() []string {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//房间信息
|
||
type SCSmallRocketRoomInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
RoomId int32 `protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"` //房间id
|
||
GameId int32 `protobuf:"varint,2,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id
|
||
RoomMode int32 `protobuf:"varint,3,opt,name=RoomMode,proto3" json:"RoomMode,omitempty"` //游戏模式
|
||
Params []int32 `protobuf:"varint,4,rep,packed,name=Params,proto3" json:"Params,omitempty"` //规则参数
|
||
State int32 `protobuf:"varint,5,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
||
TimeOut int32 `protobuf:"varint,6,opt,name=TimeOut,proto3" json:"TimeOut,omitempty"` //该状态已经历时间 单位:秒
|
||
Players []*SmallRocketPlayerData `protobuf:"bytes,7,rep,name=Players,proto3" json:"Players,omitempty"` //房间内的玩家信息
|
||
BombMul float32 `protobuf:"fixed32,8,opt,name=BombMul,proto3" json:"BombMul,omitempty"` //爆炸倍数
|
||
TotalPlayer int32 `protobuf:"varint,9,opt,name=TotalPlayer,proto3" json:"TotalPlayer,omitempty"` //房间总人数
|
||
TotalBetPlayer int32 `protobuf:"varint,10,opt,name=TotalBetPlayer,proto3" json:"TotalBetPlayer,omitempty"` //下注总人数
|
||
RoundBoomMuHistory []float32 `protobuf:"fixed32,11,rep,packed,name=RoundBoomMuHistory,proto3" json:"RoundBoomMuHistory,omitempty"` //5个历史倍数记录
|
||
RoundId int32 `protobuf:"varint,12,opt,name=RoundId,proto3" json:"RoundId,omitempty"` //当前局数ID
|
||
ParamsEx []int32 `protobuf:"varint,13,rep,packed,name=ParamsEx,proto3" json:"ParamsEx,omitempty"` //其他参数
|
||
BombRandomNum int32 `protobuf:"varint,14,opt,name=BombRandomNum,proto3" json:"BombRandomNum,omitempty"` //爆炸随机数
|
||
GameFreeId int32 `protobuf:"varint,15,opt,name=GameFreeId,proto3" json:"GameFreeId,omitempty"`
|
||
BaseScore int32 `protobuf:"varint,16,opt,name=BaseScore,proto3" json:"BaseScore,omitempty"` //基础分
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) Reset() {
|
||
*x = SCSmallRocketRoomInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketRoomInfo) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketRoomInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[2]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketRoomInfo.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketRoomInfo) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetRoomId() int32 {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetGameId() int32 {
|
||
if x != nil {
|
||
return x.GameId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetRoomMode() int32 {
|
||
if x != nil {
|
||
return x.RoomMode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetParams() []int32 {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetState() int32 {
|
||
if x != nil {
|
||
return x.State
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetTimeOut() int32 {
|
||
if x != nil {
|
||
return x.TimeOut
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetPlayers() []*SmallRocketPlayerData {
|
||
if x != nil {
|
||
return x.Players
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetBombMul() float32 {
|
||
if x != nil {
|
||
return x.BombMul
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetTotalPlayer() int32 {
|
||
if x != nil {
|
||
return x.TotalPlayer
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetTotalBetPlayer() int32 {
|
||
if x != nil {
|
||
return x.TotalBetPlayer
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetRoundBoomMuHistory() []float32 {
|
||
if x != nil {
|
||
return x.RoundBoomMuHistory
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetRoundId() int32 {
|
||
if x != nil {
|
||
return x.RoundId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetParamsEx() []int32 {
|
||
if x != nil {
|
||
return x.ParamsEx
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetBombRandomNum() int32 {
|
||
if x != nil {
|
||
return x.BombRandomNum
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetGameFreeId() int32 {
|
||
if x != nil {
|
||
return x.GameFreeId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomInfo) GetBaseScore() int32 {
|
||
if x != nil {
|
||
return x.BaseScore
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//玩家操作
|
||
type CSSmallRocketOp struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 0:下注 1:取消下注 2:下车收取奖励 3:设置自动下注状态 4:设置自动领取 5:中断后回到游戏请求玩家信息
|
||
Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 0:Params[0]下注位置 0, 1 Params[1]下注金额 Params[2]收取倍数
|
||
}
|
||
|
||
func (x *CSSmallRocketOp) Reset() {
|
||
*x = CSSmallRocketOp{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CSSmallRocketOp) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CSSmallRocketOp) ProtoMessage() {}
|
||
|
||
func (x *CSSmallRocketOp) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[3]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CSSmallRocketOp.ProtoReflect.Descriptor instead.
|
||
func (*CSSmallRocketOp) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *CSSmallRocketOp) GetOpCode() int32 {
|
||
if x != nil {
|
||
return x.OpCode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CSSmallRocketOp) GetParams() []int64 {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家操作返回
|
||
type SCSmallRocketOp struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SnId int32 `protobuf:"varint,1,opt,name=SnId,proto3" json:"SnId,omitempty"` //玩家ID
|
||
OpCode int32 `protobuf:"varint,2,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码
|
||
Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 同上 CSSmallRocketOp
|
||
OpRetCode OpResultCode `protobuf:"varint,4,opt,name=OpRetCode,proto3,enum=smallrocket.OpResultCode" json:"OpRetCode,omitempty"` //操作结果
|
||
BetDataArr []*BetDataInfo `protobuf:"bytes,5,rep,name=BetDataArr,proto3" json:"BetDataArr,omitempty"` //下注信息
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) Reset() {
|
||
*x = SCSmallRocketOp{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketOp) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketOp) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[4]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketOp.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketOp) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) GetOpCode() int32 {
|
||
if x != nil {
|
||
return x.OpCode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) GetParams() []int64 {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) GetOpRetCode() OpResultCode {
|
||
if x != nil {
|
||
return x.OpRetCode
|
||
}
|
||
return OpResultCode_OPRC_Success
|
||
}
|
||
|
||
func (x *SCSmallRocketOp) GetBetDataArr() []*BetDataInfo {
|
||
if x != nil {
|
||
return x.BetDataArr
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//房间人数变化
|
||
type SCSmallRocketBetPlayerChange struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
TotalBetPlayerCnt int32 `protobuf:"varint,1,opt,name=TotalBetPlayerCnt,proto3" json:"TotalBetPlayerCnt,omitempty"` // 房间本局下注的总人数
|
||
}
|
||
|
||
func (x *SCSmallRocketBetPlayerChange) Reset() {
|
||
*x = SCSmallRocketBetPlayerChange{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketBetPlayerChange) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketBetPlayerChange) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketBetPlayerChange) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[5]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketBetPlayerChange.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketBetPlayerChange) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *SCSmallRocketBetPlayerChange) GetTotalBetPlayerCnt() int32 {
|
||
if x != nil {
|
||
return x.TotalBetPlayerCnt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//历史倍数记录
|
||
type SCSmallRoundBoomMuHistory struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
RoundBoomMuHistory []float32 `protobuf:"fixed32,1,rep,packed,name=RoundBoomMuHistory,proto3" json:"RoundBoomMuHistory,omitempty"` //5个历史倍数记录
|
||
}
|
||
|
||
func (x *SCSmallRoundBoomMuHistory) Reset() {
|
||
*x = SCSmallRoundBoomMuHistory{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRoundBoomMuHistory) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRoundBoomMuHistory) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRoundBoomMuHistory) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[6]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRoundBoomMuHistory.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRoundBoomMuHistory) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *SCSmallRoundBoomMuHistory) GetRoundBoomMuHistory() []float32 {
|
||
if x != nil {
|
||
return x.RoundBoomMuHistory
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家获取收益跳伞
|
||
type SCSmallRocketPlayerTakeGain struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SnId int32 `protobuf:"varint,1,opt,name=SnId,proto3" json:"SnId,omitempty"` // 跳伞玩家
|
||
LeaveTime float32 `protobuf:"fixed32,2,opt,name=LeaveTime,proto3" json:"LeaveTime,omitempty"` // 跳伞时间
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerTakeGain) Reset() {
|
||
*x = SCSmallRocketPlayerTakeGain{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerTakeGain) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketPlayerTakeGain) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketPlayerTakeGain) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[7]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketPlayerTakeGain.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketPlayerTakeGain) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerTakeGain) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerTakeGain) GetLeaveTime() float32 {
|
||
if x != nil {
|
||
return x.LeaveTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//发送给客户端的数据 单局结算
|
||
type SCSmallRocketRoundGameBilled struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
RoundId int32 `protobuf:"varint,1,opt,name=RoundId,proto3" json:"RoundId,omitempty"` //牌局ID
|
||
BombMul float32 `protobuf:"fixed32,2,opt,name=BombMul,proto3" json:"BombMul,omitempty"` // 爆炸倍数
|
||
Award int64 `protobuf:"varint,3,opt,name=Award,proto3" json:"Award,omitempty"` //获奖金额
|
||
Balance int64 `protobuf:"varint,4,opt,name=Balance,proto3" json:"Balance,omitempty"` //玩家余额
|
||
RoundBoomMuHistory []float32 `protobuf:"fixed32,5,rep,packed,name=RoundBoomMuHistory,proto3" json:"RoundBoomMuHistory,omitempty"` //5个历史倍数记录
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) Reset() {
|
||
*x = SCSmallRocketRoundGameBilled{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketRoundGameBilled) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[8]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketRoundGameBilled.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketRoundGameBilled) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) GetRoundId() int32 {
|
||
if x != nil {
|
||
return x.RoundId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) GetBombMul() float32 {
|
||
if x != nil {
|
||
return x.BombMul
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) GetAward() int64 {
|
||
if x != nil {
|
||
return x.Award
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) GetBalance() int64 {
|
||
if x != nil {
|
||
return x.Balance
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoundGameBilled) GetRoundBoomMuHistory() []float32 {
|
||
if x != nil {
|
||
return x.RoundBoomMuHistory
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//房间状态
|
||
type SCSmallRocketRoomState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
||
Params []float32 `protobuf:"fixed32,2,rep,packed,name=Params,proto3" json:"Params,omitempty"`
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomState) Reset() {
|
||
*x = SCSmallRocketRoomState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketRoomState) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketRoomState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[9]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketRoomState.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketRoomState) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomState) GetState() int32 {
|
||
if x != nil {
|
||
return x.State
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketRoomState) GetParams() []float32 {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家信息
|
||
type SCSmallRocketPlayerInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SnId int32 `protobuf:"varint,1,opt,name=SnId,proto3" json:"SnId,omitempty"` //玩家ID
|
||
GainCoin int64 `protobuf:"varint,2,opt,name=gainCoin,proto3" json:"gainCoin,omitempty"` //本局赢取金币
|
||
Coin int64 `protobuf:"varint,3,opt,name=Coin,proto3" json:"Coin,omitempty"` // 玩家金币
|
||
BetDataArr []*BetDataInfo `protobuf:"bytes,4,rep,name=BetDataArr,proto3" json:"BetDataArr,omitempty"` //下注信息
|
||
GainCoinBet1 int64 `protobuf:"varint,5,opt,name=GainCoinBet1,proto3" json:"GainCoinBet1,omitempty"` // 下注面板1获取金币
|
||
GainCoinBet2 int64 `protobuf:"varint,6,opt,name=GainCoinBet2,proto3" json:"GainCoinBet2,omitempty"` // 下注面板2获取金币
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) Reset() {
|
||
*x = SCSmallRocketPlayerInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketPlayerInfo) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[10]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketPlayerInfo.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketPlayerInfo) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) GetGainCoin() int64 {
|
||
if x != nil {
|
||
return x.GainCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) GetCoin() int64 {
|
||
if x != nil {
|
||
return x.Coin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) GetBetDataArr() []*BetDataInfo {
|
||
if x != nil {
|
||
return x.BetDataArr
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) GetGainCoinBet1() int64 {
|
||
if x != nil {
|
||
return x.GainCoinBet1
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerInfo) GetGainCoinBet2() int64 {
|
||
if x != nil {
|
||
return x.GainCoinBet2
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 中断后接着游戏请求玩家信息
|
||
type SCSmallRocketResumePlayerInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SnId int32 `protobuf:"varint,1,opt,name=SnId,proto3" json:"SnId,omitempty"` //玩家ID
|
||
GainCoin int64 `protobuf:"varint,2,opt,name=gainCoin,proto3" json:"gainCoin,omitempty"` //本局赢取金币
|
||
Coin int64 `protobuf:"varint,3,opt,name=Coin,proto3" json:"Coin,omitempty"` // 玩家金币
|
||
TimeOut int32 `protobuf:"varint,4,opt,name=TimeOut,proto3" json:"TimeOut,omitempty"` //该状态已经历时间 单位:秒
|
||
BetDataArr []*BetDataInfo `protobuf:"bytes,5,rep,name=BetDataArr,proto3" json:"BetDataArr,omitempty"` //下注信息
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) Reset() {
|
||
*x = SCSmallRocketResumePlayerInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketResumePlayerInfo) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[11]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketResumePlayerInfo.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketResumePlayerInfo) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) GetSnId() int32 {
|
||
if x != nil {
|
||
return x.SnId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) GetGainCoin() int64 {
|
||
if x != nil {
|
||
return x.GainCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) GetCoin() int64 {
|
||
if x != nil {
|
||
return x.Coin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) GetTimeOut() int32 {
|
||
if x != nil {
|
||
return x.TimeOut
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCSmallRocketResumePlayerInfo) GetBetDataArr() []*BetDataInfo {
|
||
if x != nil {
|
||
return x.BetDataArr
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家进入
|
||
//PACKET_SCSmallRocketPlayerEnter
|
||
type SCSmallRocketPlayerEnter struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Data *SmallRocketPlayerData `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerEnter) Reset() {
|
||
*x = SCSmallRocketPlayerEnter{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerEnter) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketPlayerEnter) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketPlayerEnter) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[12]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketPlayerEnter.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketPlayerEnter) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerEnter) GetData() *SmallRocketPlayerData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//玩家离开
|
||
//PACKET_SCSmallRocketPlayerLeave
|
||
type SCSmallRocketPlayerLeave struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Pos int32 `protobuf:"varint,1,opt,name=Pos,proto3" json:"Pos,omitempty"` //玩家位置
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerLeave) Reset() {
|
||
*x = SCSmallRocketPlayerLeave{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_smallrocket_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerLeave) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCSmallRocketPlayerLeave) ProtoMessage() {}
|
||
|
||
func (x *SCSmallRocketPlayerLeave) ProtoReflect() protoreflect.Message {
|
||
mi := &file_smallrocket_proto_msgTypes[13]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SCSmallRocketPlayerLeave.ProtoReflect.Descriptor instead.
|
||
func (*SCSmallRocketPlayerLeave) Descriptor() ([]byte, []int) {
|
||
return file_smallrocket_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *SCSmallRocketPlayerLeave) GetPos() int32 {
|
||
if x != nil {
|
||
return x.Pos
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_smallrocket_proto protoreflect.FileDescriptor
|
||
|
||
var file_smallrocket_proto_rawDesc = []byte{
|
||
0x0a, 0x11, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72,
|
||
0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74,
|
||
0x22, 0xc5, 0x01, 0x0a, 0x0b, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f,
|
||
0x12, 0x16, 0x0a, 0x06, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||
0x52, 0x06, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x61, 0x6b, 0x65,
|
||
0x4d, 0x75, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x54, 0x61, 0x6b, 0x65, 0x4d,
|
||
0x75, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x43, 0x75, 0x72, 0x42, 0x65, 0x74, 0x18, 0x03,
|
||
0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x49, 0x73, 0x43, 0x75, 0x72, 0x42, 0x65, 0x74, 0x12, 0x1c,
|
||
0x0a, 0x09, 0x49, 0x73, 0x4e, 0x65, 0x78, 0x74, 0x42, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||
0x08, 0x52, 0x09, 0x49, 0x73, 0x4e, 0x65, 0x78, 0x74, 0x42, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a,
|
||
0x49, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
|
||
0x52, 0x0a, 0x49, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x12, 0x2a, 0x0a, 0x10,
|
||
0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x65, 0x74, 0x41, 0x6e, 0x64, 0x54, 0x61, 0x6b, 0x65,
|
||
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x65,
|
||
0x74, 0x41, 0x6e, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x22, 0xad, 0x02, 0x0a, 0x15, 0x53, 0x6d, 0x61,
|
||
0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61,
|
||
0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, 0x02,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x65,
|
||
0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x48, 0x65, 0x61, 0x64, 0x12, 0x10,
|
||
0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x53, 0x65, 0x78,
|
||
0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
||
0x43, 0x6f, 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c,
|
||
0x69, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x4f,
|
||
0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x49, 0x50, 0x18, 0x07, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x03, 0x56, 0x49, 0x50, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67,
|
||
0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07,
|
||
0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x57,
|
||
0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x38, 0x0a, 0x0a, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74,
|
||
0x61, 0x41, 0x72, 0x72, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x6d, 0x61,
|
||
0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
|
||
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x72,
|
||
0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09,
|
||
0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x97, 0x04, 0x0a, 0x15, 0x53, 0x43, 0x53,
|
||
0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e,
|
||
0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61,
|
||
0x6d, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65,
|
||
0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x03,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16,
|
||
0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06,
|
||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18,
|
||
0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
||
0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x54,
|
||
0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x12, 0x3c, 0x0a, 0x07, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
||
0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72,
|
||
0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65,
|
||
0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x50, 0x6c, 0x61,
|
||
0x79, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x6f, 0x6d, 0x62, 0x4d, 0x75, 0x6c, 0x18,
|
||
0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x42, 0x6f, 0x6d, 0x62, 0x4d, 0x75, 0x6c, 0x12, 0x20,
|
||
0x0a, 0x0b, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x09, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x0b, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
||
0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79,
|
||
0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42,
|
||
0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x6e,
|
||
0x64, 0x42, 0x6f, 0x6f, 0x6d, 0x4d, 0x75, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0b,
|
||
0x20, 0x03, 0x28, 0x02, 0x52, 0x12, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x6f, 0x6f, 0x6d, 0x4d,
|
||
0x75, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x6f, 0x75, 0x6e,
|
||
0x64, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x52, 0x6f, 0x75, 0x6e, 0x64,
|
||
0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x18, 0x0d,
|
||
0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x12, 0x24,
|
||
0x0a, 0x0d, 0x42, 0x6f, 0x6d, 0x62, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x18,
|
||
0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x42, 0x6f, 0x6d, 0x62, 0x52, 0x61, 0x6e, 0x64, 0x6f,
|
||
0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65,
|
||
0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72,
|
||
0x65, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x65, 0x53, 0x63, 0x6f, 0x72,
|
||
0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x42, 0x61, 0x73, 0x65, 0x53, 0x63, 0x6f,
|
||
0x72, 0x65, 0x22, 0x41, 0x0a, 0x0f, 0x43, 0x53, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63,
|
||
0x6b, 0x65, 0x74, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a,
|
||
0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x50,
|
||
0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x0f, 0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c,
|
||
0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49,
|
||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
||
0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4f,
|
||
0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18,
|
||
0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x37, 0x0a,
|
||
0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
|
||
0x32, 0x19, 0x2e, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f,
|
||
0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52,
|
||
0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74,
|
||
0x61, 0x41, 0x72, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x6d, 0x61,
|
||
0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
|
||
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x72,
|
||
0x22, 0x4c, 0x0a, 0x1c, 0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65,
|
||
0x74, 0x42, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
||
0x12, 0x2c, 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79,
|
||
0x65, 0x72, 0x43, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x54, 0x6f, 0x74,
|
||
0x61, 0x6c, 0x42, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6e, 0x74, 0x22, 0x4b,
|
||
0x0a, 0x19, 0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x6f,
|
||
0x6f, 0x6d, 0x4d, 0x75, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x52,
|
||
0x6f, 0x75, 0x6e, 0x64, 0x42, 0x6f, 0x6f, 0x6d, 0x4d, 0x75, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
|
||
0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x02, 0x52, 0x12, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x6f,
|
||
0x6f, 0x6d, 0x4d, 0x75, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4f, 0x0a, 0x1b, 0x53,
|
||
0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79,
|
||
0x65, 0x72, 0x54, 0x61, 0x6b, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e,
|
||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x1c,
|
||
0x0a, 0x09, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x02, 0x52, 0x09, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb2, 0x01, 0x0a,
|
||
0x1c, 0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x6f,
|
||
0x75, 0x6e, 0x64, 0x47, 0x61, 0x6d, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a,
|
||
0x07, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
||
0x52, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x6f, 0x6d, 0x62, 0x4d,
|
||
0x75, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x42, 0x6f, 0x6d, 0x62, 0x4d, 0x75,
|
||
0x6c, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||
0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e,
|
||
0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
|
||
0x65, 0x12, 0x2e, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x6f, 0x6f, 0x6d, 0x4d, 0x75,
|
||
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x02, 0x52, 0x12, 0x52,
|
||
0x6f, 0x75, 0x6e, 0x64, 0x42, 0x6f, 0x6f, 0x6d, 0x4d, 0x75, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
|
||
0x79, 0x22, 0x46, 0x0a, 0x16, 0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b,
|
||
0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53,
|
||
0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74,
|
||
0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
||
0x02, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xdf, 0x01, 0x0a, 0x17, 0x53, 0x43,
|
||
0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65,
|
||
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x69,
|
||
0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x61, 0x69,
|
||
0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20,
|
||
0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x38, 0x0a, 0x0a, 0x42, 0x65, 0x74,
|
||
0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e,
|
||
0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x65, 0x74, 0x44,
|
||
0x61, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x42, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
|
||
0x41, 0x72, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x47, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x42,
|
||
0x65, 0x74, 0x31, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x47, 0x61, 0x69, 0x6e, 0x43,
|
||
0x6f, 0x69, 0x6e, 0x42, 0x65, 0x74, 0x31, 0x12, 0x22, 0x0a, 0x0c, 0x47, 0x61, 0x69, 0x6e, 0x43,
|
||
0x6f, 0x69, 0x6e, 0x42, 0x65, 0x74, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x47,
|
||
0x61, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x65, 0x74, 0x32, 0x22, 0xb7, 0x01, 0x0a, 0x1d,
|
||
0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73,
|
||
0x75, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a,
|
||
0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49,
|
||
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x12, 0x0a,
|
||
0x04, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69,
|
||
0x6e, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x42,
|
||
0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||
0x18, 0x2e, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x65,
|
||
0x74, 0x44, 0x61, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x42, 0x65, 0x74, 0x44, 0x61,
|
||
0x74, 0x61, 0x41, 0x72, 0x72, 0x22, 0x52, 0x0a, 0x18, 0x53, 0x43, 0x53, 0x6d, 0x61, 0x6c, 0x6c,
|
||
0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65,
|
||
0x72, 0x12, 0x36, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
0x22, 0x2e, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x6d,
|
||
0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44,
|
||
0x61, 0x74, 0x61, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2c, 0x0a, 0x18, 0x53, 0x43, 0x53,
|
||
0x6d, 0x61, 0x6c, 0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
||
0x4c, 0x65, 0x61, 0x76, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x03, 0x50, 0x6f, 0x73, 0x2a, 0xbd, 0x03, 0x0a, 0x13, 0x53, 0x6d, 0x61, 0x6c,
|
||
0x6c, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12,
|
||
0x1b, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52,
|
||
0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1e,
|
||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52,
|
||
0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xcd,
|
||
0x2b, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x53,
|
||
0x4d, 0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45,
|
||
0x52, 0x4f, 0x50, 0x10, 0xce, 0x2b, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||
0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
||
0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xcf, 0x2b, 0x12, 0x24, 0x0a, 0x1f, 0x50,
|
||
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52, 0x4f,
|
||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0xd0,
|
||
0x2b, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53,
|
||
0x4d, 0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45,
|
||
0x52, 0x54, 0x41, 0x4b, 0x45, 0x47, 0x41, 0x49, 0x4e, 0x10, 0xd1, 0x2b, 0x12, 0x25, 0x0a, 0x20,
|
||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52,
|
||
0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44,
|
||
0x10, 0xd2, 0x2b, 0x12, 0x2b, 0x0a, 0x26, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43,
|
||
0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x4f,
|
||
0x4d, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x42, 0x45, 0x54, 0x4e, 0x55, 0x4d, 0x10, 0xd3, 0x2b,
|
||
0x12, 0x26, 0x0a, 0x21, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d,
|
||
0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
||
0x45, 0x6e, 0x74, 0x65, 0x72, 0x10, 0xd5, 0x2b, 0x12, 0x26, 0x0a, 0x21, 0x50, 0x41, 0x43, 0x4b,
|
||
0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45,
|
||
0x54, 0x5f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x10, 0xd6, 0x2b,
|
||
0x12, 0x25, 0x0a, 0x20, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x4d,
|
||
0x41, 0x4c, 0x4c, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52,
|
||
0x49, 0x4e, 0x46, 0x4f, 0x10, 0xd7, 0x2b, 0x2a, 0x60, 0x0a, 0x0c, 0x4f, 0x70, 0x52, 0x65, 0x73,
|
||
0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x52, 0x43, 0x5f,
|
||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x52,
|
||
0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x52,
|
||
0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10,
|
||
0x02, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x6f, 0x73, 0x41, 0x6c, 0x52,
|
||
0x65, 0x61, 0x64, 0x79, 0x42, 0x65, 0x74, 0x10, 0x03, 0x42, 0x2b, 0x5a, 0x29, 0x6d, 0x6f, 0x6e,
|
||
0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d,
|
||
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x6d, 0x61, 0x6c, 0x6c,
|
||
0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_smallrocket_proto_rawDescOnce sync.Once
|
||
file_smallrocket_proto_rawDescData = file_smallrocket_proto_rawDesc
|
||
)
|
||
|
||
func file_smallrocket_proto_rawDescGZIP() []byte {
|
||
file_smallrocket_proto_rawDescOnce.Do(func() {
|
||
file_smallrocket_proto_rawDescData = protoimpl.X.CompressGZIP(file_smallrocket_proto_rawDescData)
|
||
})
|
||
return file_smallrocket_proto_rawDescData
|
||
}
|
||
|
||
var file_smallrocket_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||
var file_smallrocket_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||
var file_smallrocket_proto_goTypes = []interface{}{
|
||
(SmallRocketPacketID)(0), // 0: smallrocket.SmallRocketPacketID
|
||
(OpResultCode)(0), // 1: smallrocket.OpResultCode
|
||
(*BetDataInfo)(nil), // 2: smallrocket.BetDataInfo
|
||
(*SmallRocketPlayerData)(nil), // 3: smallrocket.SmallRocketPlayerData
|
||
(*SCSmallRocketRoomInfo)(nil), // 4: smallrocket.SCSmallRocketRoomInfo
|
||
(*CSSmallRocketOp)(nil), // 5: smallrocket.CSSmallRocketOp
|
||
(*SCSmallRocketOp)(nil), // 6: smallrocket.SCSmallRocketOp
|
||
(*SCSmallRocketBetPlayerChange)(nil), // 7: smallrocket.SCSmallRocketBetPlayerChange
|
||
(*SCSmallRoundBoomMuHistory)(nil), // 8: smallrocket.SCSmallRoundBoomMuHistory
|
||
(*SCSmallRocketPlayerTakeGain)(nil), // 9: smallrocket.SCSmallRocketPlayerTakeGain
|
||
(*SCSmallRocketRoundGameBilled)(nil), // 10: smallrocket.SCSmallRocketRoundGameBilled
|
||
(*SCSmallRocketRoomState)(nil), // 11: smallrocket.SCSmallRocketRoomState
|
||
(*SCSmallRocketPlayerInfo)(nil), // 12: smallrocket.SCSmallRocketPlayerInfo
|
||
(*SCSmallRocketResumePlayerInfo)(nil), // 13: smallrocket.SCSmallRocketResumePlayerInfo
|
||
(*SCSmallRocketPlayerEnter)(nil), // 14: smallrocket.SCSmallRocketPlayerEnter
|
||
(*SCSmallRocketPlayerLeave)(nil), // 15: smallrocket.SCSmallRocketPlayerLeave
|
||
}
|
||
var file_smallrocket_proto_depIdxs = []int32{
|
||
2, // 0: smallrocket.SmallRocketPlayerData.BetDataArr:type_name -> smallrocket.BetDataInfo
|
||
3, // 1: smallrocket.SCSmallRocketRoomInfo.Players:type_name -> smallrocket.SmallRocketPlayerData
|
||
1, // 2: smallrocket.SCSmallRocketOp.OpRetCode:type_name -> smallrocket.OpResultCode
|
||
2, // 3: smallrocket.SCSmallRocketOp.BetDataArr:type_name -> smallrocket.BetDataInfo
|
||
2, // 4: smallrocket.SCSmallRocketPlayerInfo.BetDataArr:type_name -> smallrocket.BetDataInfo
|
||
2, // 5: smallrocket.SCSmallRocketResumePlayerInfo.BetDataArr:type_name -> smallrocket.BetDataInfo
|
||
3, // 6: smallrocket.SCSmallRocketPlayerEnter.Data:type_name -> smallrocket.SmallRocketPlayerData
|
||
7, // [7:7] is the sub-list for method output_type
|
||
7, // [7:7] is the sub-list for method input_type
|
||
7, // [7:7] is the sub-list for extension type_name
|
||
7, // [7:7] is the sub-list for extension extendee
|
||
0, // [0:7] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_smallrocket_proto_init() }
|
||
func file_smallrocket_proto_init() {
|
||
if File_smallrocket_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_smallrocket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BetDataInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SmallRocketPlayerData); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketRoomInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CSSmallRocketOp); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketOp); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketBetPlayerChange); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRoundBoomMuHistory); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketPlayerTakeGain); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketRoundGameBilled); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketRoomState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketPlayerInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketResumePlayerInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketPlayerEnter); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_smallrocket_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCSmallRocketPlayerLeave); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_smallrocket_proto_rawDesc,
|
||
NumEnums: 2,
|
||
NumMessages: 14,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_smallrocket_proto_goTypes,
|
||
DependencyIndexes: file_smallrocket_proto_depIdxs,
|
||
EnumInfos: file_smallrocket_proto_enumTypes,
|
||
MessageInfos: file_smallrocket_proto_msgTypes,
|
||
}.Build()
|
||
File_smallrocket_proto = out.File
|
||
file_smallrocket_proto_rawDesc = nil
|
||
file_smallrocket_proto_goTypes = nil
|
||
file_smallrocket_proto_depIdxs = nil
|
||
}
|