1008 lines
35 KiB
Go
1008 lines
35 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/activity/pushcoin.proto
|
|
|
|
package activity
|
|
|
|
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 PushCoinPacketID int32
|
|
|
|
const (
|
|
PushCoinPacketID_PACKET_PushCoin_ZERO PushCoinPacketID = 0 // 弃用消息号
|
|
PushCoinPacketID_PACKET_CSPushCoinInfo PushCoinPacketID = 2680 // 信息
|
|
PushCoinPacketID_PACKET_SCPushCoinInfo PushCoinPacketID = 2681 // 信息返回
|
|
PushCoinPacketID_PACKET_CSPushCoinPlayerOp PushCoinPacketID = 2682 // 玩家操作
|
|
PushCoinPacketID_PACKET_SCPushCoinPlayerOp PushCoinPacketID = 2683 // 玩家操作返回
|
|
PushCoinPacketID_PACKET_NotifyPowerLine PushCoinPacketID = 2684 // 通知能量值
|
|
PushCoinPacketID_PACKET_NotifyDrawInfo PushCoinPacketID = 2685 // 抽奖信息
|
|
)
|
|
|
|
// Enum value maps for PushCoinPacketID.
|
|
var (
|
|
PushCoinPacketID_name = map[int32]string{
|
|
0: "PACKET_PushCoin_ZERO",
|
|
2680: "PACKET_CSPushCoinInfo",
|
|
2681: "PACKET_SCPushCoinInfo",
|
|
2682: "PACKET_CSPushCoinPlayerOp",
|
|
2683: "PACKET_SCPushCoinPlayerOp",
|
|
2684: "PACKET_NotifyPowerLine",
|
|
2685: "PACKET_NotifyDrawInfo",
|
|
}
|
|
PushCoinPacketID_value = map[string]int32{
|
|
"PACKET_PushCoin_ZERO": 0,
|
|
"PACKET_CSPushCoinInfo": 2680,
|
|
"PACKET_SCPushCoinInfo": 2681,
|
|
"PACKET_CSPushCoinPlayerOp": 2682,
|
|
"PACKET_SCPushCoinPlayerOp": 2683,
|
|
"PACKET_NotifyPowerLine": 2684,
|
|
"PACKET_NotifyDrawInfo": 2685,
|
|
}
|
|
)
|
|
|
|
func (x PushCoinPacketID) Enum() *PushCoinPacketID {
|
|
p := new(PushCoinPacketID)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PushCoinPacketID) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PushCoinPacketID) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protocol_activity_pushcoin_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (PushCoinPacketID) Type() protoreflect.EnumType {
|
|
return &file_protocol_activity_pushcoin_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x PushCoinPacketID) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PushCoinPacketID.Descriptor instead.
|
|
func (PushCoinPacketID) EnumDescriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type OpCodes int32
|
|
|
|
const (
|
|
OpCodes_OP_Zero OpCodes = 0
|
|
OpCodes_OP_Bet OpCodes = 1 // 下注
|
|
OpCodes_OP_Gain OpCodes = 2 // 得分 OpParam 1有效区 2无效区 OpItem 获得道具
|
|
OpCodes_OP_Shake OpCodes = 3 // 震动 OpParam 消耗次数
|
|
OpCodes_OP_Refresh OpCodes = 4 // 刷新 OpParam 桌面金额
|
|
OpCodes_OP_Exchange OpCodes = 5 // 兑换 OpParam 兑换id
|
|
OpCodes_OP_UpBase OpCodes = 6 // 修改底注 OpParam 底注
|
|
)
|
|
|
|
// Enum value maps for OpCodes.
|
|
var (
|
|
OpCodes_name = map[int32]string{
|
|
0: "OP_Zero",
|
|
1: "OP_Bet",
|
|
2: "OP_Gain",
|
|
3: "OP_Shake",
|
|
4: "OP_Refresh",
|
|
5: "OP_Exchange",
|
|
6: "OP_UpBase",
|
|
}
|
|
OpCodes_value = map[string]int32{
|
|
"OP_Zero": 0,
|
|
"OP_Bet": 1,
|
|
"OP_Gain": 2,
|
|
"OP_Shake": 3,
|
|
"OP_Refresh": 4,
|
|
"OP_Exchange": 5,
|
|
"OP_UpBase": 6,
|
|
}
|
|
)
|
|
|
|
func (x OpCodes) Enum() *OpCodes {
|
|
p := new(OpCodes)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OpCodes) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OpCodes) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protocol_activity_pushcoin_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (OpCodes) Type() protoreflect.EnumType {
|
|
return &file_protocol_activity_pushcoin_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x OpCodes) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OpCodes.Descriptor instead.
|
|
func (OpCodes) EnumDescriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type OpResultPushCoinCode int32
|
|
|
|
const (
|
|
OpResultPushCoinCode_OPRC_PushCoin_Success OpResultPushCoinCode = 0 //成功
|
|
OpResultPushCoinCode_OPRC_PushCoin_Error OpResultPushCoinCode = 1 //失败
|
|
)
|
|
|
|
// Enum value maps for OpResultPushCoinCode.
|
|
var (
|
|
OpResultPushCoinCode_name = map[int32]string{
|
|
0: "OPRC_PushCoin_Success",
|
|
1: "OPRC_PushCoin_Error",
|
|
}
|
|
OpResultPushCoinCode_value = map[string]int32{
|
|
"OPRC_PushCoin_Success": 0,
|
|
"OPRC_PushCoin_Error": 1,
|
|
}
|
|
)
|
|
|
|
func (x OpResultPushCoinCode) Enum() *OpResultPushCoinCode {
|
|
p := new(OpResultPushCoinCode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OpResultPushCoinCode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OpResultPushCoinCode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protocol_activity_pushcoin_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (OpResultPushCoinCode) Type() protoreflect.EnumType {
|
|
return &file_protocol_activity_pushcoin_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x OpResultPushCoinCode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OpResultPushCoinCode.Descriptor instead.
|
|
func (OpResultPushCoinCode) EnumDescriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
//信息
|
|
//PACKET_CSPushCoinInfo
|
|
type CSPushCoinInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CSPushCoinInfo) Reset() {
|
|
*x = CSPushCoinInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSPushCoinInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSPushCoinInfo) ProtoMessage() {}
|
|
|
|
func (x *CSPushCoinInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 CSPushCoinInfo.ProtoReflect.Descriptor instead.
|
|
func (*CSPushCoinInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//PACKET_SCPushCoinInfo
|
|
type SCPushCoinInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ExchangeList []*ExchangeInfo `protobuf:"bytes,1,rep,name=ExchangeList,proto3" json:"ExchangeList,omitempty"` //兑换信息
|
|
DrawList []*DrawInfo `protobuf:"bytes,2,rep,name=DrawList,proto3" json:"DrawList,omitempty"` //抽奖信息
|
|
BetList []int64 `protobuf:"varint,3,rep,packed,name=BetList,proto3" json:"BetList,omitempty"` //下注金额列表
|
|
ShakeTimes int32 `protobuf:"varint,4,opt,name=ShakeTimes,proto3" json:"ShakeTimes,omitempty"` //可震动次数
|
|
BaseCoin int64 `protobuf:"varint,5,opt,name=BaseCoin,proto3" json:"BaseCoin,omitempty"` //当前底分(单次投币金额)
|
|
PowerLine int64 `protobuf:"varint,6,opt,name=PowerLine,proto3" json:"PowerLine,omitempty"` // 当前能量值
|
|
PowerLineMax int64 `protobuf:"varint,7,opt,name=PowerLineMax,proto3" json:"PowerLineMax,omitempty"` // 能量值上限
|
|
RefreshTimes int64 `protobuf:"varint,8,opt,name=RefreshTimes,proto3" json:"RefreshTimes,omitempty"` // 刷新次数
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) Reset() {
|
|
*x = SCPushCoinInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCPushCoinInfo) ProtoMessage() {}
|
|
|
|
func (x *SCPushCoinInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 SCPushCoinInfo.ProtoReflect.Descriptor instead.
|
|
func (*SCPushCoinInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetExchangeList() []*ExchangeInfo {
|
|
if x != nil {
|
|
return x.ExchangeList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetDrawList() []*DrawInfo {
|
|
if x != nil {
|
|
return x.DrawList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetBetList() []int64 {
|
|
if x != nil {
|
|
return x.BetList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetShakeTimes() int32 {
|
|
if x != nil {
|
|
return x.ShakeTimes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetBaseCoin() int64 {
|
|
if x != nil {
|
|
return x.BaseCoin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetPowerLine() int64 {
|
|
if x != nil {
|
|
return x.PowerLine
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetPowerLineMax() int64 {
|
|
if x != nil {
|
|
return x.PowerLineMax
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCPushCoinInfo) GetRefreshTimes() int64 {
|
|
if x != nil {
|
|
return x.RefreshTimes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ItemInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ItemId int32 `protobuf:"varint,1,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //道具id
|
|
ItemNum int32 `protobuf:"varint,2,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //道具数量
|
|
}
|
|
|
|
func (x *ItemInfo) Reset() {
|
|
*x = ItemInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ItemInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ItemInfo) ProtoMessage() {}
|
|
|
|
func (x *ItemInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 ItemInfo.ProtoReflect.Descriptor instead.
|
|
func (*ItemInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ItemInfo) GetItemId() int32 {
|
|
if x != nil {
|
|
return x.ItemId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ItemInfo) GetItemNum() int32 {
|
|
if x != nil {
|
|
return x.ItemNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ExchangeInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //兑换id
|
|
Cost []*ItemInfo `protobuf:"bytes,2,rep,name=Cost,proto3" json:"Cost,omitempty"` //消耗道具
|
|
Gain []*ItemInfo `protobuf:"bytes,3,rep,name=Gain,proto3" json:"Gain,omitempty"` //获得道具
|
|
ShakeTimes int32 `protobuf:"varint,4,opt,name=ShakeTimes,proto3" json:"ShakeTimes,omitempty"` //获得震动次数
|
|
Times int64 `protobuf:"varint,5,opt,name=Times,proto3" json:"Times,omitempty"` //可兑换次数 -1无限
|
|
TotalTimes int64 `protobuf:"varint,6,opt,name=TotalTimes,proto3" json:"TotalTimes,omitempty"` //总共兑换次数 -1无限
|
|
}
|
|
|
|
func (x *ExchangeInfo) Reset() {
|
|
*x = ExchangeInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ExchangeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExchangeInfo) ProtoMessage() {}
|
|
|
|
func (x *ExchangeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 ExchangeInfo.ProtoReflect.Descriptor instead.
|
|
func (*ExchangeInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ExchangeInfo) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ExchangeInfo) GetCost() []*ItemInfo {
|
|
if x != nil {
|
|
return x.Cost
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExchangeInfo) GetGain() []*ItemInfo {
|
|
if x != nil {
|
|
return x.Gain
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExchangeInfo) GetShakeTimes() int32 {
|
|
if x != nil {
|
|
return x.ShakeTimes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ExchangeInfo) GetTimes() int64 {
|
|
if x != nil {
|
|
return x.Times
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ExchangeInfo) GetTotalTimes() int64 {
|
|
if x != nil {
|
|
return x.TotalTimes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//抽奖信息
|
|
//PACKET_NotifyDrawInfo
|
|
type DrawInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //抽奖id
|
|
ItemId int32 `protobuf:"varint,2,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //道具id
|
|
ItemNum int32 `protobuf:"varint,3,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //道具数量
|
|
Coin int64 `protobuf:"varint,4,opt,name=Coin,proto3" json:"Coin,omitempty"` //价值
|
|
}
|
|
|
|
func (x *DrawInfo) Reset() {
|
|
*x = DrawInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DrawInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DrawInfo) ProtoMessage() {}
|
|
|
|
func (x *DrawInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 DrawInfo.ProtoReflect.Descriptor instead.
|
|
func (*DrawInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DrawInfo) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DrawInfo) GetItemId() int32 {
|
|
if x != nil {
|
|
return x.ItemId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DrawInfo) GetItemNum() int32 {
|
|
if x != nil {
|
|
return x.ItemNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DrawInfo) GetCoin() int64 {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//玩家操作
|
|
//PACKET_CSPushCoinPlayerOp
|
|
type CSPushCoinPlayerOp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OpCode OpCodes `protobuf:"varint,1,opt,name=OpCode,proto3,enum=activity.OpCodes" json:"OpCode,omitempty"`
|
|
OpParam int64 `protobuf:"varint,2,opt,name=OpParam,proto3" json:"OpParam,omitempty"`
|
|
OpItem []*ItemInfo `protobuf:"bytes,3,rep,name=OpItem,proto3" json:"OpItem,omitempty"`
|
|
}
|
|
|
|
func (x *CSPushCoinPlayerOp) Reset() {
|
|
*x = CSPushCoinPlayerOp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSPushCoinPlayerOp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSPushCoinPlayerOp) ProtoMessage() {}
|
|
|
|
func (x *CSPushCoinPlayerOp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 CSPushCoinPlayerOp.ProtoReflect.Descriptor instead.
|
|
func (*CSPushCoinPlayerOp) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CSPushCoinPlayerOp) GetOpCode() OpCodes {
|
|
if x != nil {
|
|
return x.OpCode
|
|
}
|
|
return OpCodes_OP_Zero
|
|
}
|
|
|
|
func (x *CSPushCoinPlayerOp) GetOpParam() int64 {
|
|
if x != nil {
|
|
return x.OpParam
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSPushCoinPlayerOp) GetOpItem() []*ItemInfo {
|
|
if x != nil {
|
|
return x.OpItem
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//PACKET_SCPushCoinPlayerOp
|
|
type SCPushCoinPlayerOp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OpRetCode OpResultPushCoinCode `protobuf:"varint,1,opt,name=OpRetCode,proto3,enum=activity.OpResultPushCoinCode" json:"OpRetCode,omitempty"`
|
|
OpCode OpCodes `protobuf:"varint,2,opt,name=OpCode,proto3,enum=activity.OpCodes" json:"OpCode,omitempty"`
|
|
Exchange *ExchangeInfo `protobuf:"bytes,3,opt,name=Exchange,proto3" json:"Exchange,omitempty"` // 兑换信息,加到背包
|
|
}
|
|
|
|
func (x *SCPushCoinPlayerOp) Reset() {
|
|
*x = SCPushCoinPlayerOp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCPushCoinPlayerOp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCPushCoinPlayerOp) ProtoMessage() {}
|
|
|
|
func (x *SCPushCoinPlayerOp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 SCPushCoinPlayerOp.ProtoReflect.Descriptor instead.
|
|
func (*SCPushCoinPlayerOp) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SCPushCoinPlayerOp) GetOpRetCode() OpResultPushCoinCode {
|
|
if x != nil {
|
|
return x.OpRetCode
|
|
}
|
|
return OpResultPushCoinCode_OPRC_PushCoin_Success
|
|
}
|
|
|
|
func (x *SCPushCoinPlayerOp) GetOpCode() OpCodes {
|
|
if x != nil {
|
|
return x.OpCode
|
|
}
|
|
return OpCodes_OP_Zero
|
|
}
|
|
|
|
func (x *SCPushCoinPlayerOp) GetExchange() *ExchangeInfo {
|
|
if x != nil {
|
|
return x.Exchange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//通知能量值
|
|
//PACKET_NotifyPowerLine
|
|
type NotifyPowerLine struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PowerLine int64 `protobuf:"varint,1,opt,name=PowerLine,proto3" json:"PowerLine,omitempty"` // 当前能量值
|
|
PowerLineMax int64 `protobuf:"varint,2,opt,name=PowerLineMax,proto3" json:"PowerLineMax,omitempty"` // 能量值上限
|
|
}
|
|
|
|
func (x *NotifyPowerLine) Reset() {
|
|
*x = NotifyPowerLine{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_pushcoin_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NotifyPowerLine) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NotifyPowerLine) ProtoMessage() {}
|
|
|
|
func (x *NotifyPowerLine) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_pushcoin_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 NotifyPowerLine.ProtoReflect.Descriptor instead.
|
|
func (*NotifyPowerLine) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *NotifyPowerLine) GetPowerLine() int64 {
|
|
if x != nil {
|
|
return x.PowerLine
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NotifyPowerLine) GetPowerLineMax() int64 {
|
|
if x != nil {
|
|
return x.PowerLineMax
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_protocol_activity_pushcoin_proto protoreflect.FileDescriptor
|
|
|
|
var file_protocol_activity_pushcoin_proto_rawDesc = []byte{
|
|
0x0a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
0x69, 0x74, 0x79, 0x2f, 0x70, 0x75, 0x73, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x12, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x10, 0x0a, 0x0e,
|
|
0x43, 0x53, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xb8,
|
|
0x02, 0x0a, 0x0e, 0x53, 0x43, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x12, 0x3a, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73,
|
|
0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
|
|
0x74, 0x79, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a,
|
|
0x08, 0x44, 0x72, 0x61, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x44, 0x72, 0x61, 0x77, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x08, 0x44, 0x72, 0x61, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
|
0x07, 0x42, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07,
|
|
0x42, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x6b, 0x65,
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x53, 0x68, 0x61,
|
|
0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x61, 0x73, 0x65, 0x43,
|
|
0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x42, 0x61, 0x73, 0x65, 0x43,
|
|
0x6f, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e,
|
|
0x65, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x4d, 0x61,
|
|
0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69,
|
|
0x6e, 0x65, 0x4d, 0x61, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x52, 0x65, 0x66,
|
|
0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x08, 0x49, 0x74, 0x65,
|
|
0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a,
|
|
0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x22, 0xc4, 0x01, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68,
|
|
0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x43, 0x6f, 0x73, 0x74,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x43, 0x6f, 0x73, 0x74,
|
|
0x12, 0x26, 0x0a, 0x04, 0x47, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
|
0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x04, 0x47, 0x61, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x6b,
|
|
0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x53, 0x68,
|
|
0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x69, 0x6d, 0x65,
|
|
0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x22, 0x60,
|
|
0x0a, 0x08, 0x44, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x74,
|
|
0x65, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x49, 0x74, 0x65, 0x6d,
|
|
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x22, 0x85, 0x01, 0x0a, 0x12, 0x43, 0x53, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50,
|
|
0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x12, 0x29, 0x0a, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
|
|
0x74, 0x79, 0x2e, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f,
|
|
0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x07, 0x4f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x2a, 0x0a, 0x06,
|
|
0x4f, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61,
|
|
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x06, 0x4f, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x22, 0xb1, 0x01, 0x0a, 0x12, 0x53, 0x43, 0x50,
|
|
0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x12,
|
|
0x3c, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x4f, 0x70,
|
|
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x6f,
|
|
0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a,
|
|
0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
|
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x73,
|
|
0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x45, 0x78, 0x63, 0x68,
|
|
0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x74,
|
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x08, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x53, 0x0a, 0x0f,
|
|
0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x09, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x22, 0x0a,
|
|
0x0c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x4d, 0x61, 0x78, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x4d, 0x61,
|
|
0x78, 0x2a, 0xdd, 0x01, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x61,
|
|
0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
|
0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00,
|
|
0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x75, 0x73,
|
|
0x68, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xf8, 0x14, 0x12, 0x1a, 0x0a, 0x15,
|
|
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69,
|
|
0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xf9, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b,
|
|
0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61,
|
|
0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0xfa, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b,
|
|
0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61,
|
|
0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0xfb, 0x14, 0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b,
|
|
0x45, 0x54, 0x5f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69,
|
|
0x6e, 0x65, 0x10, 0xfc, 0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
|
0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x44, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xfd,
|
|
0x14, 0x2a, 0x6d, 0x0a, 0x07, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x0b, 0x0a, 0x07,
|
|
0x4f, 0x50, 0x5f, 0x5a, 0x65, 0x72, 0x6f, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x50, 0x5f,
|
|
0x42, 0x65, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x47, 0x61, 0x69, 0x6e,
|
|
0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x5f, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x10, 0x03,
|
|
0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x5f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x10, 0x04,
|
|
0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x5f, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10,
|
|
0x05, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x5f, 0x55, 0x70, 0x42, 0x61, 0x73, 0x65, 0x10, 0x06,
|
|
0x2a, 0x4a, 0x0a, 0x14, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x73, 0x68,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x50, 0x52, 0x43,
|
|
0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
|
0x73, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x42, 0x28, 0x5a, 0x26,
|
|
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, 0x61, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_protocol_activity_pushcoin_proto_rawDescOnce sync.Once
|
|
file_protocol_activity_pushcoin_proto_rawDescData = file_protocol_activity_pushcoin_proto_rawDesc
|
|
)
|
|
|
|
func file_protocol_activity_pushcoin_proto_rawDescGZIP() []byte {
|
|
file_protocol_activity_pushcoin_proto_rawDescOnce.Do(func() {
|
|
file_protocol_activity_pushcoin_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_activity_pushcoin_proto_rawDescData)
|
|
})
|
|
return file_protocol_activity_pushcoin_proto_rawDescData
|
|
}
|
|
|
|
var file_protocol_activity_pushcoin_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
|
var file_protocol_activity_pushcoin_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_protocol_activity_pushcoin_proto_goTypes = []interface{}{
|
|
(PushCoinPacketID)(0), // 0: activity.PushCoinPacketID
|
|
(OpCodes)(0), // 1: activity.OpCodes
|
|
(OpResultPushCoinCode)(0), // 2: activity.OpResultPushCoinCode
|
|
(*CSPushCoinInfo)(nil), // 3: activity.CSPushCoinInfo
|
|
(*SCPushCoinInfo)(nil), // 4: activity.SCPushCoinInfo
|
|
(*ItemInfo)(nil), // 5: activity.ItemInfo
|
|
(*ExchangeInfo)(nil), // 6: activity.ExchangeInfo
|
|
(*DrawInfo)(nil), // 7: activity.DrawInfo
|
|
(*CSPushCoinPlayerOp)(nil), // 8: activity.CSPushCoinPlayerOp
|
|
(*SCPushCoinPlayerOp)(nil), // 9: activity.SCPushCoinPlayerOp
|
|
(*NotifyPowerLine)(nil), // 10: activity.NotifyPowerLine
|
|
}
|
|
var file_protocol_activity_pushcoin_proto_depIdxs = []int32{
|
|
6, // 0: activity.SCPushCoinInfo.ExchangeList:type_name -> activity.ExchangeInfo
|
|
7, // 1: activity.SCPushCoinInfo.DrawList:type_name -> activity.DrawInfo
|
|
5, // 2: activity.ExchangeInfo.Cost:type_name -> activity.ItemInfo
|
|
5, // 3: activity.ExchangeInfo.Gain:type_name -> activity.ItemInfo
|
|
1, // 4: activity.CSPushCoinPlayerOp.OpCode:type_name -> activity.OpCodes
|
|
5, // 5: activity.CSPushCoinPlayerOp.OpItem:type_name -> activity.ItemInfo
|
|
2, // 6: activity.SCPushCoinPlayerOp.OpRetCode:type_name -> activity.OpResultPushCoinCode
|
|
1, // 7: activity.SCPushCoinPlayerOp.OpCode:type_name -> activity.OpCodes
|
|
6, // 8: activity.SCPushCoinPlayerOp.Exchange:type_name -> activity.ExchangeInfo
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_protocol_activity_pushcoin_proto_init() }
|
|
func file_protocol_activity_pushcoin_proto_init() {
|
|
if File_protocol_activity_pushcoin_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_protocol_activity_pushcoin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSPushCoinInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCPushCoinInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ItemInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ExchangeInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DrawInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSPushCoinPlayerOp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCPushCoinPlayerOp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_pushcoin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NotifyPowerLine); 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_activity_pushcoin_proto_rawDesc,
|
|
NumEnums: 3,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_protocol_activity_pushcoin_proto_goTypes,
|
|
DependencyIndexes: file_protocol_activity_pushcoin_proto_depIdxs,
|
|
EnumInfos: file_protocol_activity_pushcoin_proto_enumTypes,
|
|
MessageInfos: file_protocol_activity_pushcoin_proto_msgTypes,
|
|
}.Build()
|
|
File_protocol_activity_pushcoin_proto = out.File
|
|
file_protocol_activity_pushcoin_proto_rawDesc = nil
|
|
file_protocol_activity_pushcoin_proto_goTypes = nil
|
|
file_protocol_activity_pushcoin_proto_depIdxs = nil
|
|
}
|