613 lines
18 KiB
Go
613 lines
18 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
|
|
}
|
|
|
|
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, 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, 9)
|
|
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
|
|
nil, // 8: TrollBuyOrSellReq.ItemsEntry
|
|
(*DBTrollTrain)(nil), // 9: DBTrollTrain
|
|
}
|
|
var file_troll_troll_msg_proto_depIdxs = []int32{
|
|
9, // 0: TrollGetListResp.data:type_name -> DBTrollTrain
|
|
8, // 1: TrollBuyOrSellReq.items:type_name -> TrollBuyOrSellReq.ItemsEntry
|
|
9, // 2: TrollBuyOrSellResp.data:type_name -> DBTrollTrain
|
|
9, // 3: TrollAfkSetResp.data:type_name -> DBTrollTrain
|
|
9, // 4: TrollNpcRewardResp.data:type_name -> DBTrollTrain
|
|
5, // [5:5] is the sub-list for method output_type
|
|
5, // [5:5] is the sub-list for method input_type
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
0, // [0:5] 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
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_troll_troll_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
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
|
|
}
|