del .go
This commit is contained in:
parent
bb0bd8449a
commit
743b0531c4
|
@ -1,803 +0,0 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.27.1-devel
|
|
||||||
// protoc v3.19.4
|
|
||||||
// source: fortunedragon.proto
|
|
||||||
|
|
||||||
package fortunedragon
|
|
||||||
|
|
||||||
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)
|
|
||||||
)
|
|
||||||
|
|
||||||
//fortunedragon
|
|
||||||
//龙
|
|
||||||
type FortuneDragonPID int32
|
|
||||||
|
|
||||||
const (
|
|
||||||
FortuneDragonPID_PACKET_FORTUNEDRAGON_ZERO FortuneDragonPID = 0 // 弃用消息号
|
|
||||||
FortuneDragonPID_PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMINFO FortuneDragonPID = 5600 //房间信息
|
|
||||||
FortuneDragonPID_PACKET_FORTUNEDRAGON_CSFORTUNEDRAGONOP FortuneDragonPID = 5601
|
|
||||||
FortuneDragonPID_PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONOP FortuneDragonPID = 5602
|
|
||||||
FortuneDragonPID_PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMSTATE FortuneDragonPID = 5603
|
|
||||||
FortuneDragonPID_PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONBILLED FortuneDragonPID = 5604
|
|
||||||
)
|
|
||||||
|
|
||||||
// Enum value maps for FortuneDragonPID.
|
|
||||||
var (
|
|
||||||
FortuneDragonPID_name = map[int32]string{
|
|
||||||
0: "PACKET_FORTUNEDRAGON_ZERO",
|
|
||||||
5600: "PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMINFO",
|
|
||||||
5601: "PACKET_FORTUNEDRAGON_CSFORTUNEDRAGONOP",
|
|
||||||
5602: "PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONOP",
|
|
||||||
5603: "PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMSTATE",
|
|
||||||
5604: "PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONBILLED",
|
|
||||||
}
|
|
||||||
FortuneDragonPID_value = map[string]int32{
|
|
||||||
"PACKET_FORTUNEDRAGON_ZERO": 0,
|
|
||||||
"PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMINFO": 5600,
|
|
||||||
"PACKET_FORTUNEDRAGON_CSFORTUNEDRAGONOP": 5601,
|
|
||||||
"PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONOP": 5602,
|
|
||||||
"PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMSTATE": 5603,
|
|
||||||
"PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONBILLED": 5604,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x FortuneDragonPID) Enum() *FortuneDragonPID {
|
|
||||||
p := new(FortuneDragonPID)
|
|
||||||
*p = x
|
|
||||||
return p
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x FortuneDragonPID) String() string {
|
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
||||||
}
|
|
||||||
|
|
||||||
func (FortuneDragonPID) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_fortunedragon_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (FortuneDragonPID) Type() protoreflect.EnumType {
|
|
||||||
return &file_fortunedragon_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x FortuneDragonPID) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use FortuneDragonPID.Descriptor instead.
|
|
||||||
func (FortuneDragonPID) EnumDescriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
type FortuneDragonPlayerData 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"` //金币
|
|
||||||
Pos int32 `protobuf:"varint,6,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置
|
|
||||||
Flag int32 `protobuf:"varint,7,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记
|
|
||||||
Params []string `protobuf:"bytes,8,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:ip 等
|
|
||||||
City string `protobuf:"bytes,9,opt,name=City,proto3" json:"City,omitempty"` //城市
|
|
||||||
HeadOutLine int32 `protobuf:"varint,10,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框
|
|
||||||
VIP int32 `protobuf:"varint,11,opt,name=VIP,proto3" json:"VIP,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) Reset() {
|
|
||||||
*x = FortuneDragonPlayerData{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunedragon_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*FortuneDragonPlayerData) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunedragon_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 FortuneDragonPlayerData.ProtoReflect.Descriptor instead.
|
|
||||||
func (*FortuneDragonPlayerData) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetName() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Name
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetSnId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.SnId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetHead() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Head
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetSex() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Sex
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetCoin() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Coin
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetPos() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Pos
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetFlag() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Flag
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetParams() []string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetCity() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.City
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetHeadOutLine() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.HeadOutLine
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneDragonPlayerData) GetVIP() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.VIP
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
//房间信息
|
|
||||||
//PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMINFO
|
|
||||||
type SCFortuneDragonRoomInfo struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
RoomId int32 `protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"` //房间id
|
|
||||||
GameFreeId int32 `protobuf:"varint,2,opt,name=GameFreeId,proto3" json:"GameFreeId,omitempty"`
|
|
||||||
GameId int32 `protobuf:"varint,3,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id
|
|
||||||
RoomMode int32 `protobuf:"varint,4,opt,name=RoomMode,proto3" json:"RoomMode,omitempty"` //游戏模式
|
|
||||||
Params []int32 `protobuf:"varint,5,rep,packed,name=Params,proto3" json:"Params,omitempty"` //规则参数
|
|
||||||
NumOfGames int32 `protobuf:"varint,6,opt,name=NumOfGames,proto3" json:"NumOfGames,omitempty"` //当前第几局
|
|
||||||
State int32 `protobuf:"varint,7,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
|
||||||
ParamsEx []int64 `protobuf:"varint,8,rep,packed,name=ParamsEx,proto3" json:"ParamsEx,omitempty"` //其他参数
|
|
||||||
SceneType int32 `protobuf:"varint,9,opt,name=SceneType,proto3" json:"SceneType,omitempty"` //房间模式
|
|
||||||
Player *FortuneDragonPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息
|
|
||||||
PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) Reset() {
|
|
||||||
*x = SCFortuneDragonRoomInfo{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunedragon_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneDragonRoomInfo) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunedragon_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 SCFortuneDragonRoomInfo.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneDragonRoomInfo) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetRoomId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoomId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetGameFreeId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.GameFreeId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetGameId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.GameId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetRoomMode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoomMode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetParams() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetNumOfGames() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.NumOfGames
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetState() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.State
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetParamsEx() []int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.ParamsEx
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetSceneType() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.SceneType
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetPlayer() *FortuneDragonPlayerData {
|
|
||||||
if x != nil {
|
|
||||||
return x.Player
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomInfo) GetPlayerInfo() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.PlayerInfo
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
//玩家操作
|
|
||||||
//PACKET_FORTUNEDRAGON_CSFORTUNEDRAGONOP
|
|
||||||
type CSFortuneDragonOp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 0.spin
|
|
||||||
Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 下注索引编号
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneDragonOp) Reset() {
|
|
||||||
*x = CSFortuneDragonOp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunedragon_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneDragonOp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CSFortuneDragonOp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CSFortuneDragonOp) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunedragon_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 CSFortuneDragonOp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CSFortuneDragonOp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{2}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneDragonOp) GetOpCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneDragonOp) GetParams() []int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//玩家操作返回
|
|
||||||
//PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONOP
|
|
||||||
type SCFortuneDragonOp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码
|
|
||||||
OpRetCode int32 `protobuf:"varint,2,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //操作结果 1.金币不足 2.低于该值不能押注
|
|
||||||
Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonOp) Reset() {
|
|
||||||
*x = SCFortuneDragonOp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunedragon_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonOp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneDragonOp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonOp) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunedragon_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 SCFortuneDragonOp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneDragonOp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonOp) GetOpCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonOp) GetOpRetCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpRetCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonOp) GetParams() []int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//房间状态
|
|
||||||
//PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONROOMSTATE
|
|
||||||
type SCFortuneDragonRoomState struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
|
||||||
SubState int32 `protobuf:"varint,2,opt,name=SubState,proto3" json:"SubState,omitempty"` //房间当前子状态
|
|
||||||
Params []int32 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //状态参数
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomState) Reset() {
|
|
||||||
*x = SCFortuneDragonRoomState{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunedragon_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomState) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneDragonRoomState) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomState) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunedragon_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 SCFortuneDragonRoomState.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneDragonRoomState) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{4}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomState) GetState() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.State
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomState) GetSubState() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.SubState
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonRoomState) GetParams() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//PACKET_FORTUNEDRAGON_SCFORTUNEDRAGONBILLED
|
|
||||||
type SCFortuneDragonBilled struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
OpRetCode int32 `protobuf:"varint,1,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //0.spin成功 1.spin失败
|
|
||||||
GameEndStr string `protobuf:"bytes,2,opt,name=GameEndStr,proto3" json:"GameEndStr,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonBilled) Reset() {
|
|
||||||
*x = SCFortuneDragonBilled{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunedragon_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonBilled) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneDragonBilled) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonBilled) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunedragon_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 SCFortuneDragonBilled.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneDragonBilled) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunedragon_proto_rawDescGZIP(), []int{5}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonBilled) GetOpRetCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpRetCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneDragonBilled) GetGameEndStr() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.GameEndStr
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
var File_fortunedragon_proto protoreflect.FileDescriptor
|
|
||||||
|
|
||||||
var file_fortunedragon_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x13, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x64, 0x72,
|
|
||||||
0x61, 0x67, 0x6f, 0x6e, 0x22, 0x81, 0x02, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65,
|
|
||||||
0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
||||||
0x03, 0x50, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61,
|
|
||||||
0x6d, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
||||||
0x43, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c,
|
|
||||||
0x69, 0x6e, 0x65, 0x18, 0x0a, 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, 0x0b, 0x20,
|
|
||||||
0x01, 0x28, 0x05, 0x52, 0x03, 0x56, 0x49, 0x50, 0x22, 0xed, 0x02, 0x0a, 0x17, 0x53, 0x43, 0x46,
|
|
||||||
0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 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, 0x1e, 0x0a, 0x0a,
|
|
||||||
0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
||||||
0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
|
||||||
0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 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, 0x04, 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, 0x05, 0x20, 0x03, 0x28, 0x05,
|
|
||||||
0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x4e, 0x75, 0x6d, 0x4f,
|
|
||||||
0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x4e, 0x75,
|
|
||||||
0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
|
|
||||||
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a,
|
|
||||||
0x0a, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x18, 0x08, 0x20, 0x03, 0x28, 0x03,
|
|
||||||
0x52, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x63,
|
|
||||||
0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x53,
|
|
||||||
0x63, 0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79,
|
|
||||||
0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6f, 0x72, 0x74, 0x75,
|
|
||||||
0x6e, 0x65, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65,
|
|
||||||
0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
|
|
||||||
0x52, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79,
|
|
||||||
0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x50, 0x6c,
|
|
||||||
0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x43, 0x0a, 0x11, 0x43, 0x53, 0x46, 0x6f,
|
|
||||||
0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 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, 0x61, 0x0a,
|
|
||||||
0x11, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e,
|
|
||||||
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, 0x1c, 0x0a, 0x09, 0x4f, 0x70,
|
|
||||||
0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x4f,
|
|
||||||
0x70, 0x52, 0x65, 0x74, 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,
|
|
||||||
0x22, 0x64, 0x0a, 0x18, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61,
|
|
||||||
0x67, 0x6f, 0x6e, 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, 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02,
|
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16,
|
|
||||||
0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06,
|
|
||||||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x55, 0x0a, 0x15, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74,
|
|
||||||
0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12,
|
|
||||||
0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a,
|
|
||||||
0x0a, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x2a, 0xa3, 0x02,
|
|
||||||
0x0a, 0x10, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x50,
|
|
||||||
0x49, 0x44, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52,
|
|
||||||
0x54, 0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10,
|
|
||||||
0x00, 0x12, 0x31, 0x0a, 0x2c, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46,
|
|
||||||
0x4f, 0x10, 0xe0, 0x2b, 0x12, 0x2b, 0x0a, 0x26, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46,
|
|
||||||
0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x43, 0x53, 0x46,
|
|
||||||
0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x4f, 0x50, 0x10, 0xe1,
|
|
||||||
0x2b, 0x12, 0x2b, 0x0a, 0x26, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x4f, 0x50, 0x10, 0xe2, 0x2b, 0x12, 0x32,
|
|
||||||
0x0a, 0x2d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
|
||||||
0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
|
||||||
0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10,
|
|
||||||
0xe3, 0x2b, 0x12, 0x2f, 0x0a, 0x2a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52,
|
|
||||||
0x54, 0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52,
|
|
||||||
0x54, 0x55, 0x4e, 0x45, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44,
|
|
||||||
0x10, 0xe4, 0x2b, 0x42, 0x2d, 0x5a, 0x2b, 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, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x64, 0x72, 0x61, 0x67,
|
|
||||||
0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
|
||||||
file_fortunedragon_proto_rawDescOnce sync.Once
|
|
||||||
file_fortunedragon_proto_rawDescData = file_fortunedragon_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_fortunedragon_proto_rawDescGZIP() []byte {
|
|
||||||
file_fortunedragon_proto_rawDescOnce.Do(func() {
|
|
||||||
file_fortunedragon_proto_rawDescData = protoimpl.X.CompressGZIP(file_fortunedragon_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_fortunedragon_proto_rawDescData
|
|
||||||
}
|
|
||||||
|
|
||||||
var file_fortunedragon_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
||||||
var file_fortunedragon_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
||||||
var file_fortunedragon_proto_goTypes = []interface{}{
|
|
||||||
(FortuneDragonPID)(0), // 0: fortunedragon.FortuneDragonPID
|
|
||||||
(*FortuneDragonPlayerData)(nil), // 1: fortunedragon.FortuneDragonPlayerData
|
|
||||||
(*SCFortuneDragonRoomInfo)(nil), // 2: fortunedragon.SCFortuneDragonRoomInfo
|
|
||||||
(*CSFortuneDragonOp)(nil), // 3: fortunedragon.CSFortuneDragonOp
|
|
||||||
(*SCFortuneDragonOp)(nil), // 4: fortunedragon.SCFortuneDragonOp
|
|
||||||
(*SCFortuneDragonRoomState)(nil), // 5: fortunedragon.SCFortuneDragonRoomState
|
|
||||||
(*SCFortuneDragonBilled)(nil), // 6: fortunedragon.SCFortuneDragonBilled
|
|
||||||
}
|
|
||||||
var file_fortunedragon_proto_depIdxs = []int32{
|
|
||||||
1, // 0: fortunedragon.SCFortuneDragonRoomInfo.Player:type_name -> fortunedragon.FortuneDragonPlayerData
|
|
||||||
1, // [1:1] is the sub-list for method output_type
|
|
||||||
1, // [1:1] is the sub-list for method input_type
|
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
|
||||||
0, // [0:1] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_fortunedragon_proto_init() }
|
|
||||||
func file_fortunedragon_proto_init() {
|
|
||||||
if File_fortunedragon_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_fortunedragon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*FortuneDragonPlayerData); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunedragon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneDragonRoomInfo); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunedragon_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*CSFortuneDragonOp); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunedragon_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneDragonOp); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunedragon_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneDragonRoomState); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunedragon_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneDragonBilled); 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_fortunedragon_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 6,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_fortunedragon_proto_goTypes,
|
|
||||||
DependencyIndexes: file_fortunedragon_proto_depIdxs,
|
|
||||||
EnumInfos: file_fortunedragon_proto_enumTypes,
|
|
||||||
MessageInfos: file_fortunedragon_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_fortunedragon_proto = out.File
|
|
||||||
file_fortunedragon_proto_rawDesc = nil
|
|
||||||
file_fortunedragon_proto_goTypes = nil
|
|
||||||
file_fortunedragon_proto_depIdxs = nil
|
|
||||||
}
|
|
|
@ -1,803 +0,0 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.27.1-devel
|
|
||||||
// protoc v3.19.4
|
|
||||||
// source: fortunerabbit.proto
|
|
||||||
|
|
||||||
package fortunerabbit
|
|
||||||
|
|
||||||
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)
|
|
||||||
)
|
|
||||||
|
|
||||||
//fortunerabbit
|
|
||||||
//龙
|
|
||||||
type FortuneRabbitPID int32
|
|
||||||
|
|
||||||
const (
|
|
||||||
FortuneRabbitPID_PACKET_FORTUNERABBIT_ZERO FortuneRabbitPID = 0 // 弃用消息号
|
|
||||||
FortuneRabbitPID_PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMINFO FortuneRabbitPID = 5610 //房间信息
|
|
||||||
FortuneRabbitPID_PACKET_FORTUNERABBIT_CSFORTUNERABBITOP FortuneRabbitPID = 5611
|
|
||||||
FortuneRabbitPID_PACKET_FORTUNERABBIT_SCFORTUNERABBITOP FortuneRabbitPID = 5612
|
|
||||||
FortuneRabbitPID_PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMSTATE FortuneRabbitPID = 5613
|
|
||||||
FortuneRabbitPID_PACKET_FORTUNERABBIT_SCFORTUNERABBITBILLED FortuneRabbitPID = 5614
|
|
||||||
)
|
|
||||||
|
|
||||||
// Enum value maps for FortuneRabbitPID.
|
|
||||||
var (
|
|
||||||
FortuneRabbitPID_name = map[int32]string{
|
|
||||||
0: "PACKET_FORTUNERABBIT_ZERO",
|
|
||||||
5610: "PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMINFO",
|
|
||||||
5611: "PACKET_FORTUNERABBIT_CSFORTUNERABBITOP",
|
|
||||||
5612: "PACKET_FORTUNERABBIT_SCFORTUNERABBITOP",
|
|
||||||
5613: "PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMSTATE",
|
|
||||||
5614: "PACKET_FORTUNERABBIT_SCFORTUNERABBITBILLED",
|
|
||||||
}
|
|
||||||
FortuneRabbitPID_value = map[string]int32{
|
|
||||||
"PACKET_FORTUNERABBIT_ZERO": 0,
|
|
||||||
"PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMINFO": 5610,
|
|
||||||
"PACKET_FORTUNERABBIT_CSFORTUNERABBITOP": 5611,
|
|
||||||
"PACKET_FORTUNERABBIT_SCFORTUNERABBITOP": 5612,
|
|
||||||
"PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMSTATE": 5613,
|
|
||||||
"PACKET_FORTUNERABBIT_SCFORTUNERABBITBILLED": 5614,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x FortuneRabbitPID) Enum() *FortuneRabbitPID {
|
|
||||||
p := new(FortuneRabbitPID)
|
|
||||||
*p = x
|
|
||||||
return p
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x FortuneRabbitPID) String() string {
|
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
||||||
}
|
|
||||||
|
|
||||||
func (FortuneRabbitPID) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_fortunerabbit_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (FortuneRabbitPID) Type() protoreflect.EnumType {
|
|
||||||
return &file_fortunerabbit_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x FortuneRabbitPID) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use FortuneRabbitPID.Descriptor instead.
|
|
||||||
func (FortuneRabbitPID) EnumDescriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
type FortuneRabbitPlayerData 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"` //金币
|
|
||||||
Pos int32 `protobuf:"varint,6,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置
|
|
||||||
Flag int32 `protobuf:"varint,7,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记
|
|
||||||
Params []string `protobuf:"bytes,8,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:ip 等
|
|
||||||
City string `protobuf:"bytes,9,opt,name=City,proto3" json:"City,omitempty"` //城市
|
|
||||||
HeadOutLine int32 `protobuf:"varint,10,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框
|
|
||||||
VIP int32 `protobuf:"varint,11,opt,name=VIP,proto3" json:"VIP,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) Reset() {
|
|
||||||
*x = FortuneRabbitPlayerData{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunerabbit_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*FortuneRabbitPlayerData) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunerabbit_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 FortuneRabbitPlayerData.ProtoReflect.Descriptor instead.
|
|
||||||
func (*FortuneRabbitPlayerData) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetName() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Name
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetSnId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.SnId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetHead() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Head
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetSex() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Sex
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetCoin() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Coin
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetPos() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Pos
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetFlag() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Flag
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetParams() []string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetCity() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.City
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetHeadOutLine() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.HeadOutLine
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *FortuneRabbitPlayerData) GetVIP() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.VIP
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
//房间信息
|
|
||||||
//PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMINFO
|
|
||||||
type SCFortuneRabbitRoomInfo struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
RoomId int32 `protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"` //房间id
|
|
||||||
GameFreeId int32 `protobuf:"varint,2,opt,name=GameFreeId,proto3" json:"GameFreeId,omitempty"`
|
|
||||||
GameId int32 `protobuf:"varint,3,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id
|
|
||||||
RoomMode int32 `protobuf:"varint,4,opt,name=RoomMode,proto3" json:"RoomMode,omitempty"` //游戏模式
|
|
||||||
Params []int32 `protobuf:"varint,5,rep,packed,name=Params,proto3" json:"Params,omitempty"` //规则参数
|
|
||||||
NumOfGames int32 `protobuf:"varint,6,opt,name=NumOfGames,proto3" json:"NumOfGames,omitempty"` //当前第几局
|
|
||||||
State int32 `protobuf:"varint,7,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
|
||||||
ParamsEx []int64 `protobuf:"varint,8,rep,packed,name=ParamsEx,proto3" json:"ParamsEx,omitempty"` //其他参数
|
|
||||||
SceneType int32 `protobuf:"varint,9,opt,name=SceneType,proto3" json:"SceneType,omitempty"` //房间模式
|
|
||||||
Player *FortuneRabbitPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息
|
|
||||||
PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) Reset() {
|
|
||||||
*x = SCFortuneRabbitRoomInfo{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunerabbit_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneRabbitRoomInfo) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunerabbit_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 SCFortuneRabbitRoomInfo.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneRabbitRoomInfo) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetRoomId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoomId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetGameFreeId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.GameFreeId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetGameId() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.GameId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetRoomMode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.RoomMode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetParams() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetNumOfGames() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.NumOfGames
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetState() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.State
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetParamsEx() []int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.ParamsEx
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetSceneType() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.SceneType
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetPlayer() *FortuneRabbitPlayerData {
|
|
||||||
if x != nil {
|
|
||||||
return x.Player
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomInfo) GetPlayerInfo() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.PlayerInfo
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
//玩家操作
|
|
||||||
//PACKET_FORTUNERABBIT_CSFORTUNERABBITOP
|
|
||||||
type CSFortuneRabbitOp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 0.spin
|
|
||||||
Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 下注索引编号
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneRabbitOp) Reset() {
|
|
||||||
*x = CSFortuneRabbitOp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunerabbit_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneRabbitOp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CSFortuneRabbitOp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CSFortuneRabbitOp) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunerabbit_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 CSFortuneRabbitOp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CSFortuneRabbitOp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{2}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneRabbitOp) GetOpCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CSFortuneRabbitOp) GetParams() []int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//玩家操作返回
|
|
||||||
//PACKET_FORTUNERABBIT_SCFORTUNERABBITOP
|
|
||||||
type SCFortuneRabbitOp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码
|
|
||||||
OpRetCode int32 `protobuf:"varint,2,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //操作结果 1.金币不足 2.低于该值不能押注
|
|
||||||
Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitOp) Reset() {
|
|
||||||
*x = SCFortuneRabbitOp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunerabbit_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitOp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneRabbitOp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitOp) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunerabbit_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 SCFortuneRabbitOp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneRabbitOp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitOp) GetOpCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitOp) GetOpRetCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpRetCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitOp) GetParams() []int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//房间状态
|
|
||||||
//PACKET_FORTUNERABBIT_SCFORTUNERABBITROOMSTATE
|
|
||||||
type SCFortuneRabbitRoomState struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态
|
|
||||||
SubState int32 `protobuf:"varint,2,opt,name=SubState,proto3" json:"SubState,omitempty"` //房间当前子状态
|
|
||||||
Params []int32 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //状态参数
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomState) Reset() {
|
|
||||||
*x = SCFortuneRabbitRoomState{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunerabbit_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomState) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneRabbitRoomState) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomState) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunerabbit_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 SCFortuneRabbitRoomState.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneRabbitRoomState) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{4}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomState) GetState() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.State
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomState) GetSubState() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.SubState
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitRoomState) GetParams() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Params
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//PACKET_FORTUNERABBIT_SCFORTUNERABBITBILLED
|
|
||||||
type SCFortuneRabbitBilled struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
OpRetCode int32 `protobuf:"varint,1,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //0.spin成功 1.spin失败
|
|
||||||
GameEndStr string `protobuf:"bytes,2,opt,name=GameEndStr,proto3" json:"GameEndStr,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitBilled) Reset() {
|
|
||||||
*x = SCFortuneRabbitBilled{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_fortunerabbit_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitBilled) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SCFortuneRabbitBilled) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitBilled) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_fortunerabbit_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 SCFortuneRabbitBilled.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SCFortuneRabbitBilled) Descriptor() ([]byte, []int) {
|
|
||||||
return file_fortunerabbit_proto_rawDescGZIP(), []int{5}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitBilled) GetOpRetCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.OpRetCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCFortuneRabbitBilled) GetGameEndStr() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.GameEndStr
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
var File_fortunerabbit_proto protoreflect.FileDescriptor
|
|
||||||
|
|
||||||
var file_fortunerabbit_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x13, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x72, 0x61,
|
|
||||||
0x62, 0x62, 0x69, 0x74, 0x22, 0x81, 0x02, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65,
|
|
||||||
0x52, 0x61, 0x62, 0x62, 0x69, 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, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
||||||
0x03, 0x50, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61,
|
|
||||||
0x6d, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
||||||
0x43, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c,
|
|
||||||
0x69, 0x6e, 0x65, 0x18, 0x0a, 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, 0x0b, 0x20,
|
|
||||||
0x01, 0x28, 0x05, 0x52, 0x03, 0x56, 0x49, 0x50, 0x22, 0xed, 0x02, 0x0a, 0x17, 0x53, 0x43, 0x46,
|
|
||||||
0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 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, 0x1e, 0x0a, 0x0a,
|
|
||||||
0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
||||||
0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
|
||||||
0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 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, 0x04, 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, 0x05, 0x20, 0x03, 0x28, 0x05,
|
|
||||||
0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x4e, 0x75, 0x6d, 0x4f,
|
|
||||||
0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x4e, 0x75,
|
|
||||||
0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
|
|
||||||
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a,
|
|
||||||
0x0a, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x18, 0x08, 0x20, 0x03, 0x28, 0x03,
|
|
||||||
0x52, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x63,
|
|
||||||
0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x53,
|
|
||||||
0x63, 0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79,
|
|
||||||
0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6f, 0x72, 0x74, 0x75,
|
|
||||||
0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65,
|
|
||||||
0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
|
|
||||||
0x52, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79,
|
|
||||||
0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x50, 0x6c,
|
|
||||||
0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x43, 0x0a, 0x11, 0x43, 0x53, 0x46, 0x6f,
|
|
||||||
0x72, 0x74, 0x75, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 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, 0x61, 0x0a,
|
|
||||||
0x11, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 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, 0x1c, 0x0a, 0x09, 0x4f, 0x70,
|
|
||||||
0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x4f,
|
|
||||||
0x70, 0x52, 0x65, 0x74, 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,
|
|
||||||
0x22, 0x64, 0x0a, 0x18, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x52, 0x61, 0x62,
|
|
||||||
0x62, 0x69, 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, 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02,
|
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16,
|
|
||||||
0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06,
|
|
||||||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x55, 0x0a, 0x15, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74,
|
|
||||||
0x75, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12,
|
|
||||||
0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a,
|
|
||||||
0x0a, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x2a, 0xa3, 0x02,
|
|
||||||
0x0a, 0x10, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x50,
|
|
||||||
0x49, 0x44, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52,
|
|
||||||
0x54, 0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10,
|
|
||||||
0x00, 0x12, 0x31, 0x0a, 0x2c, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46,
|
|
||||||
0x4f, 0x10, 0xea, 0x2b, 0x12, 0x2b, 0x0a, 0x26, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46,
|
|
||||||
0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x5f, 0x43, 0x53, 0x46,
|
|
||||||
0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x4f, 0x50, 0x10, 0xeb,
|
|
||||||
0x2b, 0x12, 0x2b, 0x0a, 0x26, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54,
|
|
||||||
0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x4f, 0x50, 0x10, 0xec, 0x2b, 0x12, 0x32,
|
|
||||||
0x0a, 0x2d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
|
||||||
0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
|
||||||
0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10,
|
|
||||||
0xed, 0x2b, 0x12, 0x2f, 0x0a, 0x2a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52,
|
|
||||||
0x54, 0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52,
|
|
||||||
0x54, 0x55, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x42, 0x49, 0x54, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44,
|
|
||||||
0x10, 0xee, 0x2b, 0x42, 0x2d, 0x5a, 0x2b, 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, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62,
|
|
||||||
0x69, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
|
||||||
file_fortunerabbit_proto_rawDescOnce sync.Once
|
|
||||||
file_fortunerabbit_proto_rawDescData = file_fortunerabbit_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_fortunerabbit_proto_rawDescGZIP() []byte {
|
|
||||||
file_fortunerabbit_proto_rawDescOnce.Do(func() {
|
|
||||||
file_fortunerabbit_proto_rawDescData = protoimpl.X.CompressGZIP(file_fortunerabbit_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_fortunerabbit_proto_rawDescData
|
|
||||||
}
|
|
||||||
|
|
||||||
var file_fortunerabbit_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
||||||
var file_fortunerabbit_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
||||||
var file_fortunerabbit_proto_goTypes = []interface{}{
|
|
||||||
(FortuneRabbitPID)(0), // 0: fortunerabbit.FortuneRabbitPID
|
|
||||||
(*FortuneRabbitPlayerData)(nil), // 1: fortunerabbit.FortuneRabbitPlayerData
|
|
||||||
(*SCFortuneRabbitRoomInfo)(nil), // 2: fortunerabbit.SCFortuneRabbitRoomInfo
|
|
||||||
(*CSFortuneRabbitOp)(nil), // 3: fortunerabbit.CSFortuneRabbitOp
|
|
||||||
(*SCFortuneRabbitOp)(nil), // 4: fortunerabbit.SCFortuneRabbitOp
|
|
||||||
(*SCFortuneRabbitRoomState)(nil), // 5: fortunerabbit.SCFortuneRabbitRoomState
|
|
||||||
(*SCFortuneRabbitBilled)(nil), // 6: fortunerabbit.SCFortuneRabbitBilled
|
|
||||||
}
|
|
||||||
var file_fortunerabbit_proto_depIdxs = []int32{
|
|
||||||
1, // 0: fortunerabbit.SCFortuneRabbitRoomInfo.Player:type_name -> fortunerabbit.FortuneRabbitPlayerData
|
|
||||||
1, // [1:1] is the sub-list for method output_type
|
|
||||||
1, // [1:1] is the sub-list for method input_type
|
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
|
||||||
0, // [0:1] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_fortunerabbit_proto_init() }
|
|
||||||
func file_fortunerabbit_proto_init() {
|
|
||||||
if File_fortunerabbit_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_fortunerabbit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*FortuneRabbitPlayerData); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunerabbit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneRabbitRoomInfo); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunerabbit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*CSFortuneRabbitOp); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunerabbit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneRabbitOp); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunerabbit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneRabbitRoomState); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_fortunerabbit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SCFortuneRabbitBilled); 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_fortunerabbit_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 6,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_fortunerabbit_proto_goTypes,
|
|
||||||
DependencyIndexes: file_fortunerabbit_proto_depIdxs,
|
|
||||||
EnumInfos: file_fortunerabbit_proto_enumTypes,
|
|
||||||
MessageInfos: file_fortunerabbit_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_fortunerabbit_proto = out.File
|
|
||||||
file_fortunerabbit_proto_rawDesc = nil
|
|
||||||
file_fortunerabbit_proto_goTypes = nil
|
|
||||||
file_fortunerabbit_proto_depIdxs = nil
|
|
||||||
}
|
|
Loading…
Reference in New Issue