1093 lines
34 KiB
Go
1093 lines
34 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/rankmatch/rankmatch.proto
|
||
|
||
package rankmatch
|
||
|
||
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 RankMatch int32
|
||
|
||
const (
|
||
RankMatch_PACKET_RM_ZERO RankMatch = 0 //弃用消息号
|
||
// 玩家赛季信息
|
||
RankMatch_PACKET_RM_CSRMSeasonInfo RankMatch = 2780
|
||
RankMatch_PACKET_RM_SCRMSeasonInfo RankMatch = 2781
|
||
// 段位列表
|
||
RankMatch_PACKET_RM_CSRMRankConfig RankMatch = 2784
|
||
RankMatch_PACKET_RM_SCRMRankConfig RankMatch = 2785
|
||
// 赛季奖励
|
||
RankMatch_PACKET_RM_CSRMAwardConfig RankMatch = 2786
|
||
RankMatch_PACKET_RM_SCRMAwardConfig RankMatch = 2787
|
||
// 领取奖励
|
||
RankMatch_PACKET_RM_CSRMAward RankMatch = 2788
|
||
RankMatch_PACKET_RM_SCRMAward RankMatch = 2789
|
||
)
|
||
|
||
// Enum value maps for RankMatch.
|
||
var (
|
||
RankMatch_name = map[int32]string{
|
||
0: "PACKET_RM_ZERO",
|
||
2780: "PACKET_RM_CSRMSeasonInfo",
|
||
2781: "PACKET_RM_SCRMSeasonInfo",
|
||
2784: "PACKET_RM_CSRMRankConfig",
|
||
2785: "PACKET_RM_SCRMRankConfig",
|
||
2786: "PACKET_RM_CSRMAwardConfig",
|
||
2787: "PACKET_RM_SCRMAwardConfig",
|
||
2788: "PACKET_RM_CSRMAward",
|
||
2789: "PACKET_RM_SCRMAward",
|
||
}
|
||
RankMatch_value = map[string]int32{
|
||
"PACKET_RM_ZERO": 0,
|
||
"PACKET_RM_CSRMSeasonInfo": 2780,
|
||
"PACKET_RM_SCRMSeasonInfo": 2781,
|
||
"PACKET_RM_CSRMRankConfig": 2784,
|
||
"PACKET_RM_SCRMRankConfig": 2785,
|
||
"PACKET_RM_CSRMAwardConfig": 2786,
|
||
"PACKET_RM_SCRMAwardConfig": 2787,
|
||
"PACKET_RM_CSRMAward": 2788,
|
||
"PACKET_RM_SCRMAward": 2789,
|
||
}
|
||
)
|
||
|
||
func (x RankMatch) Enum() *RankMatch {
|
||
p := new(RankMatch)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x RankMatch) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (RankMatch) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_protocol_rankmatch_rankmatch_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (RankMatch) Type() protoreflect.EnumType {
|
||
return &file_protocol_rankmatch_rankmatch_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x RankMatch) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use RankMatch.Descriptor instead.
|
||
func (RankMatch) EnumDescriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
// 玩家赛季信息
|
||
// PACKET_RM_CSRMSeasonInfo
|
||
type CSRMSeasonInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
}
|
||
|
||
func (x *CSRMSeasonInfo) Reset() {
|
||
*x = CSRMSeasonInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CSRMSeasonInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CSRMSeasonInfo) ProtoMessage() {}
|
||
|
||
func (x *CSRMSeasonInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 CSRMSeasonInfo.ProtoReflect.Descriptor instead.
|
||
func (*CSRMSeasonInfo) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
type SeasonInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型
|
||
Lv int32 `protobuf:"varint,2,opt,name=Lv,proto3" json:"Lv,omitempty"` // 段位
|
||
Score int64 `protobuf:"varint,3,opt,name=Score,proto3" json:"Score,omitempty"` // 积分
|
||
LastLv int32 `protobuf:"varint,4,opt,name=LastLv,proto3" json:"LastLv,omitempty"` // 上赛季段位
|
||
LastScore int64 `protobuf:"varint,5,opt,name=LastScore,proto3" json:"LastScore,omitempty"` // 上赛季积分
|
||
Award *AwardItem `protobuf:"bytes,6,opt,name=Award,proto3" json:"Award,omitempty"` // 奖励列表
|
||
}
|
||
|
||
func (x *SeasonInfo) Reset() {
|
||
*x = SeasonInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SeasonInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SeasonInfo) ProtoMessage() {}
|
||
|
||
func (x *SeasonInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 SeasonInfo.ProtoReflect.Descriptor instead.
|
||
func (*SeasonInfo) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *SeasonInfo) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SeasonInfo) GetLv() int32 {
|
||
if x != nil {
|
||
return x.Lv
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SeasonInfo) GetScore() int64 {
|
||
if x != nil {
|
||
return x.Score
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SeasonInfo) GetLastLv() int32 {
|
||
if x != nil {
|
||
return x.LastLv
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SeasonInfo) GetLastScore() int64 {
|
||
if x != nil {
|
||
return x.LastScore
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SeasonInfo) GetAward() *AwardItem {
|
||
if x != nil {
|
||
return x.Award
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// PACKET_RM_SCRMSeasonInfo
|
||
type SCRMSeasonInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 赛季
|
||
TimeStamp []int64 `protobuf:"varint,2,rep,packed,name=TimeStamp,proto3" json:"TimeStamp,omitempty"` //(时间戳:开始时间戳-结束时间戳)
|
||
Seasons []*SeasonInfo `protobuf:"bytes,3,rep,name=Seasons,proto3" json:"Seasons,omitempty"` // 赛季信息
|
||
}
|
||
|
||
func (x *SCRMSeasonInfo) Reset() {
|
||
*x = SCRMSeasonInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCRMSeasonInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCRMSeasonInfo) ProtoMessage() {}
|
||
|
||
func (x *SCRMSeasonInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 SCRMSeasonInfo.ProtoReflect.Descriptor instead.
|
||
func (*SCRMSeasonInfo) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *SCRMSeasonInfo) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCRMSeasonInfo) GetTimeStamp() []int64 {
|
||
if x != nil {
|
||
return x.TimeStamp
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SCRMSeasonInfo) GetSeasons() []*SeasonInfo {
|
||
if x != nil {
|
||
return x.Seasons
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 段位列表
|
||
// PACKET_RM_CSRMRankConfig
|
||
type CSRMRankConfig struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型
|
||
}
|
||
|
||
func (x *CSRMRankConfig) Reset() {
|
||
*x = CSRMRankConfig{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CSRMRankConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CSRMRankConfig) ProtoMessage() {}
|
||
|
||
func (x *CSRMRankConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 CSRMRankConfig.ProtoReflect.Descriptor instead.
|
||
func (*CSRMRankConfig) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *CSRMRankConfig) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RankItem struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 段位id
|
||
Lv int32 `protobuf:"varint,2,opt,name=Lv,proto3" json:"Lv,omitempty"` // 段位等级
|
||
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` // 段位名称
|
||
Score int64 `protobuf:"varint,4,opt,name=Score,proto3" json:"Score,omitempty"` // 段位积分
|
||
}
|
||
|
||
func (x *RankItem) Reset() {
|
||
*x = RankItem{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *RankItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RankItem) ProtoMessage() {}
|
||
|
||
func (x *RankItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 RankItem.ProtoReflect.Descriptor instead.
|
||
func (*RankItem) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *RankItem) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RankItem) GetLv() int32 {
|
||
if x != nil {
|
||
return x.Lv
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RankItem) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RankItem) GetScore() int64 {
|
||
if x != nil {
|
||
return x.Score
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// PACKET_RM_SCRMRankConfig
|
||
type SCRMRankConfig struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Items []*RankItem `protobuf:"bytes,1,rep,name=Items,proto3" json:"Items,omitempty"` // 段位列表
|
||
}
|
||
|
||
func (x *SCRMRankConfig) Reset() {
|
||
*x = SCRMRankConfig{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCRMRankConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCRMRankConfig) ProtoMessage() {}
|
||
|
||
func (x *SCRMRankConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 SCRMRankConfig.ProtoReflect.Descriptor instead.
|
||
func (*SCRMRankConfig) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *SCRMRankConfig) GetItems() []*RankItem {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 赛季奖励配置
|
||
// PACKET_RM_CSRMAwardConfig
|
||
type CSRMAwardConfig struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型
|
||
}
|
||
|
||
func (x *CSRMAwardConfig) Reset() {
|
||
*x = CSRMAwardConfig{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CSRMAwardConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CSRMAwardConfig) ProtoMessage() {}
|
||
|
||
func (x *CSRMAwardConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 CSRMAwardConfig.ProtoReflect.Descriptor instead.
|
||
func (*CSRMAwardConfig) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *CSRMAwardConfig) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type Award struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 奖励类型 1 金币 2 钻石;其它值为道具id
|
||
Num int32 `protobuf:"varint,2,opt,name=Num,proto3" json:"Num,omitempty"` // 奖励数量
|
||
}
|
||
|
||
func (x *Award) Reset() {
|
||
*x = Award{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Award) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Award) ProtoMessage() {}
|
||
|
||
func (x *Award) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 Award.ProtoReflect.Descriptor instead.
|
||
func (*Award) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *Award) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Award) GetNum() int32 {
|
||
if x != nil {
|
||
return x.Num
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AwardItem struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 奖励id
|
||
Lv int32 `protobuf:"varint,2,opt,name=Lv,proto3" json:"Lv,omitempty"` // 段位等级
|
||
Awards []*Award `protobuf:"bytes,3,rep,name=Awards,proto3" json:"Awards,omitempty"` // 奖励列表
|
||
ReceiveType int32 `protobuf:"varint,4,opt,name=ReceiveType,proto3" json:"ReceiveType,omitempty"` // 领取类型; 0待达成 1 可领取 2已领取
|
||
Score int64 `protobuf:"varint,6,opt,name=Score,proto3" json:"Score,omitempty"` // 段位积分
|
||
}
|
||
|
||
func (x *AwardItem) Reset() {
|
||
*x = AwardItem{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *AwardItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AwardItem) ProtoMessage() {}
|
||
|
||
func (x *AwardItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 AwardItem.ProtoReflect.Descriptor instead.
|
||
func (*AwardItem) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *AwardItem) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AwardItem) GetLv() int32 {
|
||
if x != nil {
|
||
return x.Lv
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AwardItem) GetAwards() []*Award {
|
||
if x != nil {
|
||
return x.Awards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AwardItem) GetReceiveType() int32 {
|
||
if x != nil {
|
||
return x.ReceiveType
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AwardItem) GetScore() int64 {
|
||
if x != nil {
|
||
return x.Score
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// PACKET_RM_SCRMAwardConfig
|
||
type SCRMAwardConfig struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
List []*AwardItem `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"` // 奖励列表
|
||
}
|
||
|
||
func (x *SCRMAwardConfig) Reset() {
|
||
*x = SCRMAwardConfig{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCRMAwardConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCRMAwardConfig) ProtoMessage() {}
|
||
|
||
func (x *SCRMAwardConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 SCRMAwardConfig.ProtoReflect.Descriptor instead.
|
||
func (*SCRMAwardConfig) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *SCRMAwardConfig) GetList() []*AwardItem {
|
||
if x != nil {
|
||
return x.List
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 领取奖励
|
||
// PACKET_RM_CSRMAward
|
||
type CSRMAward struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型
|
||
AwardId int32 `protobuf:"varint,2,opt,name=AwardId,proto3" json:"AwardId,omitempty"` // 奖励id
|
||
}
|
||
|
||
func (x *CSRMAward) Reset() {
|
||
*x = CSRMAward{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CSRMAward) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CSRMAward) ProtoMessage() {}
|
||
|
||
func (x *CSRMAward) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 CSRMAward.ProtoReflect.Descriptor instead.
|
||
func (*CSRMAward) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *CSRMAward) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CSRMAward) GetAwardId() int32 {
|
||
if x != nil {
|
||
return x.AwardId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// PACKET_RM_SCRMAward
|
||
type SCRMAward struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` // 结果; 0成功 1失败
|
||
Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` // 奖励id
|
||
}
|
||
|
||
func (x *SCRMAward) Reset() {
|
||
*x = SCRMAward{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_rankmatch_rankmatch_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SCRMAward) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SCRMAward) ProtoMessage() {}
|
||
|
||
func (x *SCRMAward) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_rankmatch_rankmatch_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 SCRMAward.ProtoReflect.Descriptor instead.
|
||
func (*SCRMAward) Descriptor() ([]byte, []int) {
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *SCRMAward) GetCode() int32 {
|
||
if x != nil {
|
||
return x.Code
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SCRMAward) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_protocol_rankmatch_rankmatch_proto protoreflect.FileDescriptor
|
||
|
||
var file_protocol_rankmatch_rankmatch_proto_rawDesc = []byte{
|
||
0x0a, 0x22, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x61, 0x6e, 0x6b, 0x6d,
|
||
0x61, 0x74, 0x63, 0x68, 0x2f, 0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70,
|
||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x22,
|
||
0x10, 0x0a, 0x0e, 0x43, 0x53, 0x52, 0x4d, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66,
|
||
0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
|
||
0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64,
|
||
0x12, 0x0e, 0x0a, 0x02, 0x4c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x4c, 0x76,
|
||
0x12, 0x14, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||
0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4c, 0x61, 0x73, 0x74, 0x4c, 0x76,
|
||
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4c, 0x61, 0x73, 0x74, 0x4c, 0x76, 0x12, 0x1c,
|
||
0x0a, 0x09, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||
0x03, 0x52, 0x09, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2a, 0x0a, 0x05,
|
||
0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x61,
|
||
0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65,
|
||
0x6d, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x6f, 0x0a, 0x0e, 0x53, 0x43, 0x52, 0x4d,
|
||
0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69,
|
||
0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x54,
|
||
0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2f, 0x0a, 0x07, 0x53, 0x65, 0x61, 0x73,
|
||
0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x61, 0x6e, 0x6b,
|
||
0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
|
||
0x52, 0x07, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x0a, 0x0e, 0x43, 0x53, 0x52,
|
||
0x4d, 0x52, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x49,
|
||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x08, 0x52,
|
||
0x61, 0x6e, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x4c, 0x76, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x02, 0x4c, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53,
|
||
0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x53, 0x63, 0x6f, 0x72,
|
||
0x65, 0x22, 0x3b, 0x0a, 0x0e, 0x53, 0x43, 0x52, 0x4d, 0x52, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e,
|
||
0x66, 0x69, 0x67, 0x12, 0x29, 0x0a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x52,
|
||
0x61, 0x6e, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x21,
|
||
0x0a, 0x0f, 0x43, 0x53, 0x52, 0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||
0x67, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49,
|
||
0x64, 0x22, 0x29, 0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75,
|
||
0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x22, 0x8d, 0x01, 0x0a,
|
||
0x09, 0x41, 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x4c, 0x76,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x4c, 0x76, 0x12, 0x28, 0x0a, 0x06, 0x41, 0x77,
|
||
0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x61, 0x6e,
|
||
0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x06, 0x41, 0x77,
|
||
0x61, 0x72, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x54,
|
||
0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69,
|
||
0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x18,
|
||
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x3b, 0x0a, 0x0f,
|
||
0x53, 0x43, 0x52, 0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
|
||
0x28, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
||
0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x49,
|
||
0x74, 0x65, 0x6d, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x09, 0x43, 0x53, 0x52,
|
||
0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x77, 0x61, 0x72, 0x64, 0x49,
|
||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x41, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64,
|
||
0x22, 0x2f, 0x0a, 0x09, 0x53, 0x43, 0x52, 0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a,
|
||
0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64,
|
||
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49,
|
||
0x64, 0x2a, 0x8f, 0x02, 0x0a, 0x09, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12,
|
||
0x12, 0x0a, 0x0e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x5a, 0x45, 0x52,
|
||
0x4f, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d,
|
||
0x5f, 0x43, 0x53, 0x52, 0x4d, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10,
|
||
0xdc, 0x15, 0x12, 0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f,
|
||
0x53, 0x43, 0x52, 0x4d, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xdd,
|
||
0x15, 0x12, 0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x43,
|
||
0x53, 0x52, 0x4d, 0x52, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xe0, 0x15,
|
||
0x12, 0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x53, 0x43,
|
||
0x52, 0x4d, 0x52, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xe1, 0x15, 0x12,
|
||
0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x43, 0x53, 0x52,
|
||
0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xe2, 0x15, 0x12,
|
||
0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x53, 0x43, 0x52,
|
||
0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xe3, 0x15, 0x12,
|
||
0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x43, 0x53, 0x52,
|
||
0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xe4, 0x15, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43,
|
||
0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x53, 0x43, 0x52, 0x4d, 0x41, 0x77, 0x61, 0x72, 0x64,
|
||
0x10, 0xe5, 0x15, 0x42, 0x29, 0x5a, 0x27, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d,
|
||
0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
||
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x62, 0x06,
|
||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_protocol_rankmatch_rankmatch_proto_rawDescOnce sync.Once
|
||
file_protocol_rankmatch_rankmatch_proto_rawDescData = file_protocol_rankmatch_rankmatch_proto_rawDesc
|
||
)
|
||
|
||
func file_protocol_rankmatch_rankmatch_proto_rawDescGZIP() []byte {
|
||
file_protocol_rankmatch_rankmatch_proto_rawDescOnce.Do(func() {
|
||
file_protocol_rankmatch_rankmatch_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_rankmatch_rankmatch_proto_rawDescData)
|
||
})
|
||
return file_protocol_rankmatch_rankmatch_proto_rawDescData
|
||
}
|
||
|
||
var file_protocol_rankmatch_rankmatch_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
var file_protocol_rankmatch_rankmatch_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||
var file_protocol_rankmatch_rankmatch_proto_goTypes = []interface{}{
|
||
(RankMatch)(0), // 0: rankmatch.RankMatch
|
||
(*CSRMSeasonInfo)(nil), // 1: rankmatch.CSRMSeasonInfo
|
||
(*SeasonInfo)(nil), // 2: rankmatch.SeasonInfo
|
||
(*SCRMSeasonInfo)(nil), // 3: rankmatch.SCRMSeasonInfo
|
||
(*CSRMRankConfig)(nil), // 4: rankmatch.CSRMRankConfig
|
||
(*RankItem)(nil), // 5: rankmatch.RankItem
|
||
(*SCRMRankConfig)(nil), // 6: rankmatch.SCRMRankConfig
|
||
(*CSRMAwardConfig)(nil), // 7: rankmatch.CSRMAwardConfig
|
||
(*Award)(nil), // 8: rankmatch.Award
|
||
(*AwardItem)(nil), // 9: rankmatch.AwardItem
|
||
(*SCRMAwardConfig)(nil), // 10: rankmatch.SCRMAwardConfig
|
||
(*CSRMAward)(nil), // 11: rankmatch.CSRMAward
|
||
(*SCRMAward)(nil), // 12: rankmatch.SCRMAward
|
||
}
|
||
var file_protocol_rankmatch_rankmatch_proto_depIdxs = []int32{
|
||
9, // 0: rankmatch.SeasonInfo.Award:type_name -> rankmatch.AwardItem
|
||
2, // 1: rankmatch.SCRMSeasonInfo.Seasons:type_name -> rankmatch.SeasonInfo
|
||
5, // 2: rankmatch.SCRMRankConfig.Items:type_name -> rankmatch.RankItem
|
||
8, // 3: rankmatch.AwardItem.Awards:type_name -> rankmatch.Award
|
||
9, // 4: rankmatch.SCRMAwardConfig.List:type_name -> rankmatch.AwardItem
|
||
5, // [5:5] is the sub-list for method output_type
|
||
5, // [5:5] is the sub-list for method input_type
|
||
5, // [5:5] is the sub-list for extension type_name
|
||
5, // [5:5] is the sub-list for extension extendee
|
||
0, // [0:5] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_protocol_rankmatch_rankmatch_proto_init() }
|
||
func file_protocol_rankmatch_rankmatch_proto_init() {
|
||
if File_protocol_rankmatch_rankmatch_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CSRMSeasonInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SeasonInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCRMSeasonInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CSRMRankConfig); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*RankItem); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCRMRankConfig); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CSRMAwardConfig); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Award); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*AwardItem); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCRMAwardConfig); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CSRMAward); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_rankmatch_rankmatch_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SCRMAward); 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_rankmatch_rankmatch_proto_rawDesc,
|
||
NumEnums: 1,
|
||
NumMessages: 12,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_protocol_rankmatch_rankmatch_proto_goTypes,
|
||
DependencyIndexes: file_protocol_rankmatch_rankmatch_proto_depIdxs,
|
||
EnumInfos: file_protocol_rankmatch_rankmatch_proto_enumTypes,
|
||
MessageInfos: file_protocol_rankmatch_rankmatch_proto_msgTypes,
|
||
}.Build()
|
||
File_protocol_rankmatch_rankmatch_proto = out.File
|
||
file_protocol_rankmatch_rankmatch_proto_rawDesc = nil
|
||
file_protocol_rankmatch_rankmatch_proto_goTypes = nil
|
||
file_protocol_rankmatch_rankmatch_proto_depIdxs = nil
|
||
}
|