800 lines
28 KiB
Go
800 lines
28 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1-devel
|
|
// protoc v3.19.4
|
|
// source: protocol/cashmania/cashmania.proto
|
|
|
|
package cashmania
|
|
|
|
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)
|
|
)
|
|
|
|
//cashmania
|
|
//龙
|
|
type CashManiaPID int32
|
|
|
|
const (
|
|
CashManiaPID_PACKET_CASHMANIA_ZERO CashManiaPID = 0 // 弃用消息号
|
|
CashManiaPID_PACKET_CASHMANIA_SCCASHMANIAROOMINFO CashManiaPID = 5650 //房间信息
|
|
CashManiaPID_PACKET_CASHMANIA_CSCASHMANIAOP CashManiaPID = 5651
|
|
CashManiaPID_PACKET_CASHMANIA_SCCASHMANIAOP CashManiaPID = 5652
|
|
CashManiaPID_PACKET_CASHMANIA_SCCASHMANIAROOMSTATE CashManiaPID = 5653
|
|
CashManiaPID_PACKET_CASHMANIA_SCCASHMANIABILLED CashManiaPID = 5654
|
|
)
|
|
|
|
// Enum value maps for CashManiaPID.
|
|
var (
|
|
CashManiaPID_name = map[int32]string{
|
|
0: "PACKET_CASHMANIA_ZERO",
|
|
5650: "PACKET_CASHMANIA_SCCASHMANIAROOMINFO",
|
|
5651: "PACKET_CASHMANIA_CSCASHMANIAOP",
|
|
5652: "PACKET_CASHMANIA_SCCASHMANIAOP",
|
|
5653: "PACKET_CASHMANIA_SCCASHMANIAROOMSTATE",
|
|
5654: "PACKET_CASHMANIA_SCCASHMANIABILLED",
|
|
}
|
|
CashManiaPID_value = map[string]int32{
|
|
"PACKET_CASHMANIA_ZERO": 0,
|
|
"PACKET_CASHMANIA_SCCASHMANIAROOMINFO": 5650,
|
|
"PACKET_CASHMANIA_CSCASHMANIAOP": 5651,
|
|
"PACKET_CASHMANIA_SCCASHMANIAOP": 5652,
|
|
"PACKET_CASHMANIA_SCCASHMANIAROOMSTATE": 5653,
|
|
"PACKET_CASHMANIA_SCCASHMANIABILLED": 5654,
|
|
}
|
|
)
|
|
|
|
func (x CashManiaPID) Enum() *CashManiaPID {
|
|
p := new(CashManiaPID)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CashManiaPID) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CashManiaPID) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protocol_cashmania_cashmania_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (CashManiaPID) Type() protoreflect.EnumType {
|
|
return &file_protocol_cashmania_cashmania_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x CashManiaPID) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CashManiaPID.Descriptor instead.
|
|
func (CashManiaPID) EnumDescriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type CashManiaPlayerData 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 *CashManiaPlayerData) Reset() {
|
|
*x = CashManiaPlayerData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_cashmania_cashmania_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CashManiaPlayerData) ProtoMessage() {}
|
|
|
|
func (x *CashManiaPlayerData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_cashmania_cashmania_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 CashManiaPlayerData.ProtoReflect.Descriptor instead.
|
|
func (*CashManiaPlayerData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetSnId() int32 {
|
|
if x != nil {
|
|
return x.SnId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetHead() int32 {
|
|
if x != nil {
|
|
return x.Head
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetSex() int32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetCoin() int64 {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetPos() int32 {
|
|
if x != nil {
|
|
return x.Pos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetFlag() int32 {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetParams() []string {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetHeadOutLine() int32 {
|
|
if x != nil {
|
|
return x.HeadOutLine
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CashManiaPlayerData) GetVIP() int32 {
|
|
if x != nil {
|
|
return x.VIP
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//房间信息
|
|
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO
|
|
type SCCashManiaRoomInfo 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 *CashManiaPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息
|
|
PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"`
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) Reset() {
|
|
*x = SCCashManiaRoomInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_cashmania_cashmania_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCCashManiaRoomInfo) ProtoMessage() {}
|
|
|
|
func (x *SCCashManiaRoomInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_cashmania_cashmania_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 SCCashManiaRoomInfo.ProtoReflect.Descriptor instead.
|
|
func (*SCCashManiaRoomInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetRoomId() int32 {
|
|
if x != nil {
|
|
return x.RoomId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetGameFreeId() int32 {
|
|
if x != nil {
|
|
return x.GameFreeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetGameId() int32 {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetRoomMode() int32 {
|
|
if x != nil {
|
|
return x.RoomMode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetParams() []int32 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetNumOfGames() int32 {
|
|
if x != nil {
|
|
return x.NumOfGames
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetState() int32 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetParamsEx() []int64 {
|
|
if x != nil {
|
|
return x.ParamsEx
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetSceneType() int32 {
|
|
if x != nil {
|
|
return x.SceneType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetPlayer() *CashManiaPlayerData {
|
|
if x != nil {
|
|
return x.Player
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCCashManiaRoomInfo) GetPlayerInfo() string {
|
|
if x != nil {
|
|
return x.PlayerInfo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//玩家操作
|
|
//PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP
|
|
type CSCashManiaOp 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 *CSCashManiaOp) Reset() {
|
|
*x = CSCashManiaOp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_cashmania_cashmania_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSCashManiaOp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSCashManiaOp) ProtoMessage() {}
|
|
|
|
func (x *CSCashManiaOp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_cashmania_cashmania_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 CSCashManiaOp.ProtoReflect.Descriptor instead.
|
|
func (*CSCashManiaOp) Descriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CSCashManiaOp) GetOpCode() int32 {
|
|
if x != nil {
|
|
return x.OpCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSCashManiaOp) GetParams() []int64 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//玩家操作返回
|
|
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP
|
|
type SCCashManiaOp 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 *SCCashManiaOp) Reset() {
|
|
*x = SCCashManiaOp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_cashmania_cashmania_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCCashManiaOp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCCashManiaOp) ProtoMessage() {}
|
|
|
|
func (x *SCCashManiaOp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_cashmania_cashmania_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 SCCashManiaOp.ProtoReflect.Descriptor instead.
|
|
func (*SCCashManiaOp) Descriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *SCCashManiaOp) GetOpCode() int32 {
|
|
if x != nil {
|
|
return x.OpCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaOp) GetOpRetCode() int32 {
|
|
if x != nil {
|
|
return x.OpRetCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaOp) GetParams() []int64 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//房间状态
|
|
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE
|
|
type SCCashManiaRoomState 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 *SCCashManiaRoomState) Reset() {
|
|
*x = SCCashManiaRoomState{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_cashmania_cashmania_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCCashManiaRoomState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCCashManiaRoomState) ProtoMessage() {}
|
|
|
|
func (x *SCCashManiaRoomState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_cashmania_cashmania_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 SCCashManiaRoomState.ProtoReflect.Descriptor instead.
|
|
func (*SCCashManiaRoomState) Descriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SCCashManiaRoomState) GetState() int32 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomState) GetSubState() int32 {
|
|
if x != nil {
|
|
return x.SubState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaRoomState) GetParams() []int32 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED
|
|
type SCCashManiaBilled 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 *SCCashManiaBilled) Reset() {
|
|
*x = SCCashManiaBilled{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_cashmania_cashmania_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCCashManiaBilled) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCCashManiaBilled) ProtoMessage() {}
|
|
|
|
func (x *SCCashManiaBilled) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_cashmania_cashmania_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 SCCashManiaBilled.ProtoReflect.Descriptor instead.
|
|
func (*SCCashManiaBilled) Descriptor() ([]byte, []int) {
|
|
return file_protocol_cashmania_cashmania_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SCCashManiaBilled) GetOpRetCode() int32 {
|
|
if x != nil {
|
|
return x.OpRetCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCashManiaBilled) GetGameEndStr() string {
|
|
if x != nil {
|
|
return x.GameEndStr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_protocol_cashmania_cashmania_proto protoreflect.FileDescriptor
|
|
|
|
var file_protocol_cashmania_cashmania_proto_rawDesc = []byte{
|
|
0x0a, 0x22, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x61, 0x73, 0x68, 0x6d,
|
|
0x61, 0x6e, 0x69, 0x61, 0x2f, 0x63, 0x61, 0x73, 0x68, 0x6d, 0x61, 0x6e, 0x69, 0x61, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x63, 0x61, 0x73, 0x68, 0x6d, 0x61, 0x6e, 0x69, 0x61, 0x22,
|
|
0xfd, 0x01, 0x0a, 0x13, 0x43, 0x61, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69, 0x61, 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, 0x43, 0x61, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69, 0x61, 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, 0x63, 0x61,
|
|
0x73, 0x68, 0x6d, 0x61, 0x6e, 0x69, 0x61, 0x2e, 0x43, 0x61, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69,
|
|
0x61, 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, 0x43, 0x61, 0x73, 0x68, 0x4d, 0x61, 0x6e,
|
|
0x69, 0x61, 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, 0x43, 0x61, 0x73, 0x68, 0x4d, 0x61,
|
|
0x6e, 0x69, 0x61, 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, 0x43, 0x61, 0x73, 0x68, 0x4d, 0x61, 0x6e,
|
|
0x69, 0x61, 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, 0x43, 0x61, 0x73, 0x68, 0x4d,
|
|
0x61, 0x6e, 0x69, 0x61, 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, 0x43, 0x61, 0x73,
|
|
0x68, 0x4d, 0x61, 0x6e, 0x69, 0x61, 0x50, 0x49, 0x44, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x41, 0x43,
|
|
0x4b, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x5f, 0x5a, 0x45,
|
|
0x52, 0x4f, 0x10, 0x00, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
|
|
0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x5f, 0x53, 0x43, 0x43, 0x41, 0x53, 0x48, 0x4d,
|
|
0x41, 0x4e, 0x49, 0x41, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x92, 0x2c, 0x12,
|
|
0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x53, 0x48, 0x4d, 0x41,
|
|
0x4e, 0x49, 0x41, 0x5f, 0x43, 0x53, 0x43, 0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x4f,
|
|
0x50, 0x10, 0x93, 0x2c, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
|
|
0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x5f, 0x53, 0x43, 0x43, 0x41, 0x53, 0x48, 0x4d,
|
|
0x41, 0x4e, 0x49, 0x41, 0x4f, 0x50, 0x10, 0x94, 0x2c, 0x12, 0x2a, 0x0a, 0x25, 0x50, 0x41, 0x43,
|
|
0x4b, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x5f, 0x53, 0x43,
|
|
0x43, 0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41,
|
|
0x54, 0x45, 0x10, 0x95, 0x2c, 0x12, 0x27, 0x0a, 0x22, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
|
0x43, 0x41, 0x53, 0x48, 0x4d, 0x41, 0x4e, 0x49, 0x41, 0x5f, 0x53, 0x43, 0x43, 0x41, 0x53, 0x48,
|
|
0x4d, 0x41, 0x4e, 0x49, 0x41, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x96, 0x2c, 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,
|
|
0x63, 0x61, 0x73, 0x68, 0x6d, 0x61, 0x6e, 0x69, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x33,
|
|
}
|
|
|
|
var (
|
|
file_protocol_cashmania_cashmania_proto_rawDescOnce sync.Once
|
|
file_protocol_cashmania_cashmania_proto_rawDescData = file_protocol_cashmania_cashmania_proto_rawDesc
|
|
)
|
|
|
|
func file_protocol_cashmania_cashmania_proto_rawDescGZIP() []byte {
|
|
file_protocol_cashmania_cashmania_proto_rawDescOnce.Do(func() {
|
|
file_protocol_cashmania_cashmania_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_cashmania_cashmania_proto_rawDescData)
|
|
})
|
|
return file_protocol_cashmania_cashmania_proto_rawDescData
|
|
}
|
|
|
|
var file_protocol_cashmania_cashmania_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_protocol_cashmania_cashmania_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_protocol_cashmania_cashmania_proto_goTypes = []interface{}{
|
|
(CashManiaPID)(0), // 0: cashmania.CashManiaPID
|
|
(*CashManiaPlayerData)(nil), // 1: cashmania.CashManiaPlayerData
|
|
(*SCCashManiaRoomInfo)(nil), // 2: cashmania.SCCashManiaRoomInfo
|
|
(*CSCashManiaOp)(nil), // 3: cashmania.CSCashManiaOp
|
|
(*SCCashManiaOp)(nil), // 4: cashmania.SCCashManiaOp
|
|
(*SCCashManiaRoomState)(nil), // 5: cashmania.SCCashManiaRoomState
|
|
(*SCCashManiaBilled)(nil), // 6: cashmania.SCCashManiaBilled
|
|
}
|
|
var file_protocol_cashmania_cashmania_proto_depIdxs = []int32{
|
|
1, // 0: cashmania.SCCashManiaRoomInfo.Player:type_name -> cashmania.CashManiaPlayerData
|
|
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_protocol_cashmania_cashmania_proto_init() }
|
|
func file_protocol_cashmania_cashmania_proto_init() {
|
|
if File_protocol_cashmania_cashmania_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_protocol_cashmania_cashmania_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CashManiaPlayerData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_cashmania_cashmania_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCCashManiaRoomInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_cashmania_cashmania_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSCashManiaOp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_cashmania_cashmania_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCCashManiaOp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_cashmania_cashmania_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCCashManiaRoomState); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_cashmania_cashmania_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCCashManiaBilled); 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_protocol_cashmania_cashmania_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_protocol_cashmania_cashmania_proto_goTypes,
|
|
DependencyIndexes: file_protocol_cashmania_cashmania_proto_depIdxs,
|
|
EnumInfos: file_protocol_cashmania_cashmania_proto_enumTypes,
|
|
MessageInfos: file_protocol_cashmania_cashmania_proto_msgTypes,
|
|
}.Build()
|
|
File_protocol_cashmania_cashmania_proto = out.File
|
|
file_protocol_cashmania_cashmania_proto_rawDesc = nil
|
|
file_protocol_cashmania_cashmania_proto_goTypes = nil
|
|
file_protocol_cashmania_cashmania_proto_depIdxs = nil
|
|
}
|