1774 lines
52 KiB
Go
1774 lines
52 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1-devel
|
|
// protoc v3.19.4
|
|
// source: rank.proto
|
|
|
|
package rank
|
|
|
|
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 Rank int32
|
|
|
|
const (
|
|
Rank_PACKET_RANK_ZERO Rank = 0 //弃用消息号
|
|
// 排位榜
|
|
Rank_PACKET_RANK_CSRankMatch Rank = 10000
|
|
Rank_PACKET_RANK_SCRankMatch Rank = 10001
|
|
// 财富榜(金币榜)
|
|
Rank_PACKET_RANK_CSCoin Rank = 10002
|
|
Rank_PACKET_RANK_SCCoin Rank = 10003
|
|
// 邀请积分排行榜
|
|
Rank_PACKET_RANK_CSInvite Rank = 10004
|
|
Rank_PACKET_RANK_SCInvite Rank = 10005
|
|
// 邀请记录
|
|
Rank_PACKET_CSInviteLog Rank = 10006
|
|
Rank_PACKET_SCInviteLog Rank = 10007
|
|
// 收入榜
|
|
Rank_PACKET_RANK_CSWinCoin Rank = 10008
|
|
Rank_PACKET_RANK_SCWinCoin Rank = 10009
|
|
)
|
|
|
|
// Enum value maps for Rank.
|
|
var (
|
|
Rank_name = map[int32]string{
|
|
0: "PACKET_RANK_ZERO",
|
|
10000: "PACKET_RANK_CSRankMatch",
|
|
10001: "PACKET_RANK_SCRankMatch",
|
|
10002: "PACKET_RANK_CSCoin",
|
|
10003: "PACKET_RANK_SCCoin",
|
|
10004: "PACKET_RANK_CSInvite",
|
|
10005: "PACKET_RANK_SCInvite",
|
|
10006: "PACKET_CSInviteLog",
|
|
10007: "PACKET_SCInviteLog",
|
|
10008: "PACKET_RANK_CSWinCoin",
|
|
10009: "PACKET_RANK_SCWinCoin",
|
|
}
|
|
Rank_value = map[string]int32{
|
|
"PACKET_RANK_ZERO": 0,
|
|
"PACKET_RANK_CSRankMatch": 10000,
|
|
"PACKET_RANK_SCRankMatch": 10001,
|
|
"PACKET_RANK_CSCoin": 10002,
|
|
"PACKET_RANK_SCCoin": 10003,
|
|
"PACKET_RANK_CSInvite": 10004,
|
|
"PACKET_RANK_SCInvite": 10005,
|
|
"PACKET_CSInviteLog": 10006,
|
|
"PACKET_SCInviteLog": 10007,
|
|
"PACKET_RANK_CSWinCoin": 10008,
|
|
"PACKET_RANK_SCWinCoin": 10009,
|
|
}
|
|
)
|
|
|
|
func (x Rank) Enum() *Rank {
|
|
p := new(Rank)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Rank) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Rank) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rank_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Rank) Type() protoreflect.EnumType {
|
|
return &file_rank_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Rank) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Rank.Descriptor instead.
|
|
func (Rank) EnumDescriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type RankInvite int32
|
|
|
|
const (
|
|
RankInvite_InviteType_None RankInvite = 0
|
|
RankInvite_InviteType_Total RankInvite = 1 //总榜
|
|
RankInvite_InviteType_Week RankInvite = 2 //周榜
|
|
RankInvite_InviteType_Month RankInvite = 3 //月榜
|
|
RankInvite_InviteType_Max RankInvite = 4
|
|
)
|
|
|
|
// Enum value maps for RankInvite.
|
|
var (
|
|
RankInvite_name = map[int32]string{
|
|
0: "InviteType_None",
|
|
1: "InviteType_Total",
|
|
2: "InviteType_Week",
|
|
3: "InviteType_Month",
|
|
4: "InviteType_Max",
|
|
}
|
|
RankInvite_value = map[string]int32{
|
|
"InviteType_None": 0,
|
|
"InviteType_Total": 1,
|
|
"InviteType_Week": 2,
|
|
"InviteType_Month": 3,
|
|
"InviteType_Max": 4,
|
|
}
|
|
)
|
|
|
|
func (x RankInvite) Enum() *RankInvite {
|
|
p := new(RankInvite)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x RankInvite) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (RankInvite) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rank_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (RankInvite) Type() protoreflect.EnumType {
|
|
return &file_rank_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x RankInvite) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use RankInvite.Descriptor instead.
|
|
func (RankInvite) EnumDescriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// 排位榜
|
|
// PACKET_RANK_CSRankMatch
|
|
type CSRankMatch struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型
|
|
Page int32 `protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"` // 页数
|
|
PageSize int32 `protobuf:"varint,3,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 每页数量
|
|
}
|
|
|
|
func (x *CSRankMatch) Reset() {
|
|
*x = CSRankMatch{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSRankMatch) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSRankMatch) ProtoMessage() {}
|
|
|
|
func (x *CSRankMatch) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 CSRankMatch.ProtoReflect.Descriptor instead.
|
|
func (*CSRankMatch) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CSRankMatch) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSRankMatch) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSRankMatch) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SeasonRank struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"` // 玩家id
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 昵称
|
|
Lv int32 `protobuf:"varint,3,opt,name=Lv,proto3" json:"Lv,omitempty"` //段位
|
|
Rank int32 `protobuf:"varint,4,opt,name=Rank,proto3" json:"Rank,omitempty"` //段位排名
|
|
Sex int32 `protobuf:"varint,5,opt,name=Sex,proto3" json:"Sex,omitempty"` // 性别
|
|
HeadUrl string `protobuf:"bytes,6,opt,name=HeadUrl,proto3" json:"HeadUrl,omitempty"` // 头像
|
|
Coin int64 `protobuf:"varint,7,opt,name=Coin,proto3" json:"Coin,omitempty"` // 金币余额
|
|
Score int64 `protobuf:"varint,8,opt,name=Score,proto3" json:"Score,omitempty"` // 积分
|
|
ModId int32 `protobuf:"varint,9,opt,name=ModId,proto3" json:"ModId,omitempty"` // 角色id
|
|
}
|
|
|
|
func (x *SeasonRank) Reset() {
|
|
*x = SeasonRank{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SeasonRank) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SeasonRank) ProtoMessage() {}
|
|
|
|
func (x *SeasonRank) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 SeasonRank.ProtoReflect.Descriptor instead.
|
|
func (*SeasonRank) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SeasonRank) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SeasonRank) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SeasonRank) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SeasonRank) GetRank() int32 {
|
|
if x != nil {
|
|
return x.Rank
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SeasonRank) GetSex() int32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SeasonRank) GetHeadUrl() string {
|
|
if x != nil {
|
|
return x.HeadUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SeasonRank) GetCoin() int64 {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SeasonRank) GetScore() int64 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SeasonRank) GetModId() int32 {
|
|
if x != nil {
|
|
return x.ModId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_RANK_SCRankMatch
|
|
type SCRankMatch struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ranks []*SeasonRank `protobuf:"bytes,1,rep,name=Ranks,proto3" json:"Ranks,omitempty"` // 排行榜
|
|
Me *SeasonRank `protobuf:"bytes,2,opt,name=Me,proto3" json:"Me,omitempty"` // 玩家自己的排行信息
|
|
Page int32 `protobuf:"varint,3,opt,name=Page,proto3" json:"Page,omitempty"` // 页数
|
|
PageSize int32 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 每页数量
|
|
Total int32 `protobuf:"varint,5,opt,name=Total,proto3" json:"Total,omitempty"` // 总数量
|
|
}
|
|
|
|
func (x *SCRankMatch) Reset() {
|
|
*x = SCRankMatch{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCRankMatch) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCRankMatch) ProtoMessage() {}
|
|
|
|
func (x *SCRankMatch) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 SCRankMatch.ProtoReflect.Descriptor instead.
|
|
func (*SCRankMatch) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SCRankMatch) GetRanks() []*SeasonRank {
|
|
if x != nil {
|
|
return x.Ranks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCRankMatch) GetMe() *SeasonRank {
|
|
if x != nil {
|
|
return x.Me
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCRankMatch) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCRankMatch) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCRankMatch) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 财富榜(金币榜)
|
|
// PACKET_RANK_CSCoin
|
|
type CSCoin struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Page int32 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` // 页数
|
|
PageSize int32 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 每页数量
|
|
}
|
|
|
|
func (x *CSCoin) Reset() {
|
|
*x = CSCoin{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSCoin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSCoin) ProtoMessage() {}
|
|
|
|
func (x *CSCoin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 CSCoin.ProtoReflect.Descriptor instead.
|
|
func (*CSCoin) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CSCoin) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSCoin) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PlayerCoin struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"` // 玩家id
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 昵称
|
|
Sex int32 `protobuf:"varint,3,opt,name=Sex,proto3" json:"Sex,omitempty"` // 性别
|
|
HeadUrl string `protobuf:"bytes,4,opt,name=HeadUrl,proto3" json:"HeadUrl,omitempty"` // 头像
|
|
Coin int64 `protobuf:"varint,5,opt,name=Coin,proto3" json:"Coin,omitempty"` // 金币余额
|
|
Rank int32 `protobuf:"varint,6,opt,name=Rank,proto3" json:"Rank,omitempty"` // 排名
|
|
ModId int32 `protobuf:"varint,7,opt,name=ModId,proto3" json:"ModId,omitempty"` // 角色id
|
|
}
|
|
|
|
func (x *PlayerCoin) Reset() {
|
|
*x = PlayerCoin{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlayerCoin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlayerCoin) ProtoMessage() {}
|
|
|
|
func (x *PlayerCoin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 PlayerCoin.ProtoReflect.Descriptor instead.
|
|
func (*PlayerCoin) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *PlayerCoin) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerCoin) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerCoin) GetSex() int32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerCoin) GetHeadUrl() string {
|
|
if x != nil {
|
|
return x.HeadUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerCoin) GetCoin() int64 {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerCoin) GetRank() int32 {
|
|
if x != nil {
|
|
return x.Rank
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerCoin) GetModId() int32 {
|
|
if x != nil {
|
|
return x.ModId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_RANK_SCCoin
|
|
type SCCoin struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ranks []*PlayerCoin `protobuf:"bytes,1,rep,name=Ranks,proto3" json:"Ranks,omitempty"` // 排行榜
|
|
Me *PlayerCoin `protobuf:"bytes,2,opt,name=Me,proto3" json:"Me,omitempty"` // 玩家自己的排行信息
|
|
Page int32 `protobuf:"varint,3,opt,name=Page,proto3" json:"Page,omitempty"` // 页数
|
|
PageSize int32 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 每页数量
|
|
Total int32 `protobuf:"varint,5,opt,name=Total,proto3" json:"Total,omitempty"` // 总数量
|
|
}
|
|
|
|
func (x *SCCoin) Reset() {
|
|
*x = SCCoin{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCCoin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCCoin) ProtoMessage() {}
|
|
|
|
func (x *SCCoin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 SCCoin.ProtoReflect.Descriptor instead.
|
|
func (*SCCoin) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SCCoin) GetRanks() []*PlayerCoin {
|
|
if x != nil {
|
|
return x.Ranks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCCoin) GetMe() *PlayerCoin {
|
|
if x != nil {
|
|
return x.Me
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCCoin) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCoin) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCCoin) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_RANK_CSInvite
|
|
type CSInvite struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型 1:总榜 2:周榜 3:月榜
|
|
Skip int32 `protobuf:"varint,2,opt,name=Skip,proto3" json:"Skip,omitempty"` // 偏移量
|
|
Limit int32 `protobuf:"varint,3,opt,name=Limit,proto3" json:"Limit,omitempty"` // 请求数量
|
|
}
|
|
|
|
func (x *CSInvite) Reset() {
|
|
*x = CSInvite{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSInvite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSInvite) ProtoMessage() {}
|
|
|
|
func (x *CSInvite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 CSInvite.ProtoReflect.Descriptor instead.
|
|
func (*CSInvite) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CSInvite) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSInvite) GetSkip() int32 {
|
|
if x != nil {
|
|
return x.Skip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSInvite) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InviteRank struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"` // 玩家id
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 昵称
|
|
Rank int32 `protobuf:"varint,3,opt,name=Rank,proto3" json:"Rank,omitempty"` //段位排名
|
|
Score int64 `protobuf:"varint,4,opt,name=Score,proto3" json:"Score,omitempty"` // 积分
|
|
InviteNum int32 `protobuf:"varint,5,opt,name=InviteNum,proto3" json:"InviteNum,omitempty"` // 邀请人数
|
|
ModId int32 `protobuf:"varint,6,opt,name=ModId,proto3" json:"ModId,omitempty"` // 头像模型
|
|
}
|
|
|
|
func (x *InviteRank) Reset() {
|
|
*x = InviteRank{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InviteRank) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InviteRank) ProtoMessage() {}
|
|
|
|
func (x *InviteRank) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 InviteRank.ProtoReflect.Descriptor instead.
|
|
func (*InviteRank) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *InviteRank) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteRank) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InviteRank) GetRank() int32 {
|
|
if x != nil {
|
|
return x.Rank
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteRank) GetScore() int64 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteRank) GetInviteNum() int32 {
|
|
if x != nil {
|
|
return x.InviteNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteRank) GetModId() int32 {
|
|
if x != nil {
|
|
return x.ModId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_RANK_SCInvite
|
|
type SCInvite struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 排位类型 1:总榜 2:周榜 3:月榜
|
|
Ranks []*InviteRank `protobuf:"bytes,2,rep,name=Ranks,proto3" json:"Ranks,omitempty"` // 排行榜
|
|
Me *InviteRank `protobuf:"bytes,3,opt,name=Me,proto3" json:"Me,omitempty"` // 玩家自己的排行信息
|
|
Skip int32 `protobuf:"varint,4,opt,name=Skip,proto3" json:"Skip,omitempty"` // 偏移量
|
|
IsEndNum bool `protobuf:"varint,5,opt,name=IsEndNum,proto3" json:"IsEndNum,omitempty"`
|
|
RankMaxNum int32 `protobuf:"varint,6,opt,name=RankMaxNum,proto3" json:"RankMaxNum,omitempty"` // 排行榜最大上限
|
|
}
|
|
|
|
func (x *SCInvite) Reset() {
|
|
*x = SCInvite{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCInvite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCInvite) ProtoMessage() {}
|
|
|
|
func (x *SCInvite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 SCInvite.ProtoReflect.Descriptor instead.
|
|
func (*SCInvite) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SCInvite) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCInvite) GetRanks() []*InviteRank {
|
|
if x != nil {
|
|
return x.Ranks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCInvite) GetMe() *InviteRank {
|
|
if x != nil {
|
|
return x.Me
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCInvite) GetSkip() int32 {
|
|
if x != nil {
|
|
return x.Skip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCInvite) GetIsEndNum() bool {
|
|
if x != nil {
|
|
return x.IsEndNum
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SCInvite) GetRankMaxNum() int32 {
|
|
if x != nil {
|
|
return x.RankMaxNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GateTransmit struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Platform string `protobuf:"bytes,1,opt,name=Platform,proto3" json:"Platform,omitempty"`
|
|
Snid int32 `protobuf:"varint,2,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
|
PacketData []byte `protobuf:"bytes,3,opt,name=PacketData,proto3" json:"PacketData,omitempty"`
|
|
}
|
|
|
|
func (x *GateTransmit) Reset() {
|
|
*x = GateTransmit{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GateTransmit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GateTransmit) ProtoMessage() {}
|
|
|
|
func (x *GateTransmit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 GateTransmit.ProtoReflect.Descriptor instead.
|
|
func (*GateTransmit) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GateTransmit) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GateTransmit) GetSnid() int32 {
|
|
if x != nil {
|
|
return x.Snid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GateTransmit) GetPacketData() []byte {
|
|
if x != nil {
|
|
return x.PacketData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InviteInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
SnId int32 `protobuf:"varint,2,opt,name=SnId,proto3" json:"SnId,omitempty"`
|
|
CreateTs int64 `protobuf:"varint,3,opt,name=CreateTs,proto3" json:"CreateTs,omitempty"`
|
|
Score int64 `protobuf:"varint,4,opt,name=Score,proto3" json:"Score,omitempty"`
|
|
ModId int32 `protobuf:"varint,5,opt,name=ModId,proto3" json:"ModId,omitempty"`
|
|
}
|
|
|
|
func (x *InviteInfo) Reset() {
|
|
*x = InviteInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InviteInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InviteInfo) ProtoMessage() {}
|
|
|
|
func (x *InviteInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 InviteInfo.ProtoReflect.Descriptor instead.
|
|
func (*InviteInfo) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *InviteInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InviteInfo) GetSnId() int32 {
|
|
if x != nil {
|
|
return x.SnId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteInfo) GetCreateTs() int64 {
|
|
if x != nil {
|
|
return x.CreateTs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteInfo) GetScore() int64 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InviteInfo) GetModId() int32 {
|
|
if x != nil {
|
|
return x.ModId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_CSInviteLog
|
|
type CSInviteLog struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Skip int32 `protobuf:"varint,1,opt,name=Skip,proto3" json:"Skip,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
}
|
|
|
|
func (x *CSInviteLog) Reset() {
|
|
*x = CSInviteLog{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSInviteLog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSInviteLog) ProtoMessage() {}
|
|
|
|
func (x *CSInviteLog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 CSInviteLog.ProtoReflect.Descriptor instead.
|
|
func (*CSInviteLog) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *CSInviteLog) GetSkip() int32 {
|
|
if x != nil {
|
|
return x.Skip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSInviteLog) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_SCInviteLog
|
|
type SCInviteLog struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Skip int32 `protobuf:"varint,1,opt,name=Skip,proto3" json:"Skip,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
List []*InviteInfo `protobuf:"bytes,3,rep,name=List,proto3" json:"List,omitempty"`
|
|
}
|
|
|
|
func (x *SCInviteLog) Reset() {
|
|
*x = SCInviteLog{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCInviteLog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCInviteLog) ProtoMessage() {}
|
|
|
|
func (x *SCInviteLog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 SCInviteLog.ProtoReflect.Descriptor instead.
|
|
func (*SCInviteLog) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SCInviteLog) GetSkip() int32 {
|
|
if x != nil {
|
|
return x.Skip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCInviteLog) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCInviteLog) GetList() []*InviteInfo {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PACKET_RANK_CSWinCoin
|
|
type CSWinCoin struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Skip int32 `protobuf:"varint,1,opt,name=Skip,proto3" json:"Skip,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
}
|
|
|
|
func (x *CSWinCoin) Reset() {
|
|
*x = CSWinCoin{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSWinCoin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSWinCoin) ProtoMessage() {}
|
|
|
|
func (x *CSWinCoin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_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 CSWinCoin.ProtoReflect.Descriptor instead.
|
|
func (*CSWinCoin) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CSWinCoin) GetSkip() int32 {
|
|
if x != nil {
|
|
return x.Skip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSWinCoin) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WinCoinInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SnId int32 `protobuf:"varint,1,opt,name=SnId,proto3" json:"SnId,omitempty"` // 玩家id
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 昵称
|
|
Rank int32 `protobuf:"varint,3,opt,name=Rank,proto3" json:"Rank,omitempty"` //段位排名
|
|
Coin int64 `protobuf:"varint,4,opt,name=Coin,proto3" json:"Coin,omitempty"` // 赢分
|
|
ModId int32 `protobuf:"varint,6,opt,name=ModId,proto3" json:"ModId,omitempty"` // 头像模型
|
|
}
|
|
|
|
func (x *WinCoinInfo) Reset() {
|
|
*x = WinCoinInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WinCoinInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WinCoinInfo) ProtoMessage() {}
|
|
|
|
func (x *WinCoinInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_proto_msgTypes[14]
|
|
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 WinCoinInfo.ProtoReflect.Descriptor instead.
|
|
func (*WinCoinInfo) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *WinCoinInfo) GetSnId() int32 {
|
|
if x != nil {
|
|
return x.SnId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WinCoinInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WinCoinInfo) GetRank() int32 {
|
|
if x != nil {
|
|
return x.Rank
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WinCoinInfo) GetCoin() int64 {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WinCoinInfo) GetModId() int32 {
|
|
if x != nil {
|
|
return x.ModId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PACKET_RANK_SCWinCoin
|
|
type SCWinCoin struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ranks []*WinCoinInfo `protobuf:"bytes,1,rep,name=Ranks,proto3" json:"Ranks,omitempty"` // 排行榜
|
|
Me *WinCoinInfo `protobuf:"bytes,2,opt,name=Me,proto3" json:"Me,omitempty"` // 玩家自己的排行信息
|
|
Skip int32 `protobuf:"varint,3,opt,name=Skip,proto3" json:"Skip,omitempty"` // 页数
|
|
Limit int32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"` // 每页数量
|
|
}
|
|
|
|
func (x *SCWinCoin) Reset() {
|
|
*x = SCWinCoin{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rank_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCWinCoin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCWinCoin) ProtoMessage() {}
|
|
|
|
func (x *SCWinCoin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rank_proto_msgTypes[15]
|
|
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 SCWinCoin.ProtoReflect.Descriptor instead.
|
|
func (*SCWinCoin) Descriptor() ([]byte, []int) {
|
|
return file_rank_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SCWinCoin) GetRanks() []*WinCoinInfo {
|
|
if x != nil {
|
|
return x.Ranks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCWinCoin) GetMe() *WinCoinInfo {
|
|
if x != nil {
|
|
return x.Me
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCWinCoin) GetSkip() int32 {
|
|
if x != nil {
|
|
return x.Skip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCWinCoin) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_rank_proto protoreflect.FileDescriptor
|
|
|
|
var file_rank_proto_rawDesc = []byte{
|
|
0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x72, 0x61,
|
|
0x6e, 0x6b, 0x22, 0x4d, 0x0a, 0x0b, 0x43, 0x53, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x74, 0x63,
|
|
0x68, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49,
|
|
0x64, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
|
|
0x65, 0x22, 0xc4, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x6b,
|
|
0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
0x53, 0x6e, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x4c, 0x76, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x4c, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x6b,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03,
|
|
0x53, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x53, 0x65, 0x78, 0x12, 0x18,
|
|
0x0a, 0x07, 0x48, 0x65, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x07, 0x48, 0x65, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05,
|
|
0x53, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x53, 0x63, 0x6f,
|
|
0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x4d, 0x6f, 0x64, 0x49, 0x64, 0x22, 0x9d, 0x01, 0x0a, 0x0b, 0x53, 0x43, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x6b,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x53,
|
|
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73,
|
|
0x12, 0x20, 0x0a, 0x02, 0x4d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72,
|
|
0x61, 0x6e, 0x6b, 0x2e, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x02,
|
|
0x4d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69,
|
|
0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69,
|
|
0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x38, 0x0a, 0x06, 0x43, 0x53, 0x43, 0x6f,
|
|
0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69,
|
|
0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69,
|
|
0x7a, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69,
|
|
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x04, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x53, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x48,
|
|
0x65, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x48, 0x65,
|
|
0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e,
|
|
0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x14, 0x0a,
|
|
0x05, 0x4d, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4d, 0x6f,
|
|
0x64, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x06, 0x53, 0x43, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x26,
|
|
0x0a, 0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
|
0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x52,
|
|
0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x02, 0x4d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x52, 0x02, 0x4d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
|
0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61,
|
|
0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x44,
|
|
0x0a, 0x08, 0x43, 0x53, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6b,
|
|
0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x12, 0x14,
|
|
0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c,
|
|
0x69, 0x6d, 0x69, 0x74, 0x22, 0x92, 0x01, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12,
|
|
0x14, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e,
|
|
0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65,
|
|
0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x05, 0x4d, 0x6f, 0x64, 0x49, 0x64, 0x22, 0xb4, 0x01, 0x0a, 0x08, 0x53, 0x43,
|
|
0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x18,
|
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x49, 0x6e, 0x76,
|
|
0x69, 0x74, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x12, 0x20,
|
|
0x0a, 0x02, 0x4d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x61, 0x6e,
|
|
0x6b, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x02, 0x4d, 0x65,
|
|
0x12, 0x12, 0x0a, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
0x53, 0x6b, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x45, 0x6e, 0x64, 0x4e, 0x75, 0x6d,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x49, 0x73, 0x45, 0x6e, 0x64, 0x4e, 0x75, 0x6d,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d,
|
|
0x22, 0x5e, 0x0a, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x12, 0x0a, 0x04,
|
|
0x53, 0x6e, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
|
|
0x22, 0x7c, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12,
|
|
0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x54, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x54, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x49,
|
|
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4d, 0x6f, 0x64, 0x49, 0x64, 0x22, 0x37,
|
|
0x0a, 0x0b, 0x43, 0x53, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a,
|
|
0x04, 0x53, 0x6b, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6b, 0x69,
|
|
0x70, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x5d, 0x0a, 0x0b, 0x53, 0x43, 0x49, 0x6e, 0x76,
|
|
0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69,
|
|
0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74,
|
|
0x12, 0x24, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10,
|
|
0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x09, 0x43, 0x53, 0x57, 0x69, 0x6e, 0x43,
|
|
0x6f, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x73, 0x0a,
|
|
0x0b, 0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04,
|
|
0x53, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64,
|
|
0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05,
|
|
0x4d, 0x6f, 0x64, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4d, 0x6f, 0x64,
|
|
0x49, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x09, 0x53, 0x43, 0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x12, 0x27, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x11, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x05, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x12, 0x21, 0x0a, 0x02, 0x4d, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x2e, 0x57, 0x69, 0x6e,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x02, 0x4d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
0x53, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6b, 0x69, 0x70,
|
|
0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x2a, 0xaa, 0x02, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12,
|
|
0x14, 0x0a, 0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x5a,
|
|
0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
|
0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x43, 0x53, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68,
|
|
0x10, 0x90, 0x4e, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41,
|
|
0x4e, 0x4b, 0x5f, 0x53, 0x43, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x10, 0x91,
|
|
0x4e, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x4b,
|
|
0x5f, 0x43, 0x53, 0x43, 0x6f, 0x69, 0x6e, 0x10, 0x92, 0x4e, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41,
|
|
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x53, 0x43, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x10, 0x93, 0x4e, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41,
|
|
0x4e, 0x4b, 0x5f, 0x43, 0x53, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10, 0x94, 0x4e, 0x12, 0x19,
|
|
0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x53, 0x43,
|
|
0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10, 0x95, 0x4e, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43,
|
|
0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x10,
|
|
0x96, 0x4e, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x49,
|
|
0x6e, 0x76, 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x10, 0x97, 0x4e, 0x12, 0x1a, 0x0a, 0x15, 0x50,
|
|
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x43, 0x53, 0x57, 0x69, 0x6e,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x10, 0x98, 0x4e, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
|
0x54, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x53, 0x43, 0x57, 0x69, 0x6e, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x10, 0x99, 0x4e, 0x2a, 0x76, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x6e, 0x76, 0x69, 0x74,
|
|
0x65, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x5f,
|
|
0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65,
|
|
0x54, 0x79, 0x70, 0x65, 0x5f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f,
|
|
0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x57, 0x65, 0x65, 0x6b, 0x10,
|
|
0x02, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x5f,
|
|
0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x69, 0x74,
|
|
0x65, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x4d, 0x61, 0x78, 0x10, 0x04, 0x42, 0x08, 0x5a, 0x06, 0x2e,
|
|
0x3b, 0x72, 0x61, 0x6e, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_rank_proto_rawDescOnce sync.Once
|
|
file_rank_proto_rawDescData = file_rank_proto_rawDesc
|
|
)
|
|
|
|
func file_rank_proto_rawDescGZIP() []byte {
|
|
file_rank_proto_rawDescOnce.Do(func() {
|
|
file_rank_proto_rawDescData = protoimpl.X.CompressGZIP(file_rank_proto_rawDescData)
|
|
})
|
|
return file_rank_proto_rawDescData
|
|
}
|
|
|
|
var file_rank_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_rank_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
var file_rank_proto_goTypes = []interface{}{
|
|
(Rank)(0), // 0: rank.Rank
|
|
(RankInvite)(0), // 1: rank.RankInvite
|
|
(*CSRankMatch)(nil), // 2: rank.CSRankMatch
|
|
(*SeasonRank)(nil), // 3: rank.SeasonRank
|
|
(*SCRankMatch)(nil), // 4: rank.SCRankMatch
|
|
(*CSCoin)(nil), // 5: rank.CSCoin
|
|
(*PlayerCoin)(nil), // 6: rank.PlayerCoin
|
|
(*SCCoin)(nil), // 7: rank.SCCoin
|
|
(*CSInvite)(nil), // 8: rank.CSInvite
|
|
(*InviteRank)(nil), // 9: rank.InviteRank
|
|
(*SCInvite)(nil), // 10: rank.SCInvite
|
|
(*GateTransmit)(nil), // 11: rank.GateTransmit
|
|
(*InviteInfo)(nil), // 12: rank.InviteInfo
|
|
(*CSInviteLog)(nil), // 13: rank.CSInviteLog
|
|
(*SCInviteLog)(nil), // 14: rank.SCInviteLog
|
|
(*CSWinCoin)(nil), // 15: rank.CSWinCoin
|
|
(*WinCoinInfo)(nil), // 16: rank.WinCoinInfo
|
|
(*SCWinCoin)(nil), // 17: rank.SCWinCoin
|
|
}
|
|
var file_rank_proto_depIdxs = []int32{
|
|
3, // 0: rank.SCRankMatch.Ranks:type_name -> rank.SeasonRank
|
|
3, // 1: rank.SCRankMatch.Me:type_name -> rank.SeasonRank
|
|
6, // 2: rank.SCCoin.Ranks:type_name -> rank.PlayerCoin
|
|
6, // 3: rank.SCCoin.Me:type_name -> rank.PlayerCoin
|
|
9, // 4: rank.SCInvite.Ranks:type_name -> rank.InviteRank
|
|
9, // 5: rank.SCInvite.Me:type_name -> rank.InviteRank
|
|
12, // 6: rank.SCInviteLog.List:type_name -> rank.InviteInfo
|
|
16, // 7: rank.SCWinCoin.Ranks:type_name -> rank.WinCoinInfo
|
|
16, // 8: rank.SCWinCoin.Me:type_name -> rank.WinCoinInfo
|
|
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_rank_proto_init() }
|
|
func file_rank_proto_init() {
|
|
if File_rank_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_rank_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSRankMatch); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SeasonRank); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCRankMatch); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSCoin); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlayerCoin); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCCoin); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSInvite); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InviteRank); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCInvite); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GateTransmit); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InviteInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSInviteLog); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCInviteLog); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSWinCoin); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WinCoinInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rank_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCWinCoin); 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_rank_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 16,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_rank_proto_goTypes,
|
|
DependencyIndexes: file_rank_proto_depIdxs,
|
|
EnumInfos: file_rank_proto_enumTypes,
|
|
MessageInfos: file_rank_proto_msgTypes,
|
|
}.Build()
|
|
File_rank_proto = out.File
|
|
file_rank_proto_rawDesc = nil
|
|
file_rank_proto_goTypes = nil
|
|
file_rank_proto_depIdxs = nil
|
|
}
|