1329 lines
44 KiB
Go
1329 lines
44 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/nian.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 NianPacketID int32
|
|
|
|
const (
|
|
NianPacketID_PACKET_Nian_ZERO NianPacketID = 0 // 弃用消息号
|
|
NianPacketID_PACKET_CSNianData NianPacketID = 2660 // 获取年兽信息
|
|
NianPacketID_PACKET_SCNianData NianPacketID = 2661 // 返回年兽信息
|
|
NianPacketID_PACKET_CSNianBuff NianPacketID = 2662 // 请求领取BUFF
|
|
NianPacketID_PACKET_SCNianBuff NianPacketID = 2663 // 返回Buff信息
|
|
NianPacketID_PACKET_CSNianRankData NianPacketID = 2664 // 请求排行榜信息
|
|
NianPacketID_PACKET_SCNianRankData NianPacketID = 2665 // 返回排行榜信息
|
|
NianPacketID_PACKET_CSNianAttack NianPacketID = 2666 //请求攻击年兽
|
|
NianPacketID_PACKET_SCNianAttackData NianPacketID = 2667 //返回攻击年兽信息
|
|
NianPacketID_PACKET_CSNianSignAward NianPacketID = 2668 //请求签到
|
|
NianPacketID_PACKET_SCNianSignAward NianPacketID = 2669 //签到返回
|
|
NianPacketID_PACKET_CSNianChange NianPacketID = 2670 //请求兑换小爆竹
|
|
NianPacketID_PACKET_SCNianChange NianPacketID = 2671 //返回兑换道具
|
|
)
|
|
|
|
// Enum value maps for NianPacketID.
|
|
var (
|
|
NianPacketID_name = map[int32]string{
|
|
0: "PACKET_Nian_ZERO",
|
|
2660: "PACKET_CSNianData",
|
|
2661: "PACKET_SCNianData",
|
|
2662: "PACKET_CSNianBuff",
|
|
2663: "PACKET_SCNianBuff",
|
|
2664: "PACKET_CSNianRankData",
|
|
2665: "PACKET_SCNianRankData",
|
|
2666: "PACKET_CSNianAttack",
|
|
2667: "PACKET_SCNianAttackData",
|
|
2668: "PACKET_CSNianSignAward",
|
|
2669: "PACKET_SCNianSignAward",
|
|
2670: "PACKET_CSNianChange",
|
|
2671: "PACKET_SCNianChange",
|
|
}
|
|
NianPacketID_value = map[string]int32{
|
|
"PACKET_Nian_ZERO": 0,
|
|
"PACKET_CSNianData": 2660,
|
|
"PACKET_SCNianData": 2661,
|
|
"PACKET_CSNianBuff": 2662,
|
|
"PACKET_SCNianBuff": 2663,
|
|
"PACKET_CSNianRankData": 2664,
|
|
"PACKET_SCNianRankData": 2665,
|
|
"PACKET_CSNianAttack": 2666,
|
|
"PACKET_SCNianAttackData": 2667,
|
|
"PACKET_CSNianSignAward": 2668,
|
|
"PACKET_SCNianSignAward": 2669,
|
|
"PACKET_CSNianChange": 2670,
|
|
"PACKET_SCNianChange": 2671,
|
|
}
|
|
)
|
|
|
|
func (x NianPacketID) Enum() *NianPacketID {
|
|
p := new(NianPacketID)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x NianPacketID) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (NianPacketID) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_protocol_activity_nian_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (NianPacketID) Type() protoreflect.EnumType {
|
|
return &file_protocol_activity_nian_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x NianPacketID) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use NianPacketID.Descriptor instead.
|
|
func (NianPacketID) EnumDescriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//获取年兽活动信息
|
|
//PACKET_CSNianData
|
|
type CSNianData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CSNianData) Reset() {
|
|
*x = CSNianData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSNianData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSNianData) ProtoMessage() {}
|
|
|
|
func (x *CSNianData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 CSNianData.ProtoReflect.Descriptor instead.
|
|
func (*CSNianData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//PACKET_SCNianData
|
|
type SCNianData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ActivityStartTime int64 `protobuf:"varint,1,opt,name=ActivityStartTime,proto3" json:"ActivityStartTime,omitempty"` //活动开始时间
|
|
ActivityEndTime int64 `protobuf:"varint,2,opt,name=ActivityEndTime,proto3" json:"ActivityEndTime,omitempty"` //活动结束时间
|
|
BossMaxHp int64 `protobuf:"varint,3,opt,name=BossMaxHp,proto3" json:"BossMaxHp,omitempty"` //Boss最大血量
|
|
BossHp int64 `protobuf:"varint,4,opt,name=BossHp,proto3" json:"BossHp,omitempty"` //Boss当前血量
|
|
RankData []*NianRankData `protobuf:"bytes,5,rep,name=RankData,proto3" json:"RankData,omitempty"` //排行榜奖励配置
|
|
AwardTime int64 `protobuf:"varint,6,opt,name=AwardTime,proto3" json:"AwardTime,omitempty"` //每日签到领取时间
|
|
BuffCount int64 `protobuf:"varint,7,opt,name=BuffCount,proto3" json:"BuffCount,omitempty"` //Buff剩余次数
|
|
BuffStatus bool `protobuf:"varint,8,opt,name=BuffStatus,proto3" json:"BuffStatus,omitempty"` //Buff领取状态
|
|
SignAwardTime int64 `protobuf:"varint,9,opt,name=SignAwardTime,proto3" json:"SignAwardTime,omitempty"` //签到领取时间 0-未领取
|
|
BuffStartTime int64 `protobuf:"varint,10,opt,name=BuffStartTime,proto3" json:"BuffStartTime,omitempty"` //Buff开始领取时间
|
|
BuffEndTime int64 `protobuf:"varint,11,opt,name=BuffEndTime,proto3" json:"BuffEndTime,omitempty"` //Buff结束领取时间
|
|
ShopData []*ShopData `protobuf:"bytes,12,rep,name=shopData,proto3" json:"shopData,omitempty"` //购买礼包数量
|
|
}
|
|
|
|
func (x *SCNianData) Reset() {
|
|
*x = SCNianData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCNianData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCNianData) ProtoMessage() {}
|
|
|
|
func (x *SCNianData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 SCNianData.ProtoReflect.Descriptor instead.
|
|
func (*SCNianData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SCNianData) GetActivityStartTime() int64 {
|
|
if x != nil {
|
|
return x.ActivityStartTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetActivityEndTime() int64 {
|
|
if x != nil {
|
|
return x.ActivityEndTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetBossMaxHp() int64 {
|
|
if x != nil {
|
|
return x.BossMaxHp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetBossHp() int64 {
|
|
if x != nil {
|
|
return x.BossHp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetRankData() []*NianRankData {
|
|
if x != nil {
|
|
return x.RankData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCNianData) GetAwardTime() int64 {
|
|
if x != nil {
|
|
return x.AwardTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetBuffCount() int64 {
|
|
if x != nil {
|
|
return x.BuffCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetBuffStatus() bool {
|
|
if x != nil {
|
|
return x.BuffStatus
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SCNianData) GetSignAwardTime() int64 {
|
|
if x != nil {
|
|
return x.SignAwardTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetBuffStartTime() int64 {
|
|
if x != nil {
|
|
return x.BuffStartTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetBuffEndTime() int64 {
|
|
if x != nil {
|
|
return x.BuffEndTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianData) GetShopData() []*ShopData {
|
|
if x != nil {
|
|
return x.ShopData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShopData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ShopId int32 `protobuf:"varint,1,opt,name=ShopId,proto3" json:"ShopId,omitempty"` //shopId
|
|
ShopNum int32 `protobuf:"varint,2,opt,name=ShopNum,proto3" json:"ShopNum,omitempty"` //已购买次数 只保存有购买限制的礼包的数量
|
|
MaxShopNum int32 `protobuf:"varint,3,opt,name=MaxShopNum,proto3" json:"MaxShopNum,omitempty"` //最大购买次数 0-无限制
|
|
}
|
|
|
|
func (x *ShopData) Reset() {
|
|
*x = ShopData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ShopData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShopData) ProtoMessage() {}
|
|
|
|
func (x *ShopData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 ShopData.ProtoReflect.Descriptor instead.
|
|
func (*ShopData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ShopData) GetShopId() int32 {
|
|
if x != nil {
|
|
return x.ShopId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ShopData) GetShopNum() int32 {
|
|
if x != nil {
|
|
return x.ShopNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ShopData) GetMaxShopNum() int32 {
|
|
if x != nil {
|
|
return x.MaxShopNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//贺春
|
|
//请求领取BUFF
|
|
//PACKET_CSNianBuff
|
|
type CSNianBuff struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CSNianBuff) Reset() {
|
|
*x = CSNianBuff{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSNianBuff) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSNianBuff) ProtoMessage() {}
|
|
|
|
func (x *CSNianBuff) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 CSNianBuff.ProtoReflect.Descriptor instead.
|
|
func (*CSNianBuff) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
//PACKET_SCNianBuff
|
|
type SCNianBuff struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BuffCount int64 `protobuf:"varint,1,opt,name=BuffCount,proto3" json:"BuffCount,omitempty"` //BUFF剩余次数
|
|
}
|
|
|
|
func (x *SCNianBuff) Reset() {
|
|
*x = SCNianBuff{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCNianBuff) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCNianBuff) ProtoMessage() {}
|
|
|
|
func (x *SCNianBuff) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 SCNianBuff.ProtoReflect.Descriptor instead.
|
|
func (*SCNianBuff) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SCNianBuff) GetBuffCount() int64 {
|
|
if x != nil {
|
|
return x.BuffCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NianRankData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1-幸运榜 2-总榜
|
|
Data []*NianRankInfo `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`
|
|
}
|
|
|
|
func (x *NianRankData) Reset() {
|
|
*x = NianRankData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NianRankData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NianRankData) ProtoMessage() {}
|
|
|
|
func (x *NianRankData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 NianRankData.ProtoReflect.Descriptor instead.
|
|
func (*NianRankData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *NianRankData) GetTypeId() int32 {
|
|
if x != nil {
|
|
return x.TypeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NianRankData) GetData() []*NianRankInfo {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NianRankInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RankId int32 `protobuf:"varint,1,opt,name=RankId,proto3" json:"RankId,omitempty"`
|
|
Award []*RankAwardData `protobuf:"bytes,2,rep,name=Award,proto3" json:"Award,omitempty"`
|
|
}
|
|
|
|
func (x *NianRankInfo) Reset() {
|
|
*x = NianRankInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NianRankInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NianRankInfo) ProtoMessage() {}
|
|
|
|
func (x *NianRankInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 NianRankInfo.ProtoReflect.Descriptor instead.
|
|
func (*NianRankInfo) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *NianRankInfo) GetRankId() int32 {
|
|
if x != nil {
|
|
return x.RankId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NianRankInfo) GetAward() []*RankAwardData {
|
|
if x != nil {
|
|
return x.Award
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RankAwardData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ItemId int32 `protobuf:"varint,1,opt,name=ItemId,proto3" json:"ItemId,omitempty"`
|
|
ItemNum int64 `protobuf:"varint,2,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"`
|
|
}
|
|
|
|
func (x *RankAwardData) Reset() {
|
|
*x = RankAwardData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RankAwardData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RankAwardData) ProtoMessage() {}
|
|
|
|
func (x *RankAwardData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 RankAwardData.ProtoReflect.Descriptor instead.
|
|
func (*RankAwardData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *RankAwardData) GetItemId() int32 {
|
|
if x != nil {
|
|
return x.ItemId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RankAwardData) GetItemNum() int64 {
|
|
if x != nil {
|
|
return x.ItemNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//攻击年兽
|
|
//PACKET_CSNianAttack
|
|
type CSNianAttack struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1-小爆竹 2-小爆竹*10 3-大爆竹
|
|
}
|
|
|
|
func (x *CSNianAttack) Reset() {
|
|
*x = CSNianAttack{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSNianAttack) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSNianAttack) ProtoMessage() {}
|
|
|
|
func (x *CSNianAttack) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_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 CSNianAttack.ProtoReflect.Descriptor instead.
|
|
func (*CSNianAttack) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CSNianAttack) GetTypeId() int32 {
|
|
if x != nil {
|
|
return x.TypeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//PACKET_SCNianAttackData
|
|
type SCNianAttackData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1-小爆竹 2-小爆竹*10 3-大爆竹
|
|
BossHp int64 `protobuf:"varint,2,opt,name=BossHp,proto3" json:"BossHp,omitempty"` //BOSS当前血量
|
|
Award []*RankAwardData `protobuf:"bytes,3,rep,name=Award,proto3" json:"Award,omitempty"` //获得道具
|
|
AttackHp int64 `protobuf:"varint,4,opt,name=AttackHp,proto3" json:"AttackHp,omitempty"` // 攻击伤害
|
|
IsDie bool `protobuf:"varint,5,opt,name=IsDie,proto3" json:"IsDie,omitempty"` //BOSS是否死亡
|
|
DieAward []*RankAwardData `protobuf:"bytes,6,rep,name=DieAward,proto3" json:"DieAward,omitempty"` //BOSS死亡奖励
|
|
BuffCount int64 `protobuf:"varint,7,opt,name=BuffCount,proto3" json:"BuffCount,omitempty"` //BUFF剩余次数
|
|
ExtraDrop []*RankAwardData `protobuf:"bytes,8,rep,name=ExtraDrop,proto3" json:"ExtraDrop,omitempty"` //大爆竹额外掉落
|
|
FloorReward []*RankAwardData `protobuf:"bytes,9,rep,name=FloorReward,proto3" json:"FloorReward,omitempty"` //保底奖励
|
|
}
|
|
|
|
func (x *SCNianAttackData) Reset() {
|
|
*x = SCNianAttackData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCNianAttackData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCNianAttackData) ProtoMessage() {}
|
|
|
|
func (x *SCNianAttackData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[9]
|
|
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 SCNianAttackData.ProtoReflect.Descriptor instead.
|
|
func (*SCNianAttackData) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetTypeId() int32 {
|
|
if x != nil {
|
|
return x.TypeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetBossHp() int64 {
|
|
if x != nil {
|
|
return x.BossHp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetAward() []*RankAwardData {
|
|
if x != nil {
|
|
return x.Award
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetAttackHp() int64 {
|
|
if x != nil {
|
|
return x.AttackHp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetIsDie() bool {
|
|
if x != nil {
|
|
return x.IsDie
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetDieAward() []*RankAwardData {
|
|
if x != nil {
|
|
return x.DieAward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetBuffCount() int64 {
|
|
if x != nil {
|
|
return x.BuffCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetExtraDrop() []*RankAwardData {
|
|
if x != nil {
|
|
return x.ExtraDrop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCNianAttackData) GetFloorReward() []*RankAwardData {
|
|
if x != nil {
|
|
return x.FloorReward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//领取签到奖励
|
|
//PACKET_CSNianSignAward
|
|
type CSNianSignAward struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CSNianSignAward) Reset() {
|
|
*x = CSNianSignAward{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSNianSignAward) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSNianSignAward) ProtoMessage() {}
|
|
|
|
func (x *CSNianSignAward) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[10]
|
|
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 CSNianSignAward.ProtoReflect.Descriptor instead.
|
|
func (*CSNianSignAward) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
//PACKET_SCNianSignAward
|
|
type SCNianSignAward struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SignAwardTime int64 `protobuf:"varint,1,opt,name=SignAwardTime,proto3" json:"SignAwardTime,omitempty"`
|
|
SignAward []*RankAwardData `protobuf:"bytes,2,rep,name=SignAward,proto3" json:"SignAward,omitempty"` //签到奖励
|
|
}
|
|
|
|
func (x *SCNianSignAward) Reset() {
|
|
*x = SCNianSignAward{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCNianSignAward) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCNianSignAward) ProtoMessage() {}
|
|
|
|
func (x *SCNianSignAward) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[11]
|
|
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 SCNianSignAward.ProtoReflect.Descriptor instead.
|
|
func (*SCNianSignAward) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *SCNianSignAward) GetSignAwardTime() int64 {
|
|
if x != nil {
|
|
return x.SignAwardTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianSignAward) GetSignAward() []*RankAwardData {
|
|
if x != nil {
|
|
return x.SignAward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//兑换
|
|
//PACKET_CSNianChange
|
|
type CSNianChange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Num int32 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num,omitempty"`
|
|
}
|
|
|
|
func (x *CSNianChange) Reset() {
|
|
*x = CSNianChange{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSNianChange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSNianChange) ProtoMessage() {}
|
|
|
|
func (x *CSNianChange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[12]
|
|
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 CSNianChange.ProtoReflect.Descriptor instead.
|
|
func (*CSNianChange) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *CSNianChange) GetNum() int32 {
|
|
if x != nil {
|
|
return x.Num
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//PACKET_SCNianChange
|
|
type SCNianChange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Num int32 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num,omitempty"`
|
|
Award []*RankAwardData `protobuf:"bytes,2,rep,name=Award,proto3" json:"Award,omitempty"`
|
|
}
|
|
|
|
func (x *SCNianChange) Reset() {
|
|
*x = SCNianChange{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCNianChange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCNianChange) ProtoMessage() {}
|
|
|
|
func (x *SCNianChange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_activity_nian_proto_msgTypes[13]
|
|
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 SCNianChange.ProtoReflect.Descriptor instead.
|
|
func (*SCNianChange) Descriptor() ([]byte, []int) {
|
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SCNianChange) GetNum() int32 {
|
|
if x != nil {
|
|
return x.Num
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNianChange) GetAward() []*RankAwardData {
|
|
if x != nil {
|
|
return x.Award
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_protocol_activity_nian_proto protoreflect.FileDescriptor
|
|
|
|
var file_protocol_activity_nian_proto_rawDesc = []byte{
|
|
0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
0x69, 0x74, 0x79, 0x2f, 0x6e, 0x69, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
|
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x0c, 0x0a, 0x0a, 0x43, 0x53, 0x4e, 0x69,
|
|
0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x22, 0xc8, 0x03, 0x0a, 0x0a, 0x53, 0x43, 0x4e, 0x69, 0x61,
|
|
0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x11, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x11, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54,
|
|
0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x45,
|
|
0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
|
|
0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x42,
|
|
0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x6f, 0x73,
|
|
0x73, 0x48, 0x70, 0x12, 0x32, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x18,
|
|
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
|
0x2e, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x77, 0x61, 0x72, 0x64,
|
|
0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x41, 0x77, 0x61, 0x72,
|
|
0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64,
|
|
0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x53, 0x69, 0x67, 0x6e,
|
|
0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x42, 0x75, 0x66,
|
|
0x66, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x0d, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
0x20, 0x0a, 0x0b, 0x42, 0x75, 0x66, 0x66, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x42, 0x75, 0x66, 0x66, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d,
|
|
0x65, 0x12, 0x2e, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x53,
|
|
0x68, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x44, 0x61, 0x74,
|
|
0x61, 0x22, 0x5c, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a,
|
|
0x06, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53,
|
|
0x68, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x70, 0x4e, 0x75, 0x6d,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x53, 0x68, 0x6f, 0x70, 0x4e, 0x75, 0x6d, 0x12,
|
|
0x1e, 0x0a, 0x0a, 0x4d, 0x61, 0x78, 0x53, 0x68, 0x6f, 0x70, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x0a, 0x4d, 0x61, 0x78, 0x53, 0x68, 0x6f, 0x70, 0x4e, 0x75, 0x6d, 0x22,
|
|
0x0c, 0x0a, 0x0a, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x22, 0x2a, 0x0a,
|
|
0x0a, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x42,
|
|
0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
|
0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x52, 0x0a, 0x0c, 0x4e, 0x69, 0x61,
|
|
0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 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, 0x2a, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x16, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x4e, 0x69, 0x61, 0x6e, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x55, 0x0a,
|
|
0x0c, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a,
|
|
0x06, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e,
|
|
0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41,
|
|
0x77, 0x61, 0x72, 0x64, 0x22, 0x41, 0x0a, 0x0d, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72,
|
|
0x64, 0x44, 0x61, 0x74, 0x61, 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, 0x03, 0x52, 0x07,
|
|
0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x22, 0x26, 0x0a, 0x0c, 0x43, 0x53, 0x4e, 0x69, 0x61,
|
|
0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22,
|
|
0xe8, 0x02, 0x0a, 0x10, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
|
0x44, 0x61, 0x74, 0x61, 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, 0x16, 0x0a, 0x06,
|
|
0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x6f,
|
|
0x73, 0x73, 0x48, 0x70, 0x12, 0x2d, 0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77,
|
|
0x61, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x70, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x70, 0x12,
|
|
0x14, 0x0a, 0x05, 0x49, 0x73, 0x44, 0x69, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
|
|
0x49, 0x73, 0x44, 0x69, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x44, 0x69, 0x65, 0x41, 0x77, 0x61, 0x72,
|
|
0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
|
|
0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61,
|
|
0x52, 0x08, 0x44, 0x69, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75,
|
|
0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42,
|
|
0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x45, 0x78, 0x74, 0x72,
|
|
0x61, 0x44, 0x72, 0x6f, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64,
|
|
0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x45, 0x78, 0x74, 0x72, 0x61, 0x44, 0x72, 0x6f, 0x70, 0x12,
|
|
0x39, 0x0a, 0x0b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e,
|
|
0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x46,
|
|
0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x53,
|
|
0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x6e, 0x0a,
|
|
0x0f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64,
|
|
0x12, 0x24, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61,
|
|
0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77,
|
|
0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69,
|
|
0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61,
|
|
0x74, 0x61, 0x52, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x20, 0x0a,
|
|
0x0c, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a,
|
|
0x03, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x22,
|
|
0x4f, 0x0a, 0x0c, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
|
|
0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75,
|
|
0x6d, 0x12, 0x2d, 0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b,
|
|
0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64,
|
|
0x2a, 0xe2, 0x02, 0x0a, 0x0c, 0x4e, 0x69, 0x61, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49,
|
|
0x44, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x69, 0x61, 0x6e,
|
|
0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
|
0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe4, 0x14, 0x12,
|
|
0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e,
|
|
0x44, 0x61, 0x74, 0x61, 0x10, 0xe5, 0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
|
0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x10, 0xe6, 0x14, 0x12,
|
|
0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e,
|
|
0x42, 0x75, 0x66, 0x66, 0x10, 0xe7, 0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
|
0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61,
|
|
0x10, 0xe8, 0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43,
|
|
0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe9, 0x14, 0x12,
|
|
0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e,
|
|
0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x10, 0xea, 0x14, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43,
|
|
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
|
0x44, 0x61, 0x74, 0x61, 0x10, 0xeb, 0x14, 0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
|
0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72,
|
|
0x64, 0x10, 0xec, 0x14, 0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
|
|
0x43, 0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xed,
|
|
0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69,
|
|
0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xee, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50,
|
|
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x67, 0x65, 0x10, 0xef, 0x14, 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_nian_proto_rawDescOnce sync.Once
|
|
file_protocol_activity_nian_proto_rawDescData = file_protocol_activity_nian_proto_rawDesc
|
|
)
|
|
|
|
func file_protocol_activity_nian_proto_rawDescGZIP() []byte {
|
|
file_protocol_activity_nian_proto_rawDescOnce.Do(func() {
|
|
file_protocol_activity_nian_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_activity_nian_proto_rawDescData)
|
|
})
|
|
return file_protocol_activity_nian_proto_rawDescData
|
|
}
|
|
|
|
var file_protocol_activity_nian_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_protocol_activity_nian_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_protocol_activity_nian_proto_goTypes = []interface{}{
|
|
(NianPacketID)(0), // 0: activity.NianPacketID
|
|
(*CSNianData)(nil), // 1: activity.CSNianData
|
|
(*SCNianData)(nil), // 2: activity.SCNianData
|
|
(*ShopData)(nil), // 3: activity.ShopData
|
|
(*CSNianBuff)(nil), // 4: activity.CSNianBuff
|
|
(*SCNianBuff)(nil), // 5: activity.SCNianBuff
|
|
(*NianRankData)(nil), // 6: activity.NianRankData
|
|
(*NianRankInfo)(nil), // 7: activity.NianRankInfo
|
|
(*RankAwardData)(nil), // 8: activity.RankAwardData
|
|
(*CSNianAttack)(nil), // 9: activity.CSNianAttack
|
|
(*SCNianAttackData)(nil), // 10: activity.SCNianAttackData
|
|
(*CSNianSignAward)(nil), // 11: activity.CSNianSignAward
|
|
(*SCNianSignAward)(nil), // 12: activity.SCNianSignAward
|
|
(*CSNianChange)(nil), // 13: activity.CSNianChange
|
|
(*SCNianChange)(nil), // 14: activity.SCNianChange
|
|
}
|
|
var file_protocol_activity_nian_proto_depIdxs = []int32{
|
|
6, // 0: activity.SCNianData.RankData:type_name -> activity.NianRankData
|
|
3, // 1: activity.SCNianData.shopData:type_name -> activity.ShopData
|
|
7, // 2: activity.NianRankData.Data:type_name -> activity.NianRankInfo
|
|
8, // 3: activity.NianRankInfo.Award:type_name -> activity.RankAwardData
|
|
8, // 4: activity.SCNianAttackData.Award:type_name -> activity.RankAwardData
|
|
8, // 5: activity.SCNianAttackData.DieAward:type_name -> activity.RankAwardData
|
|
8, // 6: activity.SCNianAttackData.ExtraDrop:type_name -> activity.RankAwardData
|
|
8, // 7: activity.SCNianAttackData.FloorReward:type_name -> activity.RankAwardData
|
|
8, // 8: activity.SCNianSignAward.SignAward:type_name -> activity.RankAwardData
|
|
8, // 9: activity.SCNianChange.Award:type_name -> activity.RankAwardData
|
|
10, // [10:10] is the sub-list for method output_type
|
|
10, // [10:10] is the sub-list for method input_type
|
|
10, // [10:10] is the sub-list for extension type_name
|
|
10, // [10:10] is the sub-list for extension extendee
|
|
0, // [0:10] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_protocol_activity_nian_proto_init() }
|
|
func file_protocol_activity_nian_proto_init() {
|
|
if File_protocol_activity_nian_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_protocol_activity_nian_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSNianData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCNianData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ShopData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSNianBuff); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCNianBuff); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NianRankData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NianRankInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RankAwardData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSNianAttack); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCNianAttackData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSNianSignAward); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCNianSignAward); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSNianChange); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_activity_nian_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCNianChange); 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_nian_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_protocol_activity_nian_proto_goTypes,
|
|
DependencyIndexes: file_protocol_activity_nian_proto_depIdxs,
|
|
EnumInfos: file_protocol_activity_nian_proto_enumTypes,
|
|
MessageInfos: file_protocol_activity_nian_proto_msgTypes,
|
|
}.Build()
|
|
File_protocol_activity_nian_proto = out.File
|
|
file_protocol_activity_nian_proto_rawDesc = nil
|
|
file_protocol_activity_nian_proto_goTypes = nil
|
|
file_protocol_activity_nian_proto_depIdxs = nil
|
|
}
|