731 lines
22 KiB
Go
731 lines
22 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: forum/forum_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
//获取评论列表
|
|
type ForumGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Herocid string `protobuf:"bytes,1,opt,name=herocid,proto3" json:"herocid"` //英雄配置id
|
|
}
|
|
|
|
func (x *ForumGetListReq) Reset() {
|
|
*x = ForumGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumGetListReq) ProtoMessage() {}
|
|
|
|
func (x *ForumGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_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 ForumGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*ForumGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ForumGetListReq) GetHerocid() string {
|
|
if x != nil {
|
|
return x.Herocid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//获取评论回应
|
|
type ForumGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Comment []*DBComment `protobuf:"bytes,1,rep,name=comment,proto3" json:"comment"`
|
|
}
|
|
|
|
func (x *ForumGetListResp) Reset() {
|
|
*x = ForumGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumGetListResp) ProtoMessage() {}
|
|
|
|
func (x *ForumGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForumGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*ForumGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ForumGetListResp) GetComment() []*DBComment {
|
|
if x != nil {
|
|
return x.Comment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//发布评论请求
|
|
type ForumReleaseCommentReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar"` //用户头像
|
|
Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"` //用户名
|
|
Ulv int32 `protobuf:"varint,3,opt,name=ulv,proto3" json:"ulv"` //用户等级
|
|
Herocid string `protobuf:"bytes,4,opt,name=herocid,proto3" json:"herocid"` //英雄的配置id
|
|
Herooid string `protobuf:"bytes,5,opt,name=herooid,proto3" json:"herooid"` //英雄的实例id
|
|
Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content"` //评论内容
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) Reset() {
|
|
*x = ForumReleaseCommentReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumReleaseCommentReq) ProtoMessage() {}
|
|
|
|
func (x *ForumReleaseCommentReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForumReleaseCommentReq.ProtoReflect.Descriptor instead.
|
|
func (*ForumReleaseCommentReq) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) GetUname() string {
|
|
if x != nil {
|
|
return x.Uname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) GetUlv() int32 {
|
|
if x != nil {
|
|
return x.Ulv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) GetHerocid() string {
|
|
if x != nil {
|
|
return x.Herocid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) GetHerooid() string {
|
|
if x != nil {
|
|
return x.Herooid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumReleaseCommentReq) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//发布评论回应
|
|
type ForumReleaseCommentResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Comment *DBComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment"`
|
|
}
|
|
|
|
func (x *ForumReleaseCommentResp) Reset() {
|
|
*x = ForumReleaseCommentResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumReleaseCommentResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumReleaseCommentResp) ProtoMessage() {}
|
|
|
|
func (x *ForumReleaseCommentResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_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 ForumReleaseCommentResp.ProtoReflect.Descriptor instead.
|
|
func (*ForumReleaseCommentResp) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ForumReleaseCommentResp) GetComment() *DBComment {
|
|
if x != nil {
|
|
return x.Comment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//查看英雄信息请求
|
|
type ForumWatchHeroReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
|
|
Stag string `protobuf:"bytes,2,opt,name=stag,proto3" json:"stag"` //区服id
|
|
HerocId string `protobuf:"bytes,3,opt,name=herocId,proto3" json:"herocId"` //用户cid
|
|
HerooId string `protobuf:"bytes,4,opt,name=herooId,proto3" json:"herooId"` //英雄实例id
|
|
}
|
|
|
|
func (x *ForumWatchHeroReq) Reset() {
|
|
*x = ForumWatchHeroReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumWatchHeroReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumWatchHeroReq) ProtoMessage() {}
|
|
|
|
func (x *ForumWatchHeroReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForumWatchHeroReq.ProtoReflect.Descriptor instead.
|
|
func (*ForumWatchHeroReq) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ForumWatchHeroReq) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumWatchHeroReq) GetStag() string {
|
|
if x != nil {
|
|
return x.Stag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumWatchHeroReq) GetHerocId() string {
|
|
if x != nil {
|
|
return x.HerocId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumWatchHeroReq) GetHerooId() string {
|
|
if x != nil {
|
|
return x.HerooId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//查看英雄信息回应
|
|
type ForumWatchHeroResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"`
|
|
EquipID []*DB_Equipment `protobuf:"bytes,2,rep,name=equipID,proto3" json:"equipID"` // 装备详细信息
|
|
}
|
|
|
|
func (x *ForumWatchHeroResp) Reset() {
|
|
*x = ForumWatchHeroResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumWatchHeroResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumWatchHeroResp) ProtoMessage() {}
|
|
|
|
func (x *ForumWatchHeroResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForumWatchHeroResp.ProtoReflect.Descriptor instead.
|
|
func (*ForumWatchHeroResp) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ForumWatchHeroResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForumWatchHeroResp) GetEquipID() []*DB_Equipment {
|
|
if x != nil {
|
|
return x.EquipID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//请求点赞 请求
|
|
type ForumLikeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Herocid string `protobuf:"bytes,1,opt,name=herocid,proto3" json:"herocid"` //英雄配置id
|
|
Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid"` //评论id
|
|
Islike bool `protobuf:"varint,3,opt,name=islike,proto3" json:"islike"` //是否点赞
|
|
}
|
|
|
|
func (x *ForumLikeReq) Reset() {
|
|
*x = ForumLikeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumLikeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumLikeReq) ProtoMessage() {}
|
|
|
|
func (x *ForumLikeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_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 ForumLikeReq.ProtoReflect.Descriptor instead.
|
|
func (*ForumLikeReq) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ForumLikeReq) GetHerocid() string {
|
|
if x != nil {
|
|
return x.Herocid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumLikeReq) GetCid() string {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumLikeReq) GetIslike() bool {
|
|
if x != nil {
|
|
return x.Islike
|
|
}
|
|
return false
|
|
}
|
|
|
|
//请求点赞 回应
|
|
type ForumLikeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid"` //评论id
|
|
Islike bool `protobuf:"varint,2,opt,name=islike,proto3" json:"islike"` //是否点赞
|
|
Issucc bool `protobuf:"varint,3,opt,name=issucc,proto3" json:"issucc"` //成功失败
|
|
}
|
|
|
|
func (x *ForumLikeResp) Reset() {
|
|
*x = ForumLikeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_forum_forum_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForumLikeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForumLikeResp) ProtoMessage() {}
|
|
|
|
func (x *ForumLikeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_forum_forum_msg_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 ForumLikeResp.ProtoReflect.Descriptor instead.
|
|
func (*ForumLikeResp) Descriptor() ([]byte, []int) {
|
|
return file_forum_forum_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ForumLikeResp) GetCid() string {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForumLikeResp) GetIslike() bool {
|
|
if x != nil {
|
|
return x.Islike
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForumLikeResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_forum_forum_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_forum_forum_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x15, 0x66, 0x6f, 0x72, 0x75, 0x6d, 0x2f, 0x66, 0x6f, 0x72, 0x75, 0x6d, 0x5f, 0x6d, 0x73,
|
|
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x66, 0x6f, 0x72, 0x75, 0x6d, 0x2f, 0x66,
|
|
0x6f, 0x72, 0x75, 0x6d, 0x5f, 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, 0x1c, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x65, 0x71, 0x75,
|
|
0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0x2b, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
|
0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x10,
|
|
0x46, 0x6f, 0x72, 0x75, 0x6d, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x16, 0x46, 0x6f, 0x72, 0x75, 0x6d,
|
|
0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
0x71, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x10, 0x0a, 0x03, 0x75, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x75, 0x6c,
|
|
0x76, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68,
|
|
0x65, 0x72, 0x6f, 0x6f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65,
|
|
0x72, 0x6f, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22,
|
|
0x3f, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f,
|
|
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x22, 0x6d, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x48, 0x65,
|
|
0x72, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x67, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x74, 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x68,
|
|
0x65, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65,
|
|
0x72, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x49, 0x64,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x49, 0x64, 0x22,
|
|
0x5a, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x48, 0x65, 0x72,
|
|
0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65,
|
|
0x72, 0x6f, 0x12, 0x27, 0x0a, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x44, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x52, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x44, 0x22, 0x52, 0x0a, 0x0c, 0x46,
|
|
0x6f, 0x72, 0x75, 0x6d, 0x4c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x68,
|
|
0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65,
|
|
0x72, 0x6f, 0x63, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x22,
|
|
0x51, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x4c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63,
|
|
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73,
|
|
0x73, 0x75, 0x63, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75,
|
|
0x63, 0x63, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_forum_forum_msg_proto_rawDescOnce sync.Once
|
|
file_forum_forum_msg_proto_rawDescData = file_forum_forum_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_forum_forum_msg_proto_rawDescGZIP() []byte {
|
|
file_forum_forum_msg_proto_rawDescOnce.Do(func() {
|
|
file_forum_forum_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_forum_forum_msg_proto_rawDescData)
|
|
})
|
|
return file_forum_forum_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_forum_forum_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_forum_forum_msg_proto_goTypes = []interface{}{
|
|
(*ForumGetListReq)(nil), // 0: ForumGetListReq
|
|
(*ForumGetListResp)(nil), // 1: ForumGetListResp
|
|
(*ForumReleaseCommentReq)(nil), // 2: ForumReleaseCommentReq
|
|
(*ForumReleaseCommentResp)(nil), // 3: ForumReleaseCommentResp
|
|
(*ForumWatchHeroReq)(nil), // 4: ForumWatchHeroReq
|
|
(*ForumWatchHeroResp)(nil), // 5: ForumWatchHeroResp
|
|
(*ForumLikeReq)(nil), // 6: ForumLikeReq
|
|
(*ForumLikeResp)(nil), // 7: ForumLikeResp
|
|
(*DBComment)(nil), // 8: DBComment
|
|
(*DBHero)(nil), // 9: DBHero
|
|
(*DB_Equipment)(nil), // 10: DB_Equipment
|
|
}
|
|
var file_forum_forum_msg_proto_depIdxs = []int32{
|
|
8, // 0: ForumGetListResp.comment:type_name -> DBComment
|
|
8, // 1: ForumReleaseCommentResp.comment:type_name -> DBComment
|
|
9, // 2: ForumWatchHeroResp.hero:type_name -> DBHero
|
|
10, // 3: ForumWatchHeroResp.equipID:type_name -> DB_Equipment
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension 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_forum_forum_msg_proto_init() }
|
|
func file_forum_forum_msg_proto_init() {
|
|
if File_forum_forum_msg_proto != nil {
|
|
return
|
|
}
|
|
file_forum_forum_db_proto_init()
|
|
file_hero_hero_db_proto_init()
|
|
file_equipment_equipment_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_forum_forum_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumReleaseCommentReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumReleaseCommentResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumWatchHeroReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumWatchHeroResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumLikeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_forum_forum_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForumLikeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_forum_forum_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_forum_forum_msg_proto_goTypes,
|
|
DependencyIndexes: file_forum_forum_msg_proto_depIdxs,
|
|
MessageInfos: file_forum_forum_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_forum_forum_msg_proto = out.File
|
|
file_forum_forum_msg_proto_rawDesc = nil
|
|
file_forum_forum_msg_proto_goTypes = nil
|
|
file_forum_forum_msg_proto_depIdxs = nil
|
|
}
|