1084 lines
32 KiB
Go
1084 lines
32 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: troll/troll_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 TrollGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TrollGetListReq) Reset() {
|
|
*x = TrollGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollGetListReq) ProtoMessage() {}
|
|
|
|
func (x *TrollGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// 返回进度信息
|
|
type TrollGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBTrollTrain `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *TrollGetListResp) Reset() {
|
|
*x = TrollGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollGetListResp) ProtoMessage() {}
|
|
|
|
func (x *TrollGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *TrollGetListResp) GetData() *DBTrollTrain {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 买卖货物
|
|
type TrollBuyOrSellReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Items map[int32]int32 `protobuf:"bytes,1,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //买入货物的数量(负数为卖)
|
|
}
|
|
|
|
func (x *TrollBuyOrSellReq) Reset() {
|
|
*x = TrollBuyOrSellReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollBuyOrSellReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollBuyOrSellReq) ProtoMessage() {}
|
|
|
|
func (x *TrollBuyOrSellReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollBuyOrSellReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollBuyOrSellReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *TrollBuyOrSellReq) GetItems() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TrollBuyOrSellResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBTrollTrain `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *TrollBuyOrSellResp) Reset() {
|
|
*x = TrollBuyOrSellResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollBuyOrSellResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollBuyOrSellResp) ProtoMessage() {}
|
|
|
|
func (x *TrollBuyOrSellResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollBuyOrSellResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollBuyOrSellResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *TrollBuyOrSellResp) GetData() *DBTrollTrain {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// afk 设置
|
|
type TrollAfkSetReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Buy int32 `protobuf:"varint,1,opt,name=buy,proto3" json:"buy"`
|
|
Sell int32 `protobuf:"varint,2,opt,name=sell,proto3" json:"sell"`
|
|
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count"` // 挂机次数
|
|
}
|
|
|
|
func (x *TrollAfkSetReq) Reset() {
|
|
*x = TrollAfkSetReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollAfkSetReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollAfkSetReq) ProtoMessage() {}
|
|
|
|
func (x *TrollAfkSetReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollAfkSetReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollAfkSetReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *TrollAfkSetReq) GetBuy() int32 {
|
|
if x != nil {
|
|
return x.Buy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrollAfkSetReq) GetSell() int32 {
|
|
if x != nil {
|
|
return x.Sell
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrollAfkSetReq) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TrollAfkSetResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBTrollTrain `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *TrollAfkSetResp) Reset() {
|
|
*x = TrollAfkSetResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollAfkSetResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollAfkSetResp) ProtoMessage() {}
|
|
|
|
func (x *TrollAfkSetResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollAfkSetResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollAfkSetResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *TrollAfkSetResp) GetData() *DBTrollTrain {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// npv等级奖励
|
|
type TrollNpcRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RewardId int32 `protobuf:"varint,1,opt,name=rewardId,proto3" json:"rewardId"`
|
|
}
|
|
|
|
func (x *TrollNpcRewardReq) Reset() {
|
|
*x = TrollNpcRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollNpcRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollNpcRewardReq) ProtoMessage() {}
|
|
|
|
func (x *TrollNpcRewardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollNpcRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollNpcRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *TrollNpcRewardReq) GetRewardId() int32 {
|
|
if x != nil {
|
|
return x.RewardId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TrollNpcRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBTrollTrain `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *TrollNpcRewardResp) Reset() {
|
|
*x = TrollNpcRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollNpcRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollNpcRewardResp) ProtoMessage() {}
|
|
|
|
func (x *TrollNpcRewardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_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 TrollNpcRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollNpcRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *TrollNpcRewardResp) GetData() *DBTrollTrain {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取收益排行榜
|
|
type TrollRankListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TrollRankListReq) Reset() {
|
|
*x = TrollRankListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollRankListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollRankListReq) ProtoMessage() {}
|
|
|
|
func (x *TrollRankListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_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 TrollRankListReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollRankListReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type RankData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RankId int32 `protobuf:"varint,1,opt,name=rankId,proto3" json:"rankId"` // 排名
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` // 昵称
|
|
Gold int64 `protobuf:"varint,4,opt,name=gold,proto3" json:"gold"` // 收益金币
|
|
Figure int32 `protobuf:"varint,5,opt,name=figure,proto3" json:"figure"` // 形象
|
|
Title int32 `protobuf:"varint,6,opt,name=title,proto3" json:"title"`
|
|
}
|
|
|
|
func (x *RankData) Reset() {
|
|
*x = RankData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RankData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RankData) ProtoMessage() {}
|
|
|
|
func (x *RankData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RankData.ProtoReflect.Descriptor instead.
|
|
func (*RankData) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *RankData) GetRankId() int32 {
|
|
if x != nil {
|
|
return x.RankId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RankData) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RankData) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RankData) GetGold() int64 {
|
|
if x != nil {
|
|
return x.Gold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RankData) GetFigure() int32 {
|
|
if x != nil {
|
|
return x.Figure
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RankData) GetTitle() int32 {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TrollRankListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*RankData `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *TrollRankListResp) Reset() {
|
|
*x = TrollRankListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollRankListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollRankListResp) ProtoMessage() {}
|
|
|
|
func (x *TrollRankListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrollRankListResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollRankListResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *TrollRankListResp) GetData() []*RankData {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取收益明细
|
|
type TrollRecordListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TrollRecordListReq) Reset() {
|
|
*x = TrollRecordListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollRecordListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollRecordListReq) ProtoMessage() {}
|
|
|
|
func (x *TrollRecordListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrollRecordListReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollRecordListReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type TrollRecordListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*DBTrollRecord `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *TrollRecordListResp) Reset() {
|
|
*x = TrollRecordListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollRecordListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollRecordListResp) ProtoMessage() {}
|
|
|
|
func (x *TrollRecordListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrollRecordListResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollRecordListResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *TrollRecordListResp) GetData() []*DBTrollRecord {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取惊喜商品
|
|
type TrollSurpriseIdReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TrollSurpriseIdReq) Reset() {
|
|
*x = TrollSurpriseIdReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollSurpriseIdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollSurpriseIdReq) ProtoMessage() {}
|
|
|
|
func (x *TrollSurpriseIdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrollSurpriseIdReq.ProtoReflect.Descriptor instead.
|
|
func (*TrollSurpriseIdReq) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
// 返回进度信息
|
|
type TrollSurpriseIdResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SurpriseID map[int32]int32 `protobuf:"bytes,1,rep,name=surpriseID,proto3" json:"surpriseID" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3" bson:"surpriseID"` //key商人id value惊喜货物ID
|
|
}
|
|
|
|
func (x *TrollSurpriseIdResp) Reset() {
|
|
*x = TrollSurpriseIdResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TrollSurpriseIdResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrollSurpriseIdResp) ProtoMessage() {}
|
|
|
|
func (x *TrollSurpriseIdResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_troll_troll_msg_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrollSurpriseIdResp.ProtoReflect.Descriptor instead.
|
|
func (*TrollSurpriseIdResp) Descriptor() ([]byte, []int) {
|
|
return file_troll_troll_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *TrollSurpriseIdResp) GetSurpriseID() map[int32]int32 {
|
|
if x != nil {
|
|
return x.SurpriseID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_troll_troll_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_troll_troll_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x15, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5f, 0x6d, 0x73,
|
|
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x74,
|
|
0x72, 0x6f, 0x6c, 0x6c, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a,
|
|
0x0f, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
|
|
0x22, 0x35, 0x0a, 0x10, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x69,
|
|
0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x6f, 0x6c,
|
|
0x6c, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x33, 0x0a,
|
|
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x54,
|
|
0x72, 0x6f, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71,
|
|
0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65,
|
|
0x6d, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x37, 0x0a, 0x12,
|
|
0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0d, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x52,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4c, 0x0a, 0x0e, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x41, 0x66,
|
|
0x6b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x75, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x62, 0x75, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6c,
|
|
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x65, 0x6c, 0x6c, 0x12, 0x14, 0x0a,
|
|
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x0f, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x41, 0x66, 0x6b, 0x53,
|
|
0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x54, 0x72,
|
|
0x61, 0x69, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2f, 0x0a, 0x11, 0x54, 0x72, 0x6f,
|
|
0x6c, 0x6c, 0x4e, 0x70, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x12, 0x54, 0x72,
|
|
0x6f, 0x6c, 0x6c, 0x4e, 0x70, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x52, 0x04, 0x64,
|
|
0x61, 0x74, 0x61, 0x22, 0x12, 0x0a, 0x10, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x52, 0x61, 0x6e, 0x6b,
|
|
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x8a, 0x01, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b,
|
|
0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
|
0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x14,
|
|
0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74,
|
|
0x69, 0x74, 0x6c, 0x65, 0x22, 0x32, 0x0a, 0x11, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x52, 0x61, 0x6e,
|
|
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61,
|
|
0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x72, 0x6f, 0x6c,
|
|
0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x39,
|
|
0x0a, 0x13, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73,
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x52, 0x65, 0x63,
|
|
0x6f, 0x72, 0x64, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x72, 0x6f,
|
|
0x6c, 0x6c, 0x53, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x22,
|
|
0x9a, 0x01, 0x0a, 0x13, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x53, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73,
|
|
0x65, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x44, 0x0a, 0x0a, 0x73, 0x75, 0x72, 0x70, 0x72,
|
|
0x69, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x54, 0x72,
|
|
0x6f, 0x6c, 0x6c, 0x53, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73,
|
|
0x70, 0x2e, 0x53, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x49, 0x44, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x52, 0x0a, 0x73, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x49, 0x44, 0x1a, 0x3d, 0x0a,
|
|
0x0f, 0x53, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x49, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04,
|
|
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_troll_troll_msg_proto_rawDescOnce sync.Once
|
|
file_troll_troll_msg_proto_rawDescData = file_troll_troll_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_troll_troll_msg_proto_rawDescGZIP() []byte {
|
|
file_troll_troll_msg_proto_rawDescOnce.Do(func() {
|
|
file_troll_troll_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_troll_troll_msg_proto_rawDescData)
|
|
})
|
|
return file_troll_troll_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_troll_troll_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
|
var file_troll_troll_msg_proto_goTypes = []interface{}{
|
|
(*TrollGetListReq)(nil), // 0: TrollGetListReq
|
|
(*TrollGetListResp)(nil), // 1: TrollGetListResp
|
|
(*TrollBuyOrSellReq)(nil), // 2: TrollBuyOrSellReq
|
|
(*TrollBuyOrSellResp)(nil), // 3: TrollBuyOrSellResp
|
|
(*TrollAfkSetReq)(nil), // 4: TrollAfkSetReq
|
|
(*TrollAfkSetResp)(nil), // 5: TrollAfkSetResp
|
|
(*TrollNpcRewardReq)(nil), // 6: TrollNpcRewardReq
|
|
(*TrollNpcRewardResp)(nil), // 7: TrollNpcRewardResp
|
|
(*TrollRankListReq)(nil), // 8: TrollRankListReq
|
|
(*RankData)(nil), // 9: RankData
|
|
(*TrollRankListResp)(nil), // 10: TrollRankListResp
|
|
(*TrollRecordListReq)(nil), // 11: TrollRecordListReq
|
|
(*TrollRecordListResp)(nil), // 12: TrollRecordListResp
|
|
(*TrollSurpriseIdReq)(nil), // 13: TrollSurpriseIdReq
|
|
(*TrollSurpriseIdResp)(nil), // 14: TrollSurpriseIdResp
|
|
nil, // 15: TrollBuyOrSellReq.ItemsEntry
|
|
nil, // 16: TrollSurpriseIdResp.SurpriseIDEntry
|
|
(*DBTrollTrain)(nil), // 17: DBTrollTrain
|
|
(*DBTrollRecord)(nil), // 18: DBTrollRecord
|
|
}
|
|
var file_troll_troll_msg_proto_depIdxs = []int32{
|
|
17, // 0: TrollGetListResp.data:type_name -> DBTrollTrain
|
|
15, // 1: TrollBuyOrSellReq.items:type_name -> TrollBuyOrSellReq.ItemsEntry
|
|
17, // 2: TrollBuyOrSellResp.data:type_name -> DBTrollTrain
|
|
17, // 3: TrollAfkSetResp.data:type_name -> DBTrollTrain
|
|
17, // 4: TrollNpcRewardResp.data:type_name -> DBTrollTrain
|
|
9, // 5: TrollRankListResp.data:type_name -> RankData
|
|
18, // 6: TrollRecordListResp.data:type_name -> DBTrollRecord
|
|
16, // 7: TrollSurpriseIdResp.surpriseID:type_name -> TrollSurpriseIdResp.SurpriseIDEntry
|
|
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_troll_troll_msg_proto_init() }
|
|
func file_troll_troll_msg_proto_init() {
|
|
if File_troll_troll_msg_proto != nil {
|
|
return
|
|
}
|
|
file_troll_troll_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_troll_troll_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollBuyOrSellReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollBuyOrSellResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollAfkSetReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollAfkSetResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollNpcRewardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollNpcRewardResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollRankListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RankData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollRankListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollRecordListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollRecordListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollSurpriseIdReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_troll_troll_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TrollSurpriseIdResp); 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_troll_troll_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 17,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_troll_troll_msg_proto_goTypes,
|
|
DependencyIndexes: file_troll_troll_msg_proto_depIdxs,
|
|
MessageInfos: file_troll_troll_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_troll_troll_msg_proto = out.File
|
|
file_troll_troll_msg_proto_rawDesc = nil
|
|
file_troll_troll_msg_proto_goTypes = nil
|
|
file_troll_troll_msg_proto_depIdxs = nil
|
|
}
|