上传周长bug修复

This commit is contained in:
liwei1dao 2023-12-27 16:38:10 +08:00
parent f2f1930534
commit f66e06f3b3
3 changed files with 281 additions and 78 deletions

View File

@ -79,7 +79,7 @@ func (this *ModelWeektask) inquireActivations(info *pb.DBWeektask, opencmd map[s
if v.Open != "" && opencmd[v.Open] != 2 { //功能未开启 if v.Open != "" && opencmd[v.Open] != 2 { //功能未开启
continue continue
} }
if v.IdBefore != 0 && !info.Tcomplete[v.Key] { //前置任务未完成 if v.IdBefore != 0 && !info.Tcomplete[v.IdBefore] { //前置任务未完成
continue continue
} }
info.Tasks = append(info.Tasks, v.Key) info.Tasks = append(info.Tasks, v.Key)

View File

@ -41,6 +41,7 @@ type DBFriend struct {
Record []*AssistRecord `protobuf:"bytes,14,rep,name=record,proto3" json:"record" bson:"record"` // 助战记录 Record []*AssistRecord `protobuf:"bytes,14,rep,name=record,proto3" json:"record" bson:"record"` // 助战记录
Weapplyids []string `protobuf:"bytes,15,rep,name=weapplyids,proto3" json:"weapplyids" bson:"weapplyids"` //我申请的用户ID Weapplyids []string `protobuf:"bytes,15,rep,name=weapplyids,proto3" json:"weapplyids" bson:"weapplyids"` //我申请的用户ID
CleanTime int64 `protobuf:"varint,16,opt,name=cleanTime,proto3" json:"cleanTime" bson:"cleanTime"` //清理申请列表时间 CleanTime int64 `protobuf:"varint,16,opt,name=cleanTime,proto3" json:"cleanTime" bson:"cleanTime"` //清理申请列表时间
RefreshNum int32 `protobuf:"varint,17,opt,name=refreshNum,proto3" json:"refreshNum"` // 每日刷新次数
} }
func (x *DBFriend) Reset() { func (x *DBFriend) Reset() {
@ -187,6 +188,13 @@ func (x *DBFriend) GetCleanTime() int64 {
return 0 return 0
} }
func (x *DBFriend) GetRefreshNum() int32 {
if x != nil {
return x.RefreshNum
}
return 0
}
//助战记录 //助战记录
type AssistRecord struct { type AssistRecord struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -339,13 +347,68 @@ func (x *QiecuoRecord) GetEndTime() int64 {
return 0 return 0
} }
type AssistHero struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
Hero *DBHero `protobuf:"bytes,2,opt,name=hero,proto3" json:"hero"`
}
func (x *AssistHero) Reset() {
*x = AssistHero{}
if protoimpl.UnsafeEnabled {
mi := &file_friend_friend_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AssistHero) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AssistHero) ProtoMessage() {}
func (x *AssistHero) ProtoReflect() protoreflect.Message {
mi := &file_friend_friend_db_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AssistHero.ProtoReflect.Descriptor instead.
func (*AssistHero) Descriptor() ([]byte, []int) {
return file_friend_friend_db_proto_rawDescGZIP(), []int{3}
}
func (x *AssistHero) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *AssistHero) GetHero() *DBHero {
if x != nil {
return x.Hero
}
return nil
}
var File_friend_friend_db_proto protoreflect.FileDescriptor var File_friend_friend_db_proto protoreflect.FileDescriptor
var file_friend_friend_db_proto_rawDesc = []byte{ var file_friend_friend_db_proto_rawDesc = []byte{
0x0a, 0x16, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x0a, 0x16, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f,
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x68, 0x65, 0x72, 0x6f, 0x2f, 0x68, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x68, 0x65, 0x72, 0x6f, 0x2f, 0x68,
0x65, 0x72, 0x6f, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x65, 0x72, 0x6f, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f,
0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x03, 0x0a, 0x08, 0x44, 0x42, 0x46, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x04, 0x0a, 0x08, 0x44, 0x42, 0x46,
0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18,
@ -375,7 +438,9 @@ var file_friend_friend_db_proto_rawDesc = []byte{
0x0a, 0x0a, 0x77, 0x65, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x0a, 0x0a, 0x77, 0x65, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x03,
0x28, 0x09, 0x52, 0x0a, 0x77, 0x65, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x69, 0x64, 0x73, 0x12, 0x1c, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x65, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x69, 0x64, 0x73, 0x12, 0x1c,
0x0a, 0x09, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0a, 0x09, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,
0x03, 0x52, 0x09, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x64, 0x0a, 0x0c, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05,
0x52, 0x0a, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x22, 0x64, 0x0a, 0x0c,
0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03,
0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e,
0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
@ -392,8 +457,12 @@ var file_friend_friend_db_proto_rawDesc = []byte{
0x68, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x68, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x0a, 0x41,
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x73, 0x73, 0x69, 0x73, 0x74, 0x48, 0x65, 0x72, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42,
0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -408,23 +477,25 @@ func file_friend_friend_db_proto_rawDescGZIP() []byte {
return file_friend_friend_db_proto_rawDescData return file_friend_friend_db_proto_rawDescData
} }
var file_friend_friend_db_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_friend_friend_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_friend_friend_db_proto_goTypes = []interface{}{ var file_friend_friend_db_proto_goTypes = []interface{}{
(*DBFriend)(nil), // 0: DBFriend (*DBFriend)(nil), // 0: DBFriend
(*AssistRecord)(nil), // 1: AssistRecord (*AssistRecord)(nil), // 1: AssistRecord
(*QiecuoRecord)(nil), // 2: QiecuoRecord (*QiecuoRecord)(nil), // 2: QiecuoRecord
(*BaseUserInfo)(nil), // 3: BaseUserInfo (*AssistHero)(nil), // 3: AssistHero
(*DBHero)(nil), // 4: DBHero (*BaseUserInfo)(nil), // 4: BaseUserInfo
(*DBHero)(nil), // 5: DBHero
} }
var file_friend_friend_db_proto_depIdxs = []int32{ var file_friend_friend_db_proto_depIdxs = []int32{
3, // 0: DBFriend.info:type_name -> BaseUserInfo 4, // 0: DBFriend.info:type_name -> BaseUserInfo
4, // 1: DBFriend.hero:type_name -> DBHero 5, // 1: DBFriend.hero:type_name -> DBHero
1, // 2: DBFriend.record:type_name -> AssistRecord 1, // 2: DBFriend.record:type_name -> AssistRecord
3, // [3:3] is the sub-list for method output_type 5, // 3: AssistHero.hero:type_name -> DBHero
3, // [3:3] is the sub-list for method input_type 4, // [4:4] is the sub-list for method output_type
3, // [3:3] is the sub-list for extension type_name 4, // [4:4] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension extendee 4, // [4:4] is the sub-list for extension type_name
0, // [0:3] is the sub-list for field type_name 4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
} }
func init() { file_friend_friend_db_proto_init() } func init() { file_friend_friend_db_proto_init() }
@ -471,6 +542,18 @@ func file_friend_friend_db_proto_init() {
return nil return nil
} }
} }
file_friend_friend_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AssistHero); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@ -478,7 +561,7 @@ func file_friend_friend_db_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_friend_friend_db_proto_rawDesc, RawDescriptor: file_friend_friend_db_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 3, NumMessages: 4,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -2349,6 +2349,92 @@ func (x *FriendZanAndReceiveResp) GetAtno() []*UserAtno {
return nil return nil
} }
// 刷新陌生人助战列表
type FriendRefreshAssistHeroReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FriendRefreshAssistHeroReq) Reset() {
*x = FriendRefreshAssistHeroReq{}
if protoimpl.UnsafeEnabled {
mi := &file_friend_friend_msg_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FriendRefreshAssistHeroReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FriendRefreshAssistHeroReq) ProtoMessage() {}
func (x *FriendRefreshAssistHeroReq) ProtoReflect() protoreflect.Message {
mi := &file_friend_friend_msg_proto_msgTypes[46]
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 FriendRefreshAssistHeroReq.ProtoReflect.Descriptor instead.
func (*FriendRefreshAssistHeroReq) Descriptor() ([]byte, []int) {
return file_friend_friend_msg_proto_rawDescGZIP(), []int{46}
}
type FriendRefreshAssistHeroResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Hero []*AssistHero `protobuf:"bytes,1,rep,name=hero,proto3" json:"hero"`
}
func (x *FriendRefreshAssistHeroResp) Reset() {
*x = FriendRefreshAssistHeroResp{}
if protoimpl.UnsafeEnabled {
mi := &file_friend_friend_msg_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FriendRefreshAssistHeroResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FriendRefreshAssistHeroResp) ProtoMessage() {}
func (x *FriendRefreshAssistHeroResp) ProtoReflect() protoreflect.Message {
mi := &file_friend_friend_msg_proto_msgTypes[47]
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 FriendRefreshAssistHeroResp.ProtoReflect.Descriptor instead.
func (*FriendRefreshAssistHeroResp) Descriptor() ([]byte, []int) {
return file_friend_friend_msg_proto_rawDescGZIP(), []int{47}
}
func (x *FriendRefreshAssistHeroResp) GetHero() []*AssistHero {
if x != nil {
return x.Hero
}
return nil
}
var File_friend_friend_msg_proto protoreflect.FileDescriptor var File_friend_friend_msg_proto protoreflect.FileDescriptor
var file_friend_friend_msg_proto_rawDesc = []byte{ var file_friend_friend_msg_proto_rawDesc = []byte{
@ -2534,8 +2620,14 @@ var file_friend_friend_msg_proto_rawDesc = []byte{
0x0a, 0x17, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5a, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x0a, 0x17, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5a, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x52, 0x65,
0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e,
0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74,
0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x46, 0x72, 0x69, 0x65,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x48,
0x65, 0x72, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x3e, 0x0a, 0x1b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x48, 0x65, 0x72,
0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x48, 0x65, 0x72, 0x6f,
0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -2550,79 +2642,83 @@ func file_friend_friend_msg_proto_rawDescGZIP() []byte {
return file_friend_friend_msg_proto_rawDescData return file_friend_friend_msg_proto_rawDescData
} }
var file_friend_friend_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 46) var file_friend_friend_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 48)
var file_friend_friend_msg_proto_goTypes = []interface{}{ var file_friend_friend_msg_proto_goTypes = []interface{}{
(*FriendBase)(nil), // 0: FriendBase (*FriendBase)(nil), // 0: FriendBase
(*FriendListReq)(nil), // 1: FriendListReq (*FriendListReq)(nil), // 1: FriendListReq
(*FriendListResp)(nil), // 2: FriendListResp (*FriendListResp)(nil), // 2: FriendListResp
(*FriendRandlistReq)(nil), // 3: FriendRandlistReq (*FriendRandlistReq)(nil), // 3: FriendRandlistReq
(*FriendRandlistResp)(nil), // 4: FriendRandlistResp (*FriendRandlistResp)(nil), // 4: FriendRandlistResp
(*FriendApplyReq)(nil), // 5: FriendApplyReq (*FriendApplyReq)(nil), // 5: FriendApplyReq
(*FriendApplyResp)(nil), // 6: FriendApplyResp (*FriendApplyResp)(nil), // 6: FriendApplyResp
(*FriendDelReq)(nil), // 7: FriendDelReq (*FriendDelReq)(nil), // 7: FriendDelReq
(*FriendDelResp)(nil), // 8: FriendDelResp (*FriendDelResp)(nil), // 8: FriendDelResp
(*FriendAgreeReq)(nil), // 9: FriendAgreeReq (*FriendAgreeReq)(nil), // 9: FriendAgreeReq
(*FriendAgreeResp)(nil), // 10: FriendAgreeResp (*FriendAgreeResp)(nil), // 10: FriendAgreeResp
(*FriendRefuseReq)(nil), // 11: FriendRefuseReq (*FriendRefuseReq)(nil), // 11: FriendRefuseReq
(*FriendRefuseResp)(nil), // 12: FriendRefuseResp (*FriendRefuseResp)(nil), // 12: FriendRefuseResp
(*FriendApplyListReq)(nil), // 13: FriendApplyListReq (*FriendApplyListReq)(nil), // 13: FriendApplyListReq
(*FriendApplyListResp)(nil), // 14: FriendApplyListResp (*FriendApplyListResp)(nil), // 14: FriendApplyListResp
(*FriendSearchReq)(nil), // 15: FriendSearchReq (*FriendSearchReq)(nil), // 15: FriendSearchReq
(*FriendSearchResp)(nil), // 16: FriendSearchResp (*FriendSearchResp)(nil), // 16: FriendSearchResp
(*FriendBlackListReq)(nil), // 17: FriendBlackListReq (*FriendBlackListReq)(nil), // 17: FriendBlackListReq
(*FriendBlackListResp)(nil), // 18: FriendBlackListResp (*FriendBlackListResp)(nil), // 18: FriendBlackListResp
(*FriendAddBlackReq)(nil), // 19: FriendAddBlackReq (*FriendAddBlackReq)(nil), // 19: FriendAddBlackReq
(*FriendAddBlackResp)(nil), // 20: FriendAddBlackResp (*FriendAddBlackResp)(nil), // 20: FriendAddBlackResp
(*FriendDelBlackReq)(nil), // 21: FriendDelBlackReq (*FriendDelBlackReq)(nil), // 21: FriendDelBlackReq
(*FriendDelBlackResp)(nil), // 22: FriendDelBlackResp (*FriendDelBlackResp)(nil), // 22: FriendDelBlackResp
(*FriendTotalReq)(nil), // 23: FriendTotalReq (*FriendTotalReq)(nil), // 23: FriendTotalReq
(*FriendTotalResp)(nil), // 24: FriendTotalResp (*FriendTotalResp)(nil), // 24: FriendTotalResp
(*FriendZanlistReq)(nil), // 25: FriendZanlistReq (*FriendZanlistReq)(nil), // 25: FriendZanlistReq
(*FriendZanlistResp)(nil), // 26: FriendZanlistResp (*FriendZanlistResp)(nil), // 26: FriendZanlistResp
(*FriendZanReq)(nil), // 27: FriendZanReq (*FriendZanReq)(nil), // 27: FriendZanReq
(*FriendZanResp)(nil), // 28: FriendZanResp (*FriendZanResp)(nil), // 28: FriendZanResp
(*FriendZanreceiveReq)(nil), // 29: FriendZanreceiveReq (*FriendZanreceiveReq)(nil), // 29: FriendZanreceiveReq
(*FriendZanreceiveResp)(nil), // 30: FriendZanreceiveResp (*FriendZanreceiveResp)(nil), // 30: FriendZanreceiveResp
(*FriendAssistheroReq)(nil), // 31: FriendAssistheroReq (*FriendAssistheroReq)(nil), // 31: FriendAssistheroReq
(*FriendAssistheroResp)(nil), // 32: FriendAssistheroResp (*FriendAssistheroResp)(nil), // 32: FriendAssistheroResp
(*FriendAssistlistReq)(nil), // 33: FriendAssistlistReq (*FriendAssistlistReq)(nil), // 33: FriendAssistlistReq
(*FriendAssistlistResp)(nil), // 34: FriendAssistlistResp (*FriendAssistlistResp)(nil), // 34: FriendAssistlistResp
(*FriendGetrewardReq)(nil), // 35: FriendGetrewardReq (*FriendGetrewardReq)(nil), // 35: FriendGetrewardReq
(*FriendGetrewardResp)(nil), // 36: FriendGetrewardResp (*FriendGetrewardResp)(nil), // 36: FriendGetrewardResp
(*FriendAssistHeroUpdatePush)(nil), // 37: FriendAssistHeroUpdatePush (*FriendAssistHeroUpdatePush)(nil), // 37: FriendAssistHeroUpdatePush
(*FriendAssistHeroListReq)(nil), // 38: FriendAssistHeroListReq (*FriendAssistHeroListReq)(nil), // 38: FriendAssistHeroListReq
(*FriendAssistHeroListResp)(nil), // 39: FriendAssistHeroListResp (*FriendAssistHeroListResp)(nil), // 39: FriendAssistHeroListResp
(*FriendGetRelationReq)(nil), // 40: FriendGetRelationReq (*FriendGetRelationReq)(nil), // 40: FriendGetRelationReq
(*FriendGetRelationResp)(nil), // 41: FriendGetRelationResp (*FriendGetRelationResp)(nil), // 41: FriendGetRelationResp
(*FriendAddAgreePush)(nil), // 42: FriendAddAgreePush (*FriendAddAgreePush)(nil), // 42: FriendAddAgreePush
(*FriendAddApplyPush)(nil), // 43: FriendAddApplyPush (*FriendAddApplyPush)(nil), // 43: FriendAddApplyPush
(*FriendZanAndReceiveReq)(nil), // 44: FriendZanAndReceiveReq (*FriendZanAndReceiveReq)(nil), // 44: FriendZanAndReceiveReq
(*FriendZanAndReceiveResp)(nil), // 45: FriendZanAndReceiveResp (*FriendZanAndReceiveResp)(nil), // 45: FriendZanAndReceiveResp
(*DBFriend)(nil), // 46: DBFriend (*FriendRefreshAssistHeroReq)(nil), // 46: FriendRefreshAssistHeroReq
(*AssistRecord)(nil), // 47: AssistRecord (*FriendRefreshAssistHeroResp)(nil), // 47: FriendRefreshAssistHeroResp
(*UserAtno)(nil), // 48: UserAtno (*DBFriend)(nil), // 48: DBFriend
(*AssistRecord)(nil), // 49: AssistRecord
(*UserAtno)(nil), // 50: UserAtno
(*AssistHero)(nil), // 51: AssistHero
} }
var file_friend_friend_msg_proto_depIdxs = []int32{ var file_friend_friend_msg_proto_depIdxs = []int32{
0, // 0: FriendListResp.list:type_name -> FriendBase 0, // 0: FriendListResp.list:type_name -> FriendBase
46, // 1: FriendListResp.friend:type_name -> DBFriend 48, // 1: FriendListResp.friend:type_name -> DBFriend
0, // 2: FriendRandlistResp.list:type_name -> FriendBase 0, // 2: FriendRandlistResp.list:type_name -> FriendBase
0, // 3: FriendApplyListResp.list:type_name -> FriendBase 0, // 3: FriendApplyListResp.list:type_name -> FriendBase
0, // 4: FriendSearchResp.friends:type_name -> FriendBase 0, // 4: FriendSearchResp.friends:type_name -> FriendBase
0, // 5: FriendBlackListResp.friends:type_name -> FriendBase 0, // 5: FriendBlackListResp.friends:type_name -> FriendBase
0, // 6: FriendZanlistResp.list:type_name -> FriendBase 0, // 6: FriendZanlistResp.list:type_name -> FriendBase
0, // 7: FriendAssistlistResp.list:type_name -> FriendBase 0, // 7: FriendAssistlistResp.list:type_name -> FriendBase
47, // 8: FriendAssistlistResp.record:type_name -> AssistRecord 49, // 8: FriendAssistlistResp.record:type_name -> AssistRecord
48, // 9: FriendGetrewardResp.atno:type_name -> UserAtno 50, // 9: FriendGetrewardResp.atno:type_name -> UserAtno
0, // 10: FriendAssistHeroUpdatePush.friend:type_name -> FriendBase 0, // 10: FriendAssistHeroUpdatePush.friend:type_name -> FriendBase
0, // 11: FriendAssistHeroListResp.friends:type_name -> FriendBase 0, // 11: FriendAssistHeroListResp.friends:type_name -> FriendBase
0, // 12: FriendAddAgreePush.info:type_name -> FriendBase 0, // 12: FriendAddAgreePush.info:type_name -> FriendBase
0, // 13: FriendAddApplyPush.info:type_name -> FriendBase 0, // 13: FriendAddApplyPush.info:type_name -> FriendBase
48, // 14: FriendZanAndReceiveResp.atno:type_name -> UserAtno 50, // 14: FriendZanAndReceiveResp.atno:type_name -> UserAtno
15, // [15:15] is the sub-list for method output_type 51, // 15: FriendRefreshAssistHeroResp.hero:type_name -> AssistHero
15, // [15:15] is the sub-list for method input_type 16, // [16:16] is the sub-list for method output_type
15, // [15:15] is the sub-list for extension type_name 16, // [16:16] is the sub-list for method input_type
15, // [15:15] is the sub-list for extension extendee 16, // [16:16] is the sub-list for extension type_name
0, // [0:15] is the sub-list for field type_name 16, // [16:16] is the sub-list for extension extendee
0, // [0:16] is the sub-list for field type_name
} }
func init() { file_friend_friend_msg_proto_init() } func init() { file_friend_friend_msg_proto_init() }
@ -3185,6 +3281,30 @@ func file_friend_friend_msg_proto_init() {
return nil return nil
} }
} }
file_friend_friend_msg_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FriendRefreshAssistHeroReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_friend_friend_msg_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FriendRefreshAssistHeroResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@ -3192,7 +3312,7 @@ func file_friend_friend_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_friend_friend_msg_proto_rawDesc, RawDescriptor: file_friend_friend_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 46, NumMessages: 48,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },