|
|
|
@ -21,6 +21,78 @@ const (
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Grade struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 段位
|
|
|
|
|
Grade int32 `protobuf:"varint,1,opt,name=grade,proto3" json:"grade,omitempty"` // 段位
|
|
|
|
|
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` // 段位等级
|
|
|
|
|
Star int32 `protobuf:"varint,3,opt,name=star,proto3" json:"star,omitempty"` // 等级星级
|
|
|
|
|
BravePoint int64 `protobuf:"varint,4,opt,name=bravePoint,proto3" json:"bravePoint,omitempty"` // 剩余 骁勇分(历史评分累计)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) Reset() {
|
|
|
|
|
*x = Grade{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*Grade) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_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 Grade.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Grade) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) GetGrade() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Grade
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) GetLevel() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Level
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) GetStar() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Star
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Grade) GetBravePoint() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BravePoint
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 加入游戏 push -> game.join
|
|
|
|
|
type JoinGame struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
@ -30,6 +102,7 @@ type JoinGame struct {
|
|
|
|
|
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
|
NobilityLevel int32 `protobuf:"varint,2,opt,name=nobilityLevel,proto3" json:"nobilityLevel,omitempty"` // 贵族等级 3舰长 0总督?
|
|
|
|
|
Coin int64 `protobuf:"varint,3,opt,name=coin,proto3" json:"coin,omitempty"` // 金币数量
|
|
|
|
|
Grade *Grade `protobuf:"bytes,4,opt,name=grade,proto3" json:"grade,omitempty"` // 段位
|
|
|
|
|
CurrentTitle *common.TitleItem `protobuf:"bytes,10,opt,name=currentTitle,proto3" json:"currentTitle,omitempty"` // 当前佩戴的称号
|
|
|
|
|
CurrentElite *EliteItem `protobuf:"bytes,11,opt,name=currentElite,proto3" json:"currentElite,omitempty"` // 当前装备的精英单位
|
|
|
|
|
}
|
|
|
|
@ -37,7 +110,7 @@ type JoinGame struct {
|
|
|
|
|
func (x *JoinGame) Reset() {
|
|
|
|
|
*x = JoinGame{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[0]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -50,7 +123,7 @@ func (x *JoinGame) String() string {
|
|
|
|
|
func (*JoinGame) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *JoinGame) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[0]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[1]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -63,7 +136,7 @@ func (x *JoinGame) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use JoinGame.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*JoinGame) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *JoinGame) GetUser() *common.PbUser {
|
|
|
|
@ -87,6 +160,13 @@ func (x *JoinGame) GetCoin() int64 {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *JoinGame) GetGrade() *Grade {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Grade
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *JoinGame) GetCurrentTitle() *common.TitleItem {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CurrentTitle
|
|
|
|
@ -114,7 +194,7 @@ type CreateUnit struct {
|
|
|
|
|
func (x *CreateUnit) Reset() {
|
|
|
|
|
*x = CreateUnit{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[1]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -127,7 +207,7 @@ func (x *CreateUnit) String() string {
|
|
|
|
|
func (*CreateUnit) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUnit) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[1]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[2]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -140,7 +220,7 @@ func (x *CreateUnit) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CreateUnit.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateUnit) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUnit) GetUser() *common.PbUser {
|
|
|
|
@ -170,7 +250,7 @@ type Move struct {
|
|
|
|
|
func (x *Move) Reset() {
|
|
|
|
|
*x = Move{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[2]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -183,7 +263,7 @@ func (x *Move) String() string {
|
|
|
|
|
func (*Move) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Move) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[2]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[3]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -196,7 +276,7 @@ func (x *Move) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Move.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Move) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Move) GetUser() *common.PbUser {
|
|
|
|
@ -225,7 +305,7 @@ type Outbreak struct {
|
|
|
|
|
func (x *Outbreak) Reset() {
|
|
|
|
|
*x = Outbreak{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[3]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -238,7 +318,7 @@ func (x *Outbreak) String() string {
|
|
|
|
|
func (*Outbreak) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Outbreak) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[3]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[4]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -251,7 +331,7 @@ func (x *Outbreak) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Outbreak.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Outbreak) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Outbreak) GetUser() *common.PbUser {
|
|
|
|
@ -276,7 +356,7 @@ type OutbreakFood struct {
|
|
|
|
|
func (x *OutbreakFood) Reset() {
|
|
|
|
|
*x = OutbreakFood{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[4]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[5]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -289,7 +369,7 @@ func (x *OutbreakFood) String() string {
|
|
|
|
|
func (*OutbreakFood) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *OutbreakFood) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[4]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[5]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -302,7 +382,7 @@ func (x *OutbreakFood) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use OutbreakFood.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*OutbreakFood) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *OutbreakFood) GetUser() *common.PbUser {
|
|
|
|
@ -345,7 +425,7 @@ type Wai struct {
|
|
|
|
|
func (x *Wai) Reset() {
|
|
|
|
|
*x = Wai{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[5]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -358,7 +438,7 @@ func (x *Wai) String() string {
|
|
|
|
|
func (*Wai) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Wai) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[5]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[6]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -371,7 +451,7 @@ func (x *Wai) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Wai.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Wai) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Wai) GetUser() *common.PbUser {
|
|
|
|
@ -394,7 +474,7 @@ type BuildingMode struct {
|
|
|
|
|
func (x *BuildingMode) Reset() {
|
|
|
|
|
*x = BuildingMode{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[6]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -407,7 +487,7 @@ func (x *BuildingMode) String() string {
|
|
|
|
|
func (*BuildingMode) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BuildingMode) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[6]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[7]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -420,7 +500,7 @@ func (x *BuildingMode) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use BuildingMode.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BuildingMode) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BuildingMode) GetUser() *common.PbUser {
|
|
|
|
@ -451,7 +531,7 @@ type ChangeElite struct {
|
|
|
|
|
func (x *ChangeElite) Reset() {
|
|
|
|
|
*x = ChangeElite{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[7]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -464,7 +544,7 @@ func (x *ChangeElite) String() string {
|
|
|
|
|
func (*ChangeElite) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeElite) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[7]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[8]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -477,7 +557,7 @@ func (x *ChangeElite) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ChangeElite.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ChangeElite) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeElite) GetCode() int32 {
|
|
|
|
@ -516,7 +596,7 @@ type ChangeTitle struct {
|
|
|
|
|
func (x *ChangeTitle) Reset() {
|
|
|
|
|
*x = ChangeTitle{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[8]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -529,7 +609,7 @@ func (x *ChangeTitle) String() string {
|
|
|
|
|
func (*ChangeTitle) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeTitle) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[8]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[9]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -542,7 +622,7 @@ func (x *ChangeTitle) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ChangeTitle.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ChangeTitle) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeTitle) GetCode() int32 {
|
|
|
|
@ -587,7 +667,7 @@ type BuyBattleFood struct {
|
|
|
|
|
func (x *BuyBattleFood) Reset() {
|
|
|
|
|
*x = BuyBattleFood{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[9]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -600,7 +680,7 @@ func (x *BuyBattleFood) String() string {
|
|
|
|
|
func (*BuyBattleFood) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BuyBattleFood) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[9]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[10]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -613,7 +693,7 @@ func (x *BuyBattleFood) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use BuyBattleFood.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BuyBattleFood) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BuyBattleFood) GetUserId() int64 {
|
|
|
|
@ -651,7 +731,7 @@ type EliteItem struct {
|
|
|
|
|
func (x *EliteItem) Reset() {
|
|
|
|
|
*x = EliteItem{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[10]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -664,7 +744,7 @@ func (x *EliteItem) String() string {
|
|
|
|
|
func (*EliteItem) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *EliteItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[10]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[11]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -677,7 +757,7 @@ func (x *EliteItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use EliteItem.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*EliteItem) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EliteItem) GetId() int64 {
|
|
|
|
@ -710,6 +790,7 @@ type UserQueryMsg struct {
|
|
|
|
|
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
|
|
|
|
|
Rank []*UserQueryMsg_RankItem `protobuf:"bytes,2,rep,name=rank,proto3" json:"rank,omitempty"` // 排行数据(多个榜)
|
|
|
|
|
Coin int64 `protobuf:"varint,3,opt,name=coin,proto3" json:"coin,omitempty"` // 弹币
|
|
|
|
|
Grade *Grade `protobuf:"bytes,4,opt,name=grade,proto3" json:"grade,omitempty"` // 段位
|
|
|
|
|
Titles []*common.TitleItem `protobuf:"bytes,10,rep,name=titles,proto3" json:"titles,omitempty"` // 称号ID列表,具体称号配置 给接口取
|
|
|
|
|
Elites []*EliteItem `protobuf:"bytes,11,rep,name=elites,proto3" json:"elites,omitempty"` // 拥有的精英单位列表
|
|
|
|
|
CurrentTitle *common.TitleItem `protobuf:"bytes,12,opt,name=currentTitle,proto3" json:"currentTitle,omitempty"` // 当前佩戴的称号
|
|
|
|
@ -719,7 +800,7 @@ type UserQueryMsg struct {
|
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[11]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -732,7 +813,7 @@ func (x *UserQueryMsg) String() string {
|
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[11]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[12]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -745,7 +826,7 @@ func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetUser() *common.PbUser {
|
|
|
|
@ -769,6 +850,13 @@ func (x *UserQueryMsg) GetCoin() int64 {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetGrade() *Grade {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Grade
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetTitles() []*common.TitleItem {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Titles
|
|
|
|
@ -811,7 +899,7 @@ type UserQueryMsg_RankItem struct {
|
|
|
|
|
func (x *UserQueryMsg_RankItem) Reset() {
|
|
|
|
|
*x = UserQueryMsg_RankItem{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[12]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[13]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -824,7 +912,7 @@ func (x *UserQueryMsg_RankItem) String() string {
|
|
|
|
|
func (*UserQueryMsg_RankItem) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[12]
|
|
|
|
|
mi := &file_game_zhg_command_proto_msgTypes[13]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -837,7 +925,7 @@ func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg_RankItem.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserQueryMsg_RankItem) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{11, 0}
|
|
|
|
|
return file_game_zhg_command_proto_rawDescGZIP(), []int{12, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) GetRankType() int32 {
|
|
|
|
@ -867,101 +955,113 @@ var file_game_zhg_command_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x16, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x7a, 0x68, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
|
|
|
|
|
0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x70, 0x62, 0x2e, 0x67, 0x61, 0x6d,
|
|
|
|
|
0x65, 0x2e, 0x7a, 0x68, 0x67, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x01, 0x0a, 0x08, 0x4a,
|
|
|
|
|
0x6f, 0x69, 0x6e, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
|
|
|
0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x24,
|
|
|
|
|
0x0a, 0x0d, 0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18,
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c,
|
|
|
|
|
0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x38, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x74, 0x6c, 0x65,
|
|
|
|
|
0x49, 0x74, 0x65, 0x6d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x6c, 0x69,
|
|
|
|
|
0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d,
|
|
|
|
|
0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x22, 0x47,
|
|
|
|
|
0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
|
|
|
|
0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x41, 0x0a, 0x04, 0x4d, 0x6f, 0x76, 0x65, 0x12,
|
|
|
|
|
0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
|
0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x31, 0x0a, 0x08, 0x4f, 0x75,
|
|
|
|
|
0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
|
|
0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x7b, 0x0a,
|
|
|
|
|
0x0c, 0x4f, 0x75, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x46, 0x6f, 0x6f, 0x64, 0x12, 0x25, 0x0a,
|
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65,
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65,
|
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x22, 0x2c, 0x0a, 0x03, 0x57, 0x61,
|
|
|
|
|
0x69, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c,
|
|
|
|
|
0x64, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
|
|
|
|
|
0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
|
|
|
|
|
0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x22, 0x62, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6c, 0x69,
|
|
|
|
|
0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
|
|
|
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
|
|
0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a,
|
|
|
|
|
0x07, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
|
|
|
|
0x65, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
|
|
|
|
0x65, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
|
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
|
0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
|
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
|
|
|
|
|
0x4f, 0x0a, 0x0d, 0x42, 0x75, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x6f, 0x64,
|
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74,
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x66, 0x6f, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x66, 0x6f, 0x6f, 0x64,
|
|
|
|
|
0x22, 0x47, 0x0a, 0x09, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a,
|
|
|
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72,
|
|
|
|
|
0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x05, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0xa7, 0x03, 0x0a, 0x0c, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
|
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
|
0x72, 0x12, 0x36, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x22, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x49,
|
|
|
|
|
0x74, 0x65, 0x6d, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69,
|
|
|
|
|
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x2c, 0x0a,
|
|
|
|
|
0x06, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49,
|
|
|
|
|
0x74, 0x65, 0x6d, 0x52, 0x06, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x65,
|
|
|
|
|
0x6c, 0x69, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49,
|
|
|
|
|
0x74, 0x65, 0x6d, 0x52, 0x06, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x63,
|
|
|
|
|
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x05, 0x47, 0x72,
|
|
|
|
|
0x61, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76,
|
|
|
|
|
0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12,
|
|
|
|
|
0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73,
|
|
|
|
|
0x74, 0x61, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x72, 0x61, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e,
|
|
|
|
|
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x76, 0x65, 0x50, 0x6f,
|
|
|
|
|
0x69, 0x6e, 0x74, 0x22, 0x8b, 0x02, 0x0a, 0x08, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x61, 0x6d, 0x65,
|
|
|
|
|
0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65,
|
|
|
|
|
0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x62, 0x69, 0x6c,
|
|
|
|
|
0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d,
|
|
|
|
|
0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x69,
|
|
|
|
|
0x6e, 0x12, 0x28, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x47,
|
|
|
|
|
0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x63,
|
|
|
|
|
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69,
|
|
|
|
|
0x74, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x45, 0x6c, 0x69, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x45, 0x6c, 0x69, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49,
|
|
|
|
|
0x74, 0x65, 0x6d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x6c, 0x69, 0x74,
|
|
|
|
|
0x65, 0x1a, 0x50, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a,
|
|
|
|
|
0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f,
|
|
|
|
|
0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12,
|
|
|
|
|
0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72,
|
|
|
|
|
0x61, 0x6e, 0x6b, 0x42, 0x20, 0x5a, 0x1e, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
|
|
|
|
|
0x70, 0x62, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x7a, 0x68, 0x67, 0x3b, 0x70, 0x62, 0x47, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x5a, 0x68, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x65, 0x22, 0x47, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12,
|
|
|
|
|
0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
|
0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x41, 0x0a, 0x04, 0x4d, 0x6f,
|
|
|
|
|
0x76, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
|
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x31, 0x0a,
|
|
|
|
|
0x08, 0x4f, 0x75, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
|
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
|
|
0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x22, 0x7b, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x46, 0x6f, 0x6f, 0x64,
|
|
|
|
|
0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65,
|
|
|
|
|
0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x74, 0x54,
|
|
|
|
|
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x74, 0x54,
|
|
|
|
|
0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73,
|
|
|
|
|
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x22, 0x2c, 0x0a,
|
|
|
|
|
0x03, 0x57, 0x61, 0x69, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
|
|
|
|
|
0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x0c, 0x42,
|
|
|
|
|
0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75,
|
|
|
|
|
0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63,
|
|
|
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
|
|
|
|
|
0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x62, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
|
0x45, 0x6c, 0x69, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
|
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
|
|
0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x12, 0x18, 0x0a, 0x07, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x07, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x0b, 0x43, 0x68,
|
|
|
|
|
0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a,
|
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18,
|
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12,
|
|
|
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x0d, 0x42, 0x75, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46,
|
|
|
|
|
0x6f, 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
|
|
|
0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x12,
|
|
|
|
|
0x12, 0x0a, 0x04, 0x66, 0x6f, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x66,
|
|
|
|
|
0x6f, 0x6f, 0x64, 0x22, 0x47, 0x0a, 0x09, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d,
|
|
|
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
|
|
|
0x73, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0xd1, 0x03, 0x0a,
|
|
|
|
|
0x0c, 0x55, 0x73, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a,
|
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x03,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67,
|
|
|
|
|
0x2e, 0x55, 0x73, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x2e, 0x52, 0x61,
|
|
|
|
|
0x6e, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x63, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e,
|
|
|
|
|
0x12, 0x28, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x12, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x47, 0x72,
|
|
|
|
|
0x61, 0x64, 0x65, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x74, 0x69,
|
|
|
|
|
0x74, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d,
|
|
|
|
|
0x52, 0x06, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x65, 0x6c, 0x69, 0x74,
|
|
|
|
|
0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d,
|
|
|
|
|
0x52, 0x06, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x74, 0x6c, 0x65,
|
|
|
|
|
0x49, 0x74, 0x65, 0x6d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x6c, 0x69,
|
|
|
|
|
0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x67, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x2e, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d,
|
|
|
|
|
0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x1a, 0x50,
|
|
|
|
|
0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x61,
|
|
|
|
|
0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x61,
|
|
|
|
|
0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18,
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x72, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b,
|
|
|
|
|
0x42, 0x20, 0x5a, 0x1e, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62, 0x2f,
|
|
|
|
|
0x67, 0x61, 0x6d, 0x65, 0x2f, 0x7a, 0x68, 0x67, 0x3b, 0x70, 0x62, 0x47, 0x61, 0x6d, 0x65, 0x5a,
|
|
|
|
|
0x68, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -976,47 +1076,50 @@ func file_game_zhg_command_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_game_zhg_command_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_game_zhg_command_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
|
|
var file_game_zhg_command_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
|
|
|
var file_game_zhg_command_proto_goTypes = []interface{}{
|
|
|
|
|
(*JoinGame)(nil), // 0: pb.game.zhg.JoinGame
|
|
|
|
|
(*CreateUnit)(nil), // 1: pb.game.zhg.CreateUnit
|
|
|
|
|
(*Move)(nil), // 2: pb.game.zhg.Move
|
|
|
|
|
(*Outbreak)(nil), // 3: pb.game.zhg.Outbreak
|
|
|
|
|
(*OutbreakFood)(nil), // 4: pb.game.zhg.OutbreakFood
|
|
|
|
|
(*Wai)(nil), // 5: pb.game.zhg.Wai
|
|
|
|
|
(*BuildingMode)(nil), // 6: pb.game.zhg.BuildingMode
|
|
|
|
|
(*ChangeElite)(nil), // 7: pb.game.zhg.ChangeElite
|
|
|
|
|
(*ChangeTitle)(nil), // 8: pb.game.zhg.ChangeTitle
|
|
|
|
|
(*BuyBattleFood)(nil), // 9: pb.game.zhg.BuyBattleFood
|
|
|
|
|
(*EliteItem)(nil), // 10: pb.game.zhg.EliteItem
|
|
|
|
|
(*UserQueryMsg)(nil), // 11: pb.game.zhg.UserQueryMsg
|
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 12: pb.game.zhg.UserQueryMsg.RankItem
|
|
|
|
|
(*common.PbUser)(nil), // 13: pb.common.PbUser
|
|
|
|
|
(*common.TitleItem)(nil), // 14: pb.common.TitleItem
|
|
|
|
|
(*Grade)(nil), // 0: pb.game.zhg.Grade
|
|
|
|
|
(*JoinGame)(nil), // 1: pb.game.zhg.JoinGame
|
|
|
|
|
(*CreateUnit)(nil), // 2: pb.game.zhg.CreateUnit
|
|
|
|
|
(*Move)(nil), // 3: pb.game.zhg.Move
|
|
|
|
|
(*Outbreak)(nil), // 4: pb.game.zhg.Outbreak
|
|
|
|
|
(*OutbreakFood)(nil), // 5: pb.game.zhg.OutbreakFood
|
|
|
|
|
(*Wai)(nil), // 6: pb.game.zhg.Wai
|
|
|
|
|
(*BuildingMode)(nil), // 7: pb.game.zhg.BuildingMode
|
|
|
|
|
(*ChangeElite)(nil), // 8: pb.game.zhg.ChangeElite
|
|
|
|
|
(*ChangeTitle)(nil), // 9: pb.game.zhg.ChangeTitle
|
|
|
|
|
(*BuyBattleFood)(nil), // 10: pb.game.zhg.BuyBattleFood
|
|
|
|
|
(*EliteItem)(nil), // 11: pb.game.zhg.EliteItem
|
|
|
|
|
(*UserQueryMsg)(nil), // 12: pb.game.zhg.UserQueryMsg
|
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 13: pb.game.zhg.UserQueryMsg.RankItem
|
|
|
|
|
(*common.PbUser)(nil), // 14: pb.common.PbUser
|
|
|
|
|
(*common.TitleItem)(nil), // 15: pb.common.TitleItem
|
|
|
|
|
}
|
|
|
|
|
var file_game_zhg_command_proto_depIdxs = []int32{
|
|
|
|
|
13, // 0: pb.game.zhg.JoinGame.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 1: pb.game.zhg.JoinGame.currentTitle:type_name -> pb.common.TitleItem
|
|
|
|
|
10, // 2: pb.game.zhg.JoinGame.currentElite:type_name -> pb.game.zhg.EliteItem
|
|
|
|
|
13, // 3: pb.game.zhg.CreateUnit.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 4: pb.game.zhg.Move.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 5: pb.game.zhg.Outbreak.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 6: pb.game.zhg.OutbreakFood.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 7: pb.game.zhg.Wai.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 8: pb.game.zhg.BuildingMode.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 9: pb.game.zhg.ChangeElite.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 10: pb.game.zhg.ChangeTitle.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 11: pb.game.zhg.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
12, // 12: pb.game.zhg.UserQueryMsg.rank:type_name -> pb.game.zhg.UserQueryMsg.RankItem
|
|
|
|
|
14, // 13: pb.game.zhg.UserQueryMsg.titles:type_name -> pb.common.TitleItem
|
|
|
|
|
10, // 14: pb.game.zhg.UserQueryMsg.elites:type_name -> pb.game.zhg.EliteItem
|
|
|
|
|
14, // 15: pb.game.zhg.UserQueryMsg.currentTitle:type_name -> pb.common.TitleItem
|
|
|
|
|
10, // 16: pb.game.zhg.UserQueryMsg.currentElite:type_name -> pb.game.zhg.EliteItem
|
|
|
|
|
17, // [17:17] is the sub-list for method output_type
|
|
|
|
|
17, // [17:17] is the sub-list for method input_type
|
|
|
|
|
17, // [17:17] is the sub-list for extension type_name
|
|
|
|
|
17, // [17:17] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:17] is the sub-list for field type_name
|
|
|
|
|
14, // 0: pb.game.zhg.JoinGame.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 1: pb.game.zhg.JoinGame.grade:type_name -> pb.game.zhg.Grade
|
|
|
|
|
15, // 2: pb.game.zhg.JoinGame.currentTitle:type_name -> pb.common.TitleItem
|
|
|
|
|
11, // 3: pb.game.zhg.JoinGame.currentElite:type_name -> pb.game.zhg.EliteItem
|
|
|
|
|
14, // 4: pb.game.zhg.CreateUnit.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 5: pb.game.zhg.Move.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 6: pb.game.zhg.Outbreak.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 7: pb.game.zhg.OutbreakFood.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 8: pb.game.zhg.Wai.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 9: pb.game.zhg.BuildingMode.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 10: pb.game.zhg.ChangeElite.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 11: pb.game.zhg.ChangeTitle.user:type_name -> pb.common.PbUser
|
|
|
|
|
14, // 12: pb.game.zhg.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
13, // 13: pb.game.zhg.UserQueryMsg.rank:type_name -> pb.game.zhg.UserQueryMsg.RankItem
|
|
|
|
|
0, // 14: pb.game.zhg.UserQueryMsg.grade:type_name -> pb.game.zhg.Grade
|
|
|
|
|
15, // 15: pb.game.zhg.UserQueryMsg.titles:type_name -> pb.common.TitleItem
|
|
|
|
|
11, // 16: pb.game.zhg.UserQueryMsg.elites:type_name -> pb.game.zhg.EliteItem
|
|
|
|
|
15, // 17: pb.game.zhg.UserQueryMsg.currentTitle:type_name -> pb.common.TitleItem
|
|
|
|
|
11, // 18: pb.game.zhg.UserQueryMsg.currentElite:type_name -> pb.game.zhg.EliteItem
|
|
|
|
|
19, // [19:19] is the sub-list for method output_type
|
|
|
|
|
19, // [19:19] is the sub-list for method input_type
|
|
|
|
|
19, // [19:19] is the sub-list for extension type_name
|
|
|
|
|
19, // [19:19] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:19] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_game_zhg_command_proto_init() }
|
|
|
|
@ -1026,7 +1129,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*JoinGame); i {
|
|
|
|
|
switch v := v.(*Grade); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1038,7 +1141,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateUnit); i {
|
|
|
|
|
switch v := v.(*JoinGame); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1050,7 +1153,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*Move); i {
|
|
|
|
|
switch v := v.(*CreateUnit); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1062,7 +1165,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*Outbreak); i {
|
|
|
|
|
switch v := v.(*Move); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1074,7 +1177,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*OutbreakFood); i {
|
|
|
|
|
switch v := v.(*Outbreak); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1086,7 +1189,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*Wai); i {
|
|
|
|
|
switch v := v.(*OutbreakFood); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1098,7 +1201,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*BuildingMode); i {
|
|
|
|
|
switch v := v.(*Wai); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1110,7 +1213,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*ChangeElite); i {
|
|
|
|
|
switch v := v.(*BuildingMode); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1122,7 +1225,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*ChangeTitle); i {
|
|
|
|
|
switch v := v.(*ChangeElite); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1134,7 +1237,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*BuyBattleFood); i {
|
|
|
|
|
switch v := v.(*ChangeTitle); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1146,7 +1249,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*EliteItem); i {
|
|
|
|
|
switch v := v.(*BuyBattleFood); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1158,7 +1261,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
switch v := v.(*EliteItem); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1170,6 +1273,18 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_game_zhg_command_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg_RankItem); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
@ -1188,7 +1303,7 @@ func file_game_zhg_command_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_game_zhg_command_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 13,
|
|
|
|
|
NumMessages: 14,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|