822 lines
26 KiB
Go
822 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1-devel
|
|
// protoc v3.19.4
|
|
// source: machine.proto
|
|
|
|
package machine
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
//娃娃机协议
|
|
type DollMachinePacketID int32
|
|
|
|
const (
|
|
DollMachinePacketID_PACKET_SMDollMachineZero DollMachinePacketID = 0
|
|
DollMachinePacketID_PACKET_SMGameLinkSucceed DollMachinePacketID = 20000
|
|
DollMachinePacketID_PACKET_SMDollMachinePerate DollMachinePacketID = 20001
|
|
DollMachinePacketID_PACKET_SMDollMachineGrab DollMachinePacketID = 20002
|
|
DollMachinePacketID_PACKET_MSDollMachineList DollMachinePacketID = 20003
|
|
DollMachinePacketID_PACKET_MSUpdateDollMachineStatus DollMachinePacketID = 20004
|
|
DollMachinePacketID_PACKET_MSDollMachineoPerateResult DollMachinePacketID = 20005
|
|
DollMachinePacketID_PACKET_SMGetToken DollMachinePacketID = 20006
|
|
DollMachinePacketID_PACKET_MSSendToken DollMachinePacketID = 20007
|
|
DollMachinePacketID_Packet_MSDollMachineHeartBeat DollMachinePacketID = 20008
|
|
DollMachinePacketID_Packet_SMDollMachineHeartBeat DollMachinePacketID = 20009
|
|
)
|
|
|
|
// Enum value maps for DollMachinePacketID.
|
|
var (
|
|
DollMachinePacketID_name = map[int32]string{
|
|
0: "PACKET_SMDollMachineZero",
|
|
20000: "PACKET_SMGameLinkSucceed",
|
|
20001: "PACKET_SMDollMachinePerate",
|
|
20002: "PACKET_SMDollMachineGrab",
|
|
20003: "PACKET_MSDollMachineList",
|
|
20004: "PACKET_MSUpdateDollMachineStatus",
|
|
20005: "PACKET_MSDollMachineoPerateResult",
|
|
20006: "PACKET_SMGetToken",
|
|
20007: "PACKET_MSSendToken",
|
|
20008: "Packet_MSDollMachineHeartBeat",
|
|
20009: "Packet_SMDollMachineHeartBeat",
|
|
}
|
|
DollMachinePacketID_value = map[string]int32{
|
|
"PACKET_SMDollMachineZero": 0,
|
|
"PACKET_SMGameLinkSucceed": 20000,
|
|
"PACKET_SMDollMachinePerate": 20001,
|
|
"PACKET_SMDollMachineGrab": 20002,
|
|
"PACKET_MSDollMachineList": 20003,
|
|
"PACKET_MSUpdateDollMachineStatus": 20004,
|
|
"PACKET_MSDollMachineoPerateResult": 20005,
|
|
"PACKET_SMGetToken": 20006,
|
|
"PACKET_MSSendToken": 20007,
|
|
"Packet_MSDollMachineHeartBeat": 20008,
|
|
"Packet_SMDollMachineHeartBeat": 20009,
|
|
}
|
|
)
|
|
|
|
func (x DollMachinePacketID) Enum() *DollMachinePacketID {
|
|
p := new(DollMachinePacketID)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DollMachinePacketID) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DollMachinePacketID) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_machine_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (DollMachinePacketID) Type() protoreflect.EnumType {
|
|
return &file_machine_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x DollMachinePacketID) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DollMachinePacketID.Descriptor instead.
|
|
func (DollMachinePacketID) EnumDescriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//通知链接成功
|
|
//PACKET_SMDollMachinePerate
|
|
type SMGameLinkSucceed struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SMGameLinkSucceed) Reset() {
|
|
*x = SMGameLinkSucceed{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SMGameLinkSucceed) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SMGameLinkSucceed) ProtoMessage() {}
|
|
|
|
func (x *SMGameLinkSucceed) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_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 SMGameLinkSucceed.ProtoReflect.Descriptor instead.
|
|
func (*SMGameLinkSucceed) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//操作
|
|
//PACKET_SMDollMachinePerate
|
|
type SMDollMachineoPerate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
|
Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` //娃娃机标识
|
|
Perate int32 `protobuf:"varint,3,opt,name=Perate,proto3" json:"Perate,omitempty"` // 1-前 2-后 3-左 4-右 5-投币
|
|
}
|
|
|
|
func (x *SMDollMachineoPerate) Reset() {
|
|
*x = SMDollMachineoPerate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SMDollMachineoPerate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SMDollMachineoPerate) ProtoMessage() {}
|
|
|
|
func (x *SMDollMachineoPerate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_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 SMDollMachineoPerate.ProtoReflect.Descriptor instead.
|
|
func (*SMDollMachineoPerate) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SMDollMachineoPerate) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SMDollMachineoPerate) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SMDollMachineoPerate) GetPerate() int32 {
|
|
if x != nil {
|
|
return x.Perate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//下抓
|
|
type SMDollMachineGrab struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1-弱力抓 2 -强力抓 3-必出抓
|
|
Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` //娃娃机标识
|
|
Snid int32 `protobuf:"varint,3,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
|
}
|
|
|
|
func (x *SMDollMachineGrab) Reset() {
|
|
*x = SMDollMachineGrab{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SMDollMachineGrab) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SMDollMachineGrab) ProtoMessage() {}
|
|
|
|
func (x *SMDollMachineGrab) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_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 SMDollMachineGrab.ProtoReflect.Descriptor instead.
|
|
func (*SMDollMachineGrab) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SMDollMachineGrab) GetTypeId() int32 {
|
|
if x != nil {
|
|
return x.TypeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SMDollMachineGrab) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SMDollMachineGrab) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//PACKET_MSDollMachineoPerateResult
|
|
type MSDollMachineoPerateResult struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
|
Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` //娃娃机标识
|
|
Result int32 `protobuf:"varint,3,opt,name=Result,proto3" json:"Result,omitempty"` // 1-成功 0-失败
|
|
TypeId int32 `protobuf:"varint,4,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1 投币 2 下抓结果
|
|
}
|
|
|
|
func (x *MSDollMachineoPerateResult) Reset() {
|
|
*x = MSDollMachineoPerateResult{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MSDollMachineoPerateResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MSDollMachineoPerateResult) ProtoMessage() {}
|
|
|
|
func (x *MSDollMachineoPerateResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_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 MSDollMachineoPerateResult.ProtoReflect.Descriptor instead.
|
|
func (*MSDollMachineoPerateResult) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *MSDollMachineoPerateResult) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MSDollMachineoPerateResult) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MSDollMachineoPerateResult) GetResult() int32 {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MSDollMachineoPerateResult) GetTypeId() int32 {
|
|
if x != nil {
|
|
return x.TypeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//返回所有娃娃机连接
|
|
type MSDollMachineList struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*DollMachine `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *MSDollMachineList) Reset() {
|
|
*x = MSDollMachineList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MSDollMachineList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MSDollMachineList) ProtoMessage() {}
|
|
|
|
func (x *MSDollMachineList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_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 MSDollMachineList.ProtoReflect.Descriptor instead.
|
|
func (*MSDollMachineList) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *MSDollMachineList) GetData() []*DollMachine {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DollMachine struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
VideoAddr string `protobuf:"bytes,2,opt,name=VideoAddr,proto3" json:"VideoAddr,omitempty"`
|
|
}
|
|
|
|
func (x *DollMachine) Reset() {
|
|
*x = DollMachine{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DollMachine) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DollMachine) ProtoMessage() {}
|
|
|
|
func (x *DollMachine) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_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 DollMachine.ProtoReflect.Descriptor instead.
|
|
func (*DollMachine) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DollMachine) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DollMachine) GetVideoAddr() string {
|
|
if x != nil {
|
|
return x.VideoAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//更新娃娃机状态
|
|
type MSUpdateDollMachineStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=Status,proto3" json:"Status,omitempty"` //1-空闲 0-无法使用
|
|
VideoAddr string `protobuf:"bytes,3,opt,name=VideoAddr,proto3" json:"VideoAddr,omitempty"`
|
|
}
|
|
|
|
func (x *MSUpdateDollMachineStatus) Reset() {
|
|
*x = MSUpdateDollMachineStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MSUpdateDollMachineStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MSUpdateDollMachineStatus) ProtoMessage() {}
|
|
|
|
func (x *MSUpdateDollMachineStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MSUpdateDollMachineStatus.ProtoReflect.Descriptor instead.
|
|
func (*MSUpdateDollMachineStatus) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *MSUpdateDollMachineStatus) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MSUpdateDollMachineStatus) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MSUpdateDollMachineStatus) GetVideoAddr() string {
|
|
if x != nil {
|
|
return x.VideoAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//心跳
|
|
type MSDollMachineHeartBeat struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MSDollMachineHeartBeat) Reset() {
|
|
*x = MSDollMachineHeartBeat{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MSDollMachineHeartBeat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MSDollMachineHeartBeat) ProtoMessage() {}
|
|
|
|
func (x *MSDollMachineHeartBeat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MSDollMachineHeartBeat.ProtoReflect.Descriptor instead.
|
|
func (*MSDollMachineHeartBeat) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type SMDollMachineHeartBeat struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SMDollMachineHeartBeat) Reset() {
|
|
*x = SMDollMachineHeartBeat{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SMDollMachineHeartBeat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SMDollMachineHeartBeat) ProtoMessage() {}
|
|
|
|
func (x *SMDollMachineHeartBeat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_machine_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SMDollMachineHeartBeat.ProtoReflect.Descriptor instead.
|
|
func (*SMDollMachineHeartBeat) Descriptor() ([]byte, []int) {
|
|
return file_machine_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
var File_machine_proto protoreflect.FileDescriptor
|
|
|
|
var file_machine_proto_rawDesc = []byte{
|
|
0x0a, 0x0d, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x4d, 0x47, 0x61,
|
|
0x6d, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x22, 0x52, 0x0a,
|
|
0x14, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x6f, 0x50,
|
|
0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x65, 0x72,
|
|
0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x65, 0x72, 0x61, 0x74,
|
|
0x65, 0x22, 0x4f, 0x0a, 0x11, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69,
|
|
0x6e, 0x65, 0x47, 0x72, 0x61, 0x62, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x12,
|
|
0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e,
|
|
0x69, 0x64, 0x22, 0x70, 0x0a, 0x1a, 0x4d, 0x53, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68,
|
|
0x69, 0x6e, 0x65, 0x6f, 0x50, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
|
0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
0x53, 0x6e, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
|
0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79,
|
|
0x70, 0x65, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x11, 0x4d, 0x53, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61,
|
|
0x63, 0x68, 0x69, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e,
|
|
0x65, 0x2e, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x52, 0x04, 0x64,
|
|
0x61, 0x74, 0x61, 0x22, 0x3b, 0x0a, 0x0b, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69,
|
|
0x6e, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
|
0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x64, 0x64, 0x72,
|
|
0x22, 0x61, 0x0a, 0x19, 0x4d, 0x53, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x6c, 0x6c,
|
|
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
|
0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x64,
|
|
0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41,
|
|
0x64, 0x64, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x53, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63,
|
|
0x68, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x22, 0x18, 0x0a,
|
|
0x16, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x48, 0x65,
|
|
0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x2a, 0x83, 0x03, 0x0a, 0x13, 0x44, 0x6f, 0x6c, 0x6c,
|
|
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12,
|
|
0x1c, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c,
|
|
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5a, 0x65, 0x72, 0x6f, 0x10, 0x00, 0x12, 0x1e, 0x0a,
|
|
0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x47, 0x61, 0x6d, 0x65, 0x4c, 0x69,
|
|
0x6e, 0x6b, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x10, 0xa0, 0x9c, 0x01, 0x12, 0x20, 0x0a,
|
|
0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61,
|
|
0x63, 0x68, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x61, 0x74, 0x65, 0x10, 0xa1, 0x9c, 0x01, 0x12,
|
|
0x1e, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c,
|
|
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x47, 0x72, 0x61, 0x62, 0x10, 0xa2, 0x9c, 0x01, 0x12,
|
|
0x1e, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4d, 0x53, 0x44, 0x6f, 0x6c, 0x6c,
|
|
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x10, 0xa3, 0x9c, 0x01, 0x12,
|
|
0x26, 0x0a, 0x20, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4d, 0x53, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x10, 0xa4, 0x9c, 0x01, 0x12, 0x27, 0x0a, 0x21, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
|
0x54, 0x5f, 0x4d, 0x53, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x6f,
|
|
0x50, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x10, 0xa5, 0x9c, 0x01,
|
|
0x12, 0x17, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x47, 0x65, 0x74,
|
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xa6, 0x9c, 0x01, 0x12, 0x18, 0x0a, 0x12, 0x50, 0x41, 0x43,
|
|
0x4b, 0x45, 0x54, 0x5f, 0x4d, 0x53, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10,
|
|
0xa7, 0x9c, 0x01, 0x12, 0x23, 0x0a, 0x1d, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x4d, 0x53,
|
|
0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x61, 0x72, 0x74,
|
|
0x42, 0x65, 0x61, 0x74, 0x10, 0xa8, 0x9c, 0x01, 0x12, 0x23, 0x0a, 0x1d, 0x50, 0x61, 0x63, 0x6b,
|
|
0x65, 0x74, 0x5f, 0x53, 0x4d, 0x44, 0x6f, 0x6c, 0x6c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
|
|
0x48, 0x65, 0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x10, 0xa9, 0x9c, 0x01, 0x42, 0x27, 0x5a,
|
|
0x25, 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, 0x6d,
|
|
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_machine_proto_rawDescOnce sync.Once
|
|
file_machine_proto_rawDescData = file_machine_proto_rawDesc
|
|
)
|
|
|
|
func file_machine_proto_rawDescGZIP() []byte {
|
|
file_machine_proto_rawDescOnce.Do(func() {
|
|
file_machine_proto_rawDescData = protoimpl.X.CompressGZIP(file_machine_proto_rawDescData)
|
|
})
|
|
return file_machine_proto_rawDescData
|
|
}
|
|
|
|
var file_machine_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_machine_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_machine_proto_goTypes = []interface{}{
|
|
(DollMachinePacketID)(0), // 0: machine.DollMachinePacketID
|
|
(*SMGameLinkSucceed)(nil), // 1: machine.SMGameLinkSucceed
|
|
(*SMDollMachineoPerate)(nil), // 2: machine.SMDollMachineoPerate
|
|
(*SMDollMachineGrab)(nil), // 3: machine.SMDollMachineGrab
|
|
(*MSDollMachineoPerateResult)(nil), // 4: machine.MSDollMachineoPerateResult
|
|
(*MSDollMachineList)(nil), // 5: machine.MSDollMachineList
|
|
(*DollMachine)(nil), // 6: machine.DollMachine
|
|
(*MSUpdateDollMachineStatus)(nil), // 7: machine.MSUpdateDollMachineStatus
|
|
(*MSDollMachineHeartBeat)(nil), // 8: machine.MSDollMachineHeartBeat
|
|
(*SMDollMachineHeartBeat)(nil), // 9: machine.SMDollMachineHeartBeat
|
|
}
|
|
var file_machine_proto_depIdxs = []int32{
|
|
6, // 0: machine.MSDollMachineList.data:type_name -> machine.DollMachine
|
|
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_machine_proto_init() }
|
|
func file_machine_proto_init() {
|
|
if File_machine_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_machine_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SMGameLinkSucceed); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SMDollMachineoPerate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SMDollMachineGrab); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MSDollMachineoPerateResult); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MSDollMachineList); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DollMachine); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MSUpdateDollMachineStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MSDollMachineHeartBeat); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_machine_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SMDollMachineHeartBeat); 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_machine_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_machine_proto_goTypes,
|
|
DependencyIndexes: file_machine_proto_depIdxs,
|
|
EnumInfos: file_machine_proto_enumTypes,
|
|
MessageInfos: file_machine_proto_msgTypes,
|
|
}.Build()
|
|
File_machine_proto = out.File
|
|
file_machine_proto_rawDesc = nil
|
|
file_machine_proto_goTypes = nil
|
|
file_machine_proto_depIdxs = nil
|
|
}
|