update
This commit is contained in:
parent
18d2f3db67
commit
fea92e278e
Binary file not shown.
BIN
data/DB_Task.dat
BIN
data/DB_Task.dat
Binary file not shown.
|
@ -173,5 +173,17 @@
|
|||
|
||||
- 5610~5619
|
||||
|
||||
### fortuneox.prot
|
||||
|
||||
- 5620~5629
|
||||
|
||||
### fortunetiger.prot
|
||||
|
||||
- 5630~5639
|
||||
|
||||
### fortunemouse.prot
|
||||
|
||||
- 5640~5649
|
||||
|
||||
### game.proto(玩家离开)
|
||||
- 8000~8099
|
|
@ -0,0 +1,802 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1-devel
|
||||
// protoc v3.19.4
|
||||
// source: fortunemouse.proto
|
||||
|
||||
package fortunemouse
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
//fortunemouse
|
||||
//龙
|
||||
type FortuneMousePID int32
|
||||
|
||||
const (
|
||||
FortuneMousePID_PACKET_FORTUNEMOUSE_ZERO FortuneMousePID = 0 // 弃用消息号
|
||||
FortuneMousePID_PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO FortuneMousePID = 5640 //房间信息
|
||||
FortuneMousePID_PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP FortuneMousePID = 5641
|
||||
FortuneMousePID_PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP FortuneMousePID = 5642
|
||||
FortuneMousePID_PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE FortuneMousePID = 5643
|
||||
FortuneMousePID_PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED FortuneMousePID = 5644
|
||||
)
|
||||
|
||||
// Enum value maps for FortuneMousePID.
|
||||
var (
|
||||
FortuneMousePID_name = map[int32]string{
|
||||
0: "PACKET_FORTUNEMOUSE_ZERO",
|
||||
5640: "PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO",
|
||||
5641: "PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP",
|
||||
5642: "PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP",
|
||||
5643: "PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE",
|
||||
5644: "PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED",
|
||||
}
|
||||
FortuneMousePID_value = map[string]int32{
|
||||
"PACKET_FORTUNEMOUSE_ZERO": 0,
|
||||
"PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO": 5640,
|
||||
"PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP": 5641,
|
||||
"PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP": 5642,
|
||||
"PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE": 5643,
|
||||
"PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED": 5644,
|
||||
}
|
||||
)
|
||||
|
||||
func (x FortuneMousePID) Enum() *FortuneMousePID {
|
||||
p := new(FortuneMousePID)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x FortuneMousePID) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (FortuneMousePID) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_fortunemouse_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (FortuneMousePID) Type() protoreflect.EnumType {
|
||||
return &file_fortunemouse_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x FortuneMousePID) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FortuneMousePID.Descriptor instead.
|
||||
func (FortuneMousePID) EnumDescriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type FortuneMousePlayerData 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 *FortuneMousePlayerData) Reset() {
|
||||
*x = FortuneMousePlayerData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortunemouse_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FortuneMousePlayerData) ProtoMessage() {}
|
||||
|
||||
func (x *FortuneMousePlayerData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortunemouse_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 FortuneMousePlayerData.ProtoReflect.Descriptor instead.
|
||||
func (*FortuneMousePlayerData) Descriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetSnId() int32 {
|
||||
if x != nil {
|
||||
return x.SnId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetHead() int32 {
|
||||
if x != nil {
|
||||
return x.Head
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetSex() int32 {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetCoin() int64 {
|
||||
if x != nil {
|
||||
return x.Coin
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetPos() int32 {
|
||||
if x != nil {
|
||||
return x.Pos
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetFlag() int32 {
|
||||
if x != nil {
|
||||
return x.Flag
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetParams() []string {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetCity() string {
|
||||
if x != nil {
|
||||
return x.City
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetHeadOutLine() int32 {
|
||||
if x != nil {
|
||||
return x.HeadOutLine
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneMousePlayerData) GetVIP() int32 {
|
||||
if x != nil {
|
||||
return x.VIP
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
//房间信息
|
||||
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO
|
||||
type SCFortuneMouseRoomInfo 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 *FortuneMousePlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息
|
||||
PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) Reset() {
|
||||
*x = SCFortuneMouseRoomInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortunemouse_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneMouseRoomInfo) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortunemouse_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 SCFortuneMouseRoomInfo.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneMouseRoomInfo) Descriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetRoomId() int32 {
|
||||
if x != nil {
|
||||
return x.RoomId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetGameFreeId() int32 {
|
||||
if x != nil {
|
||||
return x.GameFreeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetGameId() int32 {
|
||||
if x != nil {
|
||||
return x.GameId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetRoomMode() int32 {
|
||||
if x != nil {
|
||||
return x.RoomMode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetParams() []int32 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetNumOfGames() int32 {
|
||||
if x != nil {
|
||||
return x.NumOfGames
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetState() int32 {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetParamsEx() []int64 {
|
||||
if x != nil {
|
||||
return x.ParamsEx
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetSceneType() int32 {
|
||||
if x != nil {
|
||||
return x.SceneType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetPlayer() *FortuneMousePlayerData {
|
||||
if x != nil {
|
||||
return x.Player
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomInfo) GetPlayerInfo() string {
|
||||
if x != nil {
|
||||
return x.PlayerInfo
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
//玩家操作
|
||||
//PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP
|
||||
type CSFortuneMouseOp 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 *CSFortuneMouseOp) Reset() {
|
||||
*x = CSFortuneMouseOp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortunemouse_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CSFortuneMouseOp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CSFortuneMouseOp) ProtoMessage() {}
|
||||
|
||||
func (x *CSFortuneMouseOp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortunemouse_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 CSFortuneMouseOp.ProtoReflect.Descriptor instead.
|
||||
func (*CSFortuneMouseOp) Descriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *CSFortuneMouseOp) GetOpCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CSFortuneMouseOp) GetParams() []int64 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//玩家操作返回
|
||||
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP
|
||||
type SCFortuneMouseOp 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 *SCFortuneMouseOp) Reset() {
|
||||
*x = SCFortuneMouseOp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortunemouse_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseOp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneMouseOp) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneMouseOp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortunemouse_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 SCFortuneMouseOp.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneMouseOp) Descriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseOp) GetOpCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseOp) GetOpRetCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpRetCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseOp) GetParams() []int64 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//房间状态
|
||||
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE
|
||||
type SCFortuneMouseRoomState 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 *SCFortuneMouseRoomState) Reset() {
|
||||
*x = SCFortuneMouseRoomState{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortunemouse_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneMouseRoomState) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneMouseRoomState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortunemouse_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 SCFortuneMouseRoomState.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneMouseRoomState) Descriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomState) GetState() int32 {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomState) GetSubState() int32 {
|
||||
if x != nil {
|
||||
return x.SubState
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseRoomState) GetParams() []int32 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED
|
||||
type SCFortuneMouseBilled 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 *SCFortuneMouseBilled) Reset() {
|
||||
*x = SCFortuneMouseBilled{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortunemouse_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseBilled) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneMouseBilled) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneMouseBilled) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortunemouse_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 SCFortuneMouseBilled.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneMouseBilled) Descriptor() ([]byte, []int) {
|
||||
return file_fortunemouse_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseBilled) GetOpRetCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpRetCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneMouseBilled) GetGameEndStr() string {
|
||||
if x != nil {
|
||||
return x.GameEndStr
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_fortunemouse_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_fortunemouse_proto_rawDesc = []byte{
|
||||
0x0a, 0x12, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x6d, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x6d, 0x6f, 0x75,
|
||||
0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x16, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4d, 0x6f,
|
||||
0x75, 0x73, 0x65, 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, 0xea, 0x02, 0x0a, 0x16, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74,
|
||||
0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x75, 0x73, 0x65, 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, 0x3c, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x6d, 0x6f,
|
||||
0x75, 0x73, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x75, 0x73, 0x65,
|
||||
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, 0x42, 0x0a, 0x10, 0x43, 0x53, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4d,
|
||||
0x6f, 0x75, 0x73, 0x65, 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, 0x60, 0x0a, 0x10, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74,
|
||||
0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x75, 0x73, 0x65, 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, 0x63, 0x0a, 0x17, 0x53, 0x43, 0x46, 0x6f,
|
||||
0x72, 0x74, 0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x75, 0x73, 0x65, 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, 0x54, 0x0a,
|
||||
0x14, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x75, 0x73, 0x65, 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, 0x97, 0x02, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4d,
|
||||
0x6f, 0x75, 0x73, 0x65, 0x50, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
||||
0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x5f, 0x5a,
|
||||
0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x2f, 0x0a, 0x2a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
||||
0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x46,
|
||||
0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x52, 0x4f, 0x4f, 0x4d, 0x49,
|
||||
0x4e, 0x46, 0x4f, 0x10, 0x88, 0x2c, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||||
0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x5f, 0x43, 0x53,
|
||||
0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x4f, 0x50, 0x10, 0x89,
|
||||
0x2c, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
||||
0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55,
|
||||
0x4e, 0x45, 0x4d, 0x4f, 0x55, 0x53, 0x45, 0x4f, 0x50, 0x10, 0x8a, 0x2c, 0x12, 0x30, 0x0a, 0x2b,
|
||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f,
|
||||
0x55, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d, 0x4f, 0x55,
|
||||
0x53, 0x45, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x8b, 0x2c, 0x12, 0x2d,
|
||||
0x0a, 0x28, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
||||
0x4d, 0x4f, 0x55, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4d,
|
||||
0x4f, 0x55, 0x53, 0x45, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x8c, 0x2c, 0x42, 0x2c, 0x5a,
|
||||
0x2a, 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, 0x6d, 0x6f, 0x75, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_fortunemouse_proto_rawDescOnce sync.Once
|
||||
file_fortunemouse_proto_rawDescData = file_fortunemouse_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_fortunemouse_proto_rawDescGZIP() []byte {
|
||||
file_fortunemouse_proto_rawDescOnce.Do(func() {
|
||||
file_fortunemouse_proto_rawDescData = protoimpl.X.CompressGZIP(file_fortunemouse_proto_rawDescData)
|
||||
})
|
||||
return file_fortunemouse_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_fortunemouse_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_fortunemouse_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_fortunemouse_proto_goTypes = []interface{}{
|
||||
(FortuneMousePID)(0), // 0: fortunemouse.FortuneMousePID
|
||||
(*FortuneMousePlayerData)(nil), // 1: fortunemouse.FortuneMousePlayerData
|
||||
(*SCFortuneMouseRoomInfo)(nil), // 2: fortunemouse.SCFortuneMouseRoomInfo
|
||||
(*CSFortuneMouseOp)(nil), // 3: fortunemouse.CSFortuneMouseOp
|
||||
(*SCFortuneMouseOp)(nil), // 4: fortunemouse.SCFortuneMouseOp
|
||||
(*SCFortuneMouseRoomState)(nil), // 5: fortunemouse.SCFortuneMouseRoomState
|
||||
(*SCFortuneMouseBilled)(nil), // 6: fortunemouse.SCFortuneMouseBilled
|
||||
}
|
||||
var file_fortunemouse_proto_depIdxs = []int32{
|
||||
1, // 0: fortunemouse.SCFortuneMouseRoomInfo.Player:type_name -> fortunemouse.FortuneMousePlayerData
|
||||
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_fortunemouse_proto_init() }
|
||||
func file_fortunemouse_proto_init() {
|
||||
if File_fortunemouse_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_fortunemouse_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FortuneMousePlayerData); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortunemouse_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneMouseRoomInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortunemouse_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CSFortuneMouseOp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortunemouse_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneMouseOp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortunemouse_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneMouseRoomState); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortunemouse_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneMouseBilled); 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_fortunemouse_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_fortunemouse_proto_goTypes,
|
||||
DependencyIndexes: file_fortunemouse_proto_depIdxs,
|
||||
EnumInfos: file_fortunemouse_proto_enumTypes,
|
||||
MessageInfos: file_fortunemouse_proto_msgTypes,
|
||||
}.Build()
|
||||
File_fortunemouse_proto = out.File
|
||||
file_fortunemouse_proto_rawDesc = nil
|
||||
file_fortunemouse_proto_goTypes = nil
|
||||
file_fortunemouse_proto_depIdxs = nil
|
||||
}
|
|
@ -0,0 +1,797 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1-devel
|
||||
// protoc v3.19.4
|
||||
// source: fortuneox.proto
|
||||
|
||||
package fortuneox
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
//fortuneox
|
||||
//龙
|
||||
type FortuneOxPID int32
|
||||
|
||||
const (
|
||||
FortuneOxPID_PACKET_FORTUNEOX_ZERO FortuneOxPID = 0 // 弃用消息号
|
||||
FortuneOxPID_PACKET_FORTUNEOX_SCFORTUNEOXROOMINFO FortuneOxPID = 5620 //房间信息
|
||||
FortuneOxPID_PACKET_FORTUNEOX_CSFORTUNEOXOP FortuneOxPID = 5621
|
||||
FortuneOxPID_PACKET_FORTUNEOX_SCFORTUNEOXOP FortuneOxPID = 5622
|
||||
FortuneOxPID_PACKET_FORTUNEOX_SCFORTUNEOXROOMSTATE FortuneOxPID = 5623
|
||||
FortuneOxPID_PACKET_FORTUNEOX_SCFORTUNEOXBILLED FortuneOxPID = 5624
|
||||
)
|
||||
|
||||
// Enum value maps for FortuneOxPID.
|
||||
var (
|
||||
FortuneOxPID_name = map[int32]string{
|
||||
0: "PACKET_FORTUNEOX_ZERO",
|
||||
5620: "PACKET_FORTUNEOX_SCFORTUNEOXROOMINFO",
|
||||
5621: "PACKET_FORTUNEOX_CSFORTUNEOXOP",
|
||||
5622: "PACKET_FORTUNEOX_SCFORTUNEOXOP",
|
||||
5623: "PACKET_FORTUNEOX_SCFORTUNEOXROOMSTATE",
|
||||
5624: "PACKET_FORTUNEOX_SCFORTUNEOXBILLED",
|
||||
}
|
||||
FortuneOxPID_value = map[string]int32{
|
||||
"PACKET_FORTUNEOX_ZERO": 0,
|
||||
"PACKET_FORTUNEOX_SCFORTUNEOXROOMINFO": 5620,
|
||||
"PACKET_FORTUNEOX_CSFORTUNEOXOP": 5621,
|
||||
"PACKET_FORTUNEOX_SCFORTUNEOXOP": 5622,
|
||||
"PACKET_FORTUNEOX_SCFORTUNEOXROOMSTATE": 5623,
|
||||
"PACKET_FORTUNEOX_SCFORTUNEOXBILLED": 5624,
|
||||
}
|
||||
)
|
||||
|
||||
func (x FortuneOxPID) Enum() *FortuneOxPID {
|
||||
p := new(FortuneOxPID)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x FortuneOxPID) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (FortuneOxPID) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_fortuneox_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (FortuneOxPID) Type() protoreflect.EnumType {
|
||||
return &file_fortuneox_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x FortuneOxPID) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FortuneOxPID.Descriptor instead.
|
||||
func (FortuneOxPID) EnumDescriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type FortuneOxPlayerData 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 *FortuneOxPlayerData) Reset() {
|
||||
*x = FortuneOxPlayerData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortuneox_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FortuneOxPlayerData) ProtoMessage() {}
|
||||
|
||||
func (x *FortuneOxPlayerData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortuneox_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 FortuneOxPlayerData.ProtoReflect.Descriptor instead.
|
||||
func (*FortuneOxPlayerData) Descriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetSnId() int32 {
|
||||
if x != nil {
|
||||
return x.SnId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetHead() int32 {
|
||||
if x != nil {
|
||||
return x.Head
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetSex() int32 {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetCoin() int64 {
|
||||
if x != nil {
|
||||
return x.Coin
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetPos() int32 {
|
||||
if x != nil {
|
||||
return x.Pos
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetFlag() int32 {
|
||||
if x != nil {
|
||||
return x.Flag
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetParams() []string {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetCity() string {
|
||||
if x != nil {
|
||||
return x.City
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetHeadOutLine() int32 {
|
||||
if x != nil {
|
||||
return x.HeadOutLine
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FortuneOxPlayerData) GetVIP() int32 {
|
||||
if x != nil {
|
||||
return x.VIP
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
//房间信息
|
||||
//PACKET_FORTUNEOX_SCFORTUNEOXROOMINFO
|
||||
type SCFortuneOxRoomInfo 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 *FortuneOxPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息
|
||||
PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) Reset() {
|
||||
*x = SCFortuneOxRoomInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortuneox_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneOxRoomInfo) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortuneox_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 SCFortuneOxRoomInfo.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneOxRoomInfo) Descriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetRoomId() int32 {
|
||||
if x != nil {
|
||||
return x.RoomId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetGameFreeId() int32 {
|
||||
if x != nil {
|
||||
return x.GameFreeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetGameId() int32 {
|
||||
if x != nil {
|
||||
return x.GameId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetRoomMode() int32 {
|
||||
if x != nil {
|
||||
return x.RoomMode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetParams() []int32 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetNumOfGames() int32 {
|
||||
if x != nil {
|
||||
return x.NumOfGames
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetState() int32 {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetParamsEx() []int64 {
|
||||
if x != nil {
|
||||
return x.ParamsEx
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetSceneType() int32 {
|
||||
if x != nil {
|
||||
return x.SceneType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetPlayer() *FortuneOxPlayerData {
|
||||
if x != nil {
|
||||
return x.Player
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomInfo) GetPlayerInfo() string {
|
||||
if x != nil {
|
||||
return x.PlayerInfo
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
//玩家操作
|
||||
//PACKET_FORTUNEOX_CSFORTUNEOXOP
|
||||
type CSFortuneOxOp 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 *CSFortuneOxOp) Reset() {
|
||||
*x = CSFortuneOxOp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortuneox_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CSFortuneOxOp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CSFortuneOxOp) ProtoMessage() {}
|
||||
|
||||
func (x *CSFortuneOxOp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortuneox_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 CSFortuneOxOp.ProtoReflect.Descriptor instead.
|
||||
func (*CSFortuneOxOp) Descriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *CSFortuneOxOp) GetOpCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CSFortuneOxOp) GetParams() []int64 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//玩家操作返回
|
||||
//PACKET_FORTUNEOX_SCFORTUNEOXOP
|
||||
type SCFortuneOxOp 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 *SCFortuneOxOp) Reset() {
|
||||
*x = SCFortuneOxOp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortuneox_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxOp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneOxOp) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneOxOp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortuneox_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 SCFortuneOxOp.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneOxOp) Descriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxOp) GetOpCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxOp) GetOpRetCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpRetCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxOp) GetParams() []int64 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//房间状态
|
||||
//PACKET_FORTUNEOX_SCFORTUNEOXROOMSTATE
|
||||
type SCFortuneOxRoomState 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 *SCFortuneOxRoomState) Reset() {
|
||||
*x = SCFortuneOxRoomState{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortuneox_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneOxRoomState) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneOxRoomState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortuneox_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 SCFortuneOxRoomState.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneOxRoomState) Descriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomState) GetState() int32 {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomState) GetSubState() int32 {
|
||||
if x != nil {
|
||||
return x.SubState
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxRoomState) GetParams() []int32 {
|
||||
if x != nil {
|
||||
return x.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//PACKET_FORTUNEOX_SCFORTUNEOXBILLED
|
||||
type SCFortuneOxBilled 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 *SCFortuneOxBilled) Reset() {
|
||||
*x = SCFortuneOxBilled{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_fortuneox_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxBilled) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCFortuneOxBilled) ProtoMessage() {}
|
||||
|
||||
func (x *SCFortuneOxBilled) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_fortuneox_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 SCFortuneOxBilled.ProtoReflect.Descriptor instead.
|
||||
func (*SCFortuneOxBilled) Descriptor() ([]byte, []int) {
|
||||
return file_fortuneox_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxBilled) GetOpRetCode() int32 {
|
||||
if x != nil {
|
||||
return x.OpRetCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCFortuneOxBilled) GetGameEndStr() string {
|
||||
if x != nil {
|
||||
return x.GameEndStr
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_fortuneox_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_fortuneox_proto_rawDesc = []byte{
|
||||
0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x6f, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x09, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x6f, 0x78, 0x22, 0xfd, 0x01, 0x0a,
|
||||
0x13, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f, 0x78, 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, 0xe1, 0x02, 0x0a,
|
||||
0x13, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f, 0x78, 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, 0x36, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79,
|
||||
0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6f, 0x72, 0x74, 0x75,
|
||||
0x6e, 0x65, 0x6f, 0x78, 0x2e, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f, 0x78, 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, 0x3f, 0x0a, 0x0d, 0x43, 0x53, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f, 0x78, 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, 0x5d, 0x0a, 0x0d, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f, 0x78,
|
||||
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, 0x60, 0x0a, 0x14, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f, 0x78, 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, 0x51, 0x0a, 0x11, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x4f,
|
||||
0x78, 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, 0xf3, 0x01, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e,
|
||||
0x65, 0x4f, 0x78, 0x50, 0x49, 0x44, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||||
0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4f, 0x58, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10,
|
||||
0x00, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
||||
0x55, 0x4e, 0x45, 0x4f, 0x58, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4f,
|
||||
0x58, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xf4, 0x2b, 0x12, 0x23, 0x0a, 0x1e,
|
||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4f, 0x58,
|
||||
0x5f, 0x43, 0x53, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4f, 0x58, 0x4f, 0x50, 0x10, 0xf5,
|
||||
0x2b, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54,
|
||||
0x55, 0x4e, 0x45, 0x4f, 0x58, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4f,
|
||||
0x58, 0x4f, 0x50, 0x10, 0xf6, 0x2b, 0x12, 0x2a, 0x0a, 0x25, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||||
0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x4f, 0x58, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52,
|
||||
0x54, 0x55, 0x4e, 0x45, 0x4f, 0x58, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10,
|
||||
0xf7, 0x2b, 0x12, 0x27, 0x0a, 0x22, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52,
|
||||
0x54, 0x55, 0x4e, 0x45, 0x4f, 0x58, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
||||
0x4f, 0x58, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0xf8, 0x2b, 0x42, 0x29, 0x5a, 0x27, 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, 0x6f, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_fortuneox_proto_rawDescOnce sync.Once
|
||||
file_fortuneox_proto_rawDescData = file_fortuneox_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_fortuneox_proto_rawDescGZIP() []byte {
|
||||
file_fortuneox_proto_rawDescOnce.Do(func() {
|
||||
file_fortuneox_proto_rawDescData = protoimpl.X.CompressGZIP(file_fortuneox_proto_rawDescData)
|
||||
})
|
||||
return file_fortuneox_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_fortuneox_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_fortuneox_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_fortuneox_proto_goTypes = []interface{}{
|
||||
(FortuneOxPID)(0), // 0: fortuneox.FortuneOxPID
|
||||
(*FortuneOxPlayerData)(nil), // 1: fortuneox.FortuneOxPlayerData
|
||||
(*SCFortuneOxRoomInfo)(nil), // 2: fortuneox.SCFortuneOxRoomInfo
|
||||
(*CSFortuneOxOp)(nil), // 3: fortuneox.CSFortuneOxOp
|
||||
(*SCFortuneOxOp)(nil), // 4: fortuneox.SCFortuneOxOp
|
||||
(*SCFortuneOxRoomState)(nil), // 5: fortuneox.SCFortuneOxRoomState
|
||||
(*SCFortuneOxBilled)(nil), // 6: fortuneox.SCFortuneOxBilled
|
||||
}
|
||||
var file_fortuneox_proto_depIdxs = []int32{
|
||||
1, // 0: fortuneox.SCFortuneOxRoomInfo.Player:type_name -> fortuneox.FortuneOxPlayerData
|
||||
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_fortuneox_proto_init() }
|
||||
func file_fortuneox_proto_init() {
|
||||
if File_fortuneox_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_fortuneox_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FortuneOxPlayerData); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortuneox_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneOxRoomInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortuneox_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CSFortuneOxOp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortuneox_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneOxOp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortuneox_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneOxRoomState); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_fortuneox_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCFortuneOxBilled); 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_fortuneox_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_fortuneox_proto_goTypes,
|
||||
DependencyIndexes: file_fortuneox_proto_depIdxs,
|
||||
EnumInfos: file_fortuneox_proto_enumTypes,
|
||||
MessageInfos: file_fortuneox_proto_msgTypes,
|
||||
}.Build()
|
||||
File_fortuneox_proto = out.File
|
||||
file_fortuneox_proto_rawDesc = nil
|
||||
file_fortuneox_proto_goTypes = nil
|
||||
file_fortuneox_proto_depIdxs = nil
|
||||
}
|
|
@ -0,0 +1,802 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1-devel
|
||||
// protoc v3.19.4
|
||||
// source: fortunetiger.proto
|
||||
|
||||
package fortunetiger
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
//fortunetiger
|
||||
//龙
|
||||
type FortuneTigerPID int32
|
||||
|
||||
const (
|
||||
FortuneTigerPID_PACKET_FORTUNETIGER_ZERO FortuneTigerPID = 0 // 弃用消息号
|
||||
FortuneTigerPID_PACKET_FORTUNETIGER_SCFORTUNETIGERROOMINFO FortuneTigerPID = 5630 //房间信息
|
||||
FortuneTigerPID_PACKET_FORTUNETIGER_CSFORTUNETIGEROP FortuneTigerPID = 5631
|
||||
FortuneTigerPID_PACKET_FORTUNETIGER_SCFORTUNETIGEROP FortuneTigerPID = 5632
|
||||
FortuneTigerPID_PACKET_FORTUNETIGER_SCFORTUNETIGERROOMSTATE FortuneTigerPID = 5633
|
||||
FortuneTigerPID_PACKET_FORTUNETIGER_SCFORTUNETIGERBILLED FortuneTigerPID = 5634
|
||||
)
|
||||
|
||||
// Enum value maps for FortuneTigerPID.
|
||||
var (
|
||||
FortuneTigerPID_name = map[int32]string{
|
||||
0: "PACKET_FORTUNETIGER_ZERO",
|
||||
5630: "PACKET_FORTUNETIGER_SCFORTUNETIGERROOMINFO",
|
||||
5631: "PACKET_FORTUNETIGER_CSFORTUNETIGEROP",
|
||||
5632: "PACKET_FORTUNETIGER_SCFORTUNETIGEROP",
|
||||
5633: "PACKET_FORTUNETIGER_SCFORTUNETIGERROOMSTATE",
|
||||
5634: "PACKET_FORTUNETIGER_SCFORTUNETIGERBILLED",
|
||||
}
|
||||
FortuneTigerPID_value = map[string]int32{
|
||||
"PACKET_FORTUNETIGER_ZERO": 0,
|
||||
"PACKET_FORTUNETIGER_SCFORTUNETIGERROOMINFO": 5630,
|
||||
"PACKET_FORTUNETIGER_CSFORTUNETIGEROP": 5631,
|
||||
"PACKET_FORTUNETIGER_SCFORTUNETIGEROP": 5632,
|
||||
"PACKET_FORTUNETIGER_SCFORTUNETIGERROOMSTATE": 5633,
|
||||
"PACKET_FORTUNETIGER_SCFORTUNETIGERBILLED": 5634,
|
||||
}
|
||||
)
|
||||
|
||||
func (x FortuneTigerPID) Enum() *FortuneTigerPID {
|
||||
p := new(FortuneTigerPID)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x FortuneTigerPID) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (FortuneTigerPID) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_fortunetiger_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (FortuneTigerPID) Type() protoreflect.EnumType {
|
||||
return &file_fortunetiger_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x FortuneTigerPID) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FortuneTigerPID.Descriptor instead.
|
||||
func (FortuneTigerPID) EnumDescriptor() ([]byte, []int) {
|
||||
return file_fortunetiger_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_fortunetiger_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_fortunetiger_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_fortunetiger_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_FORTUNETIGER_SCFORTUNETIGERROOMINFO
|
||||
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_fortunetiger_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_fortunetiger_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_fortunetiger_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_FORTUNETIGER_CSFORTUNETIGEROP
|
||||
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_fortunetiger_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_fortunetiger_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_fortunetiger_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_FORTUNETIGER_SCFORTUNETIGEROP
|
||||
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_fortunetiger_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_fortunetiger_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_fortunetiger_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_FORTUNETIGER_SCFORTUNETIGERROOMSTATE
|
||||
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_fortunetiger_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_fortunetiger_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_fortunetiger_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_FORTUNETIGER_SCFORTUNETIGERBILLED
|
||||
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_fortunetiger_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_fortunetiger_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_fortunetiger_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_fortunetiger_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_fortunetiger_proto_rawDesc = []byte{
|
||||
0x0a, 0x12, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67,
|
||||
0x65, 0x72, 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, 0xec, 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, 0x3d, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
||||
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65,
|
||||
0x74, 0x69, 0x67, 0x65, 0x72, 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, 0x97, 0x02, 0x0a, 0x0f, 0x46,
|
||||
0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x50, 0x49, 0x44, 0x12, 0x1c,
|
||||
0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45,
|
||||
0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x2f, 0x0a, 0x2a,
|
||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49,
|
||||
0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47,
|
||||
0x45, 0x52, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xfe, 0x2b, 0x12, 0x29, 0x0a,
|
||||
0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54,
|
||||
0x49, 0x47, 0x45, 0x52, 0x5f, 0x43, 0x53, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49,
|
||||
0x47, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xff, 0x2b, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b,
|
||||
0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f,
|
||||
0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x4f, 0x50,
|
||||
0x10, 0x80, 0x2c, 0x12, 0x30, 0x0a, 0x2b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f,
|
||||
0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52,
|
||||
0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41,
|
||||
0x54, 0x45, 0x10, 0x81, 0x2c, 0x12, 0x2d, 0x0a, 0x28, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
||||
0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46,
|
||||
0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x42, 0x49, 0x4c, 0x4c, 0x45,
|
||||
0x44, 0x10, 0x82, 0x2c, 0x42, 0x2c, 0x5a, 0x2a, 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, 0x74, 0x69, 0x67,
|
||||
0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_fortunetiger_proto_rawDescOnce sync.Once
|
||||
file_fortunetiger_proto_rawDescData = file_fortunetiger_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_fortunetiger_proto_rawDescGZIP() []byte {
|
||||
file_fortunetiger_proto_rawDescOnce.Do(func() {
|
||||
file_fortunetiger_proto_rawDescData = protoimpl.X.CompressGZIP(file_fortunetiger_proto_rawDescData)
|
||||
})
|
||||
return file_fortunetiger_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_fortunetiger_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_fortunetiger_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_fortunetiger_proto_goTypes = []interface{}{
|
||||
(FortuneTigerPID)(0), // 0: fortunetiger.FortuneTigerPID
|
||||
(*FortuneDragonPlayerData)(nil), // 1: fortunetiger.FortuneDragonPlayerData
|
||||
(*SCFortuneDragonRoomInfo)(nil), // 2: fortunetiger.SCFortuneDragonRoomInfo
|
||||
(*CSFortuneDragonOp)(nil), // 3: fortunetiger.CSFortuneDragonOp
|
||||
(*SCFortuneDragonOp)(nil), // 4: fortunetiger.SCFortuneDragonOp
|
||||
(*SCFortuneDragonRoomState)(nil), // 5: fortunetiger.SCFortuneDragonRoomState
|
||||
(*SCFortuneDragonBilled)(nil), // 6: fortunetiger.SCFortuneDragonBilled
|
||||
}
|
||||
var file_fortunetiger_proto_depIdxs = []int32{
|
||||
1, // 0: fortunetiger.SCFortuneDragonRoomInfo.Player:type_name -> fortunetiger.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_fortunetiger_proto_init() }
|
||||
func file_fortunetiger_proto_init() {
|
||||
if File_fortunetiger_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_fortunetiger_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_fortunetiger_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_fortunetiger_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_fortunetiger_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_fortunetiger_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_fortunetiger_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_fortunetiger_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_fortunetiger_proto_goTypes,
|
||||
DependencyIndexes: file_fortunetiger_proto_depIdxs,
|
||||
EnumInfos: file_fortunetiger_proto_enumTypes,
|
||||
MessageInfos: file_fortunetiger_proto_msgTypes,
|
||||
}.Build()
|
||||
File_fortunetiger_proto = out.File
|
||||
file_fortunetiger_proto_rawDesc = nil
|
||||
file_fortunetiger_proto_goTypes = nil
|
||||
file_fortunetiger_proto_depIdxs = nil
|
||||
}
|
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||
package server;
|
||||
option go_package = "mongo.games.com/game/protocol/server";
|
||||
|
||||
import "pbdata.proto";
|
||||
import "protocol/server/pbdata.proto";
|
||||
|
||||
enum SSPacketID {
|
||||
PACKET_SERVER_ZERO = 0; // 弃用消息号
|
||||
|
|
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||
package webapi;
|
||||
option go_package = "mongo.games.com/game/protocol/webapi";
|
||||
|
||||
import "common.proto";
|
||||
import "protocol/webapi/common.proto";
|
||||
|
||||
/*
|
||||
* =====================================================
|
||||
|
|
Loading…
Reference in New Issue