|
|
|
@ -420,6 +420,206 @@ func (x *ChangeUserIntegralResp) GetIntegral() int64 {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UserIntegralChanged 用户金币变更通知 push -> user.coin.change
|
|
|
|
|
type UserCoinChangedMsg struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
User *PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
|
Change int64 `protobuf:"varint,2,opt,name=change,proto3" json:"change,omitempty"` // 变更量
|
|
|
|
|
Current int64 `protobuf:"varint,3,opt,name=current,proto3" json:"current,omitempty"` // 现有量
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserCoinChangedMsg) Reset() {
|
|
|
|
|
*x = UserCoinChangedMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserCoinChangedMsg) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UserCoinChangedMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserCoinChangedMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_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 UserCoinChangedMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserCoinChangedMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserCoinChangedMsg) GetUser() *PbUser {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.User
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserCoinChangedMsg) GetChange() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Change
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserCoinChangedMsg) GetCurrent() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Current
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ChangeUserIntegral 更新用户金币 request -> user.coin.change
|
|
|
|
|
type ChangeUserCoinReq struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
|
|
|
|
Change int64 `protobuf:"varint,2,opt,name=change,proto3" json:"change,omitempty"` // 更新量,负数为消耗,正数为增加
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinReq) Reset() {
|
|
|
|
|
*x = ChangeUserCoinReq{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinReq) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ChangeUserCoinReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_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 ChangeUserCoinReq.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ChangeUserCoinReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinReq) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinReq) GetChange() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Change
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ChangeUserIntegralResp 用户金币更新返回
|
|
|
|
|
type ChangeUserCoinResp struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // code, 200表示成功,其余根据对照表
|
|
|
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 消息
|
|
|
|
|
UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
|
|
|
|
Change int64 `protobuf:"varint,4,opt,name=change,proto3" json:"change,omitempty"` // 变更量
|
|
|
|
|
Current int64 `protobuf:"varint,5,opt,name=current,proto3" json:"current,omitempty"` // 现有量
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) Reset() {
|
|
|
|
|
*x = ChangeUserCoinResp{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ChangeUserCoinResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_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 ChangeUserCoinResp.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ChangeUserCoinResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) GetCode() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) GetMsg() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Msg
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) GetChange() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Change
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserCoinResp) GetCurrent() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Current
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// CheckInMsg 每日打卡 push -> user.checkIn
|
|
|
|
|
type CheckInMsg struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
@ -436,7 +636,7 @@ type CheckInMsg struct {
|
|
|
|
|
func (x *CheckInMsg) Reset() {
|
|
|
|
|
*x = CheckInMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -449,7 +649,7 @@ func (x *CheckInMsg) String() string {
|
|
|
|
|
func (*CheckInMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[9]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -462,7 +662,7 @@ func (x *CheckInMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CheckInMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckInMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) GetCode() int32 {
|
|
|
|
@ -515,7 +715,7 @@ type GiftPackMsg struct {
|
|
|
|
|
func (x *GiftPackMsg) Reset() {
|
|
|
|
|
*x = GiftPackMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -528,7 +728,7 @@ func (x *GiftPackMsg) String() string {
|
|
|
|
|
func (*GiftPackMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GiftPackMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[10]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -541,7 +741,7 @@ func (x *GiftPackMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GiftPackMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GiftPackMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GiftPackMsg) GetCode() int32 {
|
|
|
|
@ -586,7 +786,7 @@ type UserQueryMsg struct {
|
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -599,7 +799,7 @@ func (x *UserQueryMsg) String() string {
|
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[11]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -612,7 +812,7 @@ func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetUser() *PbUser {
|
|
|
|
@ -649,7 +849,7 @@ type DanmakuMsg struct {
|
|
|
|
|
func (x *DanmakuMsg) Reset() {
|
|
|
|
|
*x = DanmakuMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[9]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -662,7 +862,7 @@ func (x *DanmakuMsg) String() string {
|
|
|
|
|
func (*DanmakuMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[9]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[12]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -675,7 +875,7 @@ func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DanmakuMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DanmakuMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DanmakuMsg) GetUser() *PbUser {
|
|
|
|
@ -709,7 +909,7 @@ type GiftMsg struct {
|
|
|
|
|
func (x *GiftMsg) Reset() {
|
|
|
|
|
*x = GiftMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[10]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[13]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -722,7 +922,7 @@ func (x *GiftMsg) String() string {
|
|
|
|
|
func (*GiftMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[10]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[13]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -735,7 +935,7 @@ func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GiftMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GiftMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GiftMsg) GetUser() *PbUser {
|
|
|
|
@ -798,7 +998,7 @@ type RewardPoolMsg struct {
|
|
|
|
|
func (x *RewardPoolMsg) Reset() {
|
|
|
|
|
*x = RewardPoolMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[11]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[14]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -811,7 +1011,7 @@ func (x *RewardPoolMsg) String() string {
|
|
|
|
|
func (*RewardPoolMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[11]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[14]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -824,7 +1024,7 @@ func (x *RewardPoolMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RewardPoolMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RewardPoolMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{14}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetWelfarePool() int64 {
|
|
|
|
@ -890,7 +1090,7 @@ type UserQueryMsg_RankItem struct {
|
|
|
|
|
func (x *UserQueryMsg_RankItem) Reset() {
|
|
|
|
|
*x = UserQueryMsg_RankItem{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[12]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[15]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -903,7 +1103,7 @@ func (x *UserQueryMsg_RankItem) String() string {
|
|
|
|
|
func (*UserQueryMsg_RankItem) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[12]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[15]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -916,7 +1116,7 @@ func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg_RankItem.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserQueryMsg_RankItem) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8, 0}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{11, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) GetRankType() int32 {
|
|
|
|
@ -985,7 +1185,37 @@ var file_common_common_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
|
|
0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
|
|
|
0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
|
|
|
0x61, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x4d, 0x73,
|
|
|
|
|
0x61, 0x6c, 0x22, 0x6d, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x68,
|
|
|
|
|
0x61, 0x6e, 0x67, 0x65, 0x64, 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,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
|
|
|
|
|
0x74, 0x22, 0x43, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43,
|
|
|
|
|
0x6f, 0x69, 0x6e, 0x52, 0x65, 0x71, 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, 0x16,
|
|
|
|
|
0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
|
|
0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
|
|
|
|
0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
|
|
|
0x6d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63,
|
|
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x68, 0x61,
|
|
|
|
|
0x6e, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x05,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0xa1, 0x01,
|
|
|
|
|
0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d,
|
|
|
|
|
0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 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, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74,
|
|
|
|
|
0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
|
|
|
|
0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18,
|
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61,
|
|
|
|
|
0x6c, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x47, 0x69, 0x66, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x4d, 0x73,
|
|
|
|
|
0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18,
|
|
|
|
@ -993,64 +1223,54 @@ var file_common_common_proto_rawDesc = []byte{
|
|
|
|
|
0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x26,
|
|
|
|
|
0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69, 0x74,
|
|
|
|
|
0x69, 0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x72,
|
|
|
|
|
0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x47, 0x69, 0x66, 0x74, 0x50,
|
|
|
|
|
0x61, 0x63, 0x6b, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73,
|
|
|
|
|
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 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, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43,
|
|
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74,
|
|
|
|
|
0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0xd9, 0x01, 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, 0x34, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 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, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x74, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x49, 0x64, 0x73, 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, 0x22, 0x4d, 0x0a, 0x0a, 0x44, 0x61, 0x6e, 0x6d, 0x61,
|
|
|
|
|
0x6b, 0x75, 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, 0x18, 0x0a, 0x07,
|
|
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
|
|
|
|
|
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x47, 0x69, 0x66, 0x74, 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, 0x16, 0x0a, 0x06, 0x67, 0x69, 0x66,
|
|
|
|
|
0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x69, 0x66, 0x74, 0x49,
|
|
|
|
|
0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
|
|
|
|
|
0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
|
|
|
0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
|
|
|
0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64, 0x18,
|
|
|
|
|
0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64, 0x22, 0xf3, 0x01,
|
|
|
|
|
0x0a, 0x0d, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x4d, 0x73, 0x67, 0x12,
|
|
|
|
|
0x20, 0x0a, 0x0b, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x50, 0x6f, 0x6f,
|
|
|
|
|
0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x69, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x67, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0a, 0x67, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x22, 0x0a,
|
|
|
|
|
0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72,
|
|
|
|
|
0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
|
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77,
|
|
|
|
|
0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
|
|
|
0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61,
|
|
|
|
|
0x72, 0x64, 0x73, 0x42, 0x1d, 0x5a, 0x1b, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
|
|
|
|
|
0x70, 0x62, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x70, 0x62, 0x43, 0x6f, 0x6d, 0x6d,
|
|
|
|
|
0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0xd9, 0x01, 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, 0x34,
|
|
|
|
|
0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 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, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x73,
|
|
|
|
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x73,
|
|
|
|
|
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, 0x22, 0x4d, 0x0a, 0x0a, 0x44, 0x61, 0x6e, 0x6d, 0x61, 0x6b, 0x75, 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, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
|
|
|
0x74, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x47, 0x69, 0x66, 0x74, 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, 0x16, 0x0a, 0x06, 0x67, 0x69, 0x66, 0x74, 0x49, 0x64, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x69, 0x66, 0x74, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
|
0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1a,
|
|
|
|
|
0x0a, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72,
|
|
|
|
|
0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
|
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x77,
|
|
|
|
|
0x61, 0x72, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x4d, 0x73, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x77, 0x65,
|
|
|
|
|
0x6c, 0x66, 0x61, 0x72, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x0b, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08,
|
|
|
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
|
|
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x69, 0x74,
|
|
|
|
|
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6e,
|
|
|
|
|
0x69, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x69, 0x66, 0x74,
|
|
|
|
|
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x69,
|
|
|
|
|
0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
|
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
|
0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1e,
|
|
|
|
|
0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x42, 0x1d,
|
|
|
|
|
0x5a, 0x1b, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x70, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70,
|
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -1065,7 +1285,7 @@ func file_common_common_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_common_common_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
|
|
var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
|
|
|
var file_common_common_proto_goTypes = []interface{}{
|
|
|
|
|
(*PbUser)(nil), // 0: pb.common.PbUser
|
|
|
|
|
(*GameStatusReq)(nil), // 1: pb.common.GameStatusReq
|
|
|
|
@ -1073,27 +1293,31 @@ var file_common_common_proto_goTypes = []interface{}{
|
|
|
|
|
(*UserIntegralChanged)(nil), // 3: pb.common.UserIntegralChanged
|
|
|
|
|
(*ChangeUserIntegralReq)(nil), // 4: pb.common.ChangeUserIntegralReq
|
|
|
|
|
(*ChangeUserIntegralResp)(nil), // 5: pb.common.ChangeUserIntegralResp
|
|
|
|
|
(*CheckInMsg)(nil), // 6: pb.common.CheckInMsg
|
|
|
|
|
(*GiftPackMsg)(nil), // 7: pb.common.GiftPackMsg
|
|
|
|
|
(*UserQueryMsg)(nil), // 8: pb.common.UserQueryMsg
|
|
|
|
|
(*DanmakuMsg)(nil), // 9: pb.common.DanmakuMsg
|
|
|
|
|
(*GiftMsg)(nil), // 10: pb.common.GiftMsg
|
|
|
|
|
(*RewardPoolMsg)(nil), // 11: pb.common.RewardPoolMsg
|
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 12: pb.common.UserQueryMsg.RankItem
|
|
|
|
|
(*UserCoinChangedMsg)(nil), // 6: pb.common.UserCoinChangedMsg
|
|
|
|
|
(*ChangeUserCoinReq)(nil), // 7: pb.common.ChangeUserCoinReq
|
|
|
|
|
(*ChangeUserCoinResp)(nil), // 8: pb.common.ChangeUserCoinResp
|
|
|
|
|
(*CheckInMsg)(nil), // 9: pb.common.CheckInMsg
|
|
|
|
|
(*GiftPackMsg)(nil), // 10: pb.common.GiftPackMsg
|
|
|
|
|
(*UserQueryMsg)(nil), // 11: pb.common.UserQueryMsg
|
|
|
|
|
(*DanmakuMsg)(nil), // 12: pb.common.DanmakuMsg
|
|
|
|
|
(*GiftMsg)(nil), // 13: pb.common.GiftMsg
|
|
|
|
|
(*RewardPoolMsg)(nil), // 14: pb.common.RewardPoolMsg
|
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 15: pb.common.UserQueryMsg.RankItem
|
|
|
|
|
}
|
|
|
|
|
var file_common_common_proto_depIdxs = []int32{
|
|
|
|
|
0, // 0: pb.common.UserIntegralChanged.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 1: pb.common.CheckInMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 2: pb.common.GiftPackMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 3: pb.common.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
12, // 4: pb.common.UserQueryMsg.rank:type_name -> pb.common.UserQueryMsg.RankItem
|
|
|
|
|
0, // 5: pb.common.DanmakuMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 6: pb.common.GiftMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
7, // [7:7] is the sub-list for method output_type
|
|
|
|
|
7, // [7:7] is the sub-list for method input_type
|
|
|
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
|
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:7] is the sub-list for field type_name
|
|
|
|
|
0, // 1: pb.common.UserCoinChangedMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 2: pb.common.CheckInMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 3: pb.common.GiftPackMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 4: pb.common.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
15, // 5: pb.common.UserQueryMsg.rank:type_name -> pb.common.UserQueryMsg.RankItem
|
|
|
|
|
0, // 6: pb.common.DanmakuMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 7: pb.common.GiftMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
8, // [8:8] is the sub-list for method output_type
|
|
|
|
|
8, // [8:8] is the sub-list for method input_type
|
|
|
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
|
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:8] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_common_common_proto_init() }
|
|
|
|
@ -1175,7 +1399,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CheckInMsg); i {
|
|
|
|
|
switch v := v.(*UserCoinChangedMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1187,7 +1411,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GiftPackMsg); i {
|
|
|
|
|
switch v := v.(*ChangeUserCoinReq); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1199,7 +1423,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
switch v := v.(*ChangeUserCoinResp); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1211,7 +1435,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*DanmakuMsg); i {
|
|
|
|
|
switch v := v.(*CheckInMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1223,7 +1447,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GiftMsg); i {
|
|
|
|
|
switch v := v.(*GiftPackMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1235,7 +1459,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*RewardPoolMsg); i {
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1247,6 +1471,42 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*DanmakuMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GiftMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*RewardPoolMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg_RankItem); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
@ -1265,7 +1525,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_common_common_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 13,
|
|
|
|
|
NumMessages: 16,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|