图鉴更新 激活等操作

This commit is contained in:
meixiongfeng 2023-02-22 14:15:28 +08:00
parent d90e938959
commit b617e2815a
5 changed files with 364 additions and 180 deletions

View File

@ -0,0 +1,52 @@
package smithy
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
"google.golang.org/protobuf/proto"
)
//参数校验
func (this *apiComp) AtlasActivateCheck(session comm.IUserSession, req *pb.SmithyAtlasActivateReq) (code pb.ErrorCode) {
if req.Id == "" {
code = pb.ErrorCode_ReqParameterError
}
return
}
// 获取铁匠铺图鉴信息
func (this *apiComp) AtlasActivate(session comm.IUserSession, req *pb.SmithyAtlasActivateReq) (code pb.ErrorCode, data proto.Message) {
code = this.AtlasActivateCheck(session, req)
if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回
}
atlas, err := this.module.modelAtlas.getSmithyAtlasList(session.GetUserId())
if err != nil {
code = pb.ErrorCode_DBError
return
}
conf := this.module.configure.GetSmithyAtlasConf(req.Id)
if conf == nil {
code = pb.ErrorCode_SmithyNoFoundAtlas
return
}
if v, ok := atlas.Atlas[req.Id]; ok {
if !v.Activate { // 激活
v.Activate = true
} else { //更新操作
if len(v.Data) > 1 {
v.Data = append(v.Data[:1], v.Data[1:]...)
}
}
update := make(map[string]interface{}, 0)
update["atlas"] = v
this.module.modelAtlas.modifySmithyAtlasList(session.GetUserId(), update)
} else {
code = pb.ErrorCode_SmithyNoFoundAtlas
return
}
session.SendMsg(string(this.module.GetType()), "atlasactivate", &pb.SmithyAtlasActivateResp{Data: atlas})
return
}

View File

@ -39,8 +39,8 @@ func (this *apiComp) StoveUp(session comm.IUserSession, req *pb.SmithyStoveUpReq
}
stove.Lv += 1
update := make(map[string]interface{})
update["temperature"] = stove.Temperature
update["recoveTime"] = stove.RecoveTime
//update["temperature"] = stove.Temperature
update["lv"] = stove.Lv
this.module.modelStove.updateSmithyStove(session.GetUserId(), update)
session.SendMsg(string(this.module.GetType()), "stoveup", &pb.SmithyStoveUpResp{Data: stove})
return

View File

@ -66,7 +66,7 @@ func (this *Worldtask) TaskcondNotify(session comm.IUserSession, condId int32) e
}
if len(finishedTaskIds) == 0 {
this.Debug("没有匹配到任务世界任务", log.Field{Key: "uid", Value: session.GetUserId()}, log.Field{Key: "condId", Value: condId})
//this.Debug("没有匹配到任务世界任务", log.Field{Key: "uid", Value: session.GetUserId()}, log.Field{Key: "condId", Value: condId})
return nil
}
this.Debug("世界任务完成通知-查找到世界任务", log.Field{Key: "uid", Value: uid}, log.Field{Key: "condId", Value: condId}, log.Field{Key: "params", Value: finishedTaskIds})

View File

@ -327,6 +327,7 @@ const (
ErrorCode_SmithyLackLava ErrorCode = 4107 // 缺少熔岩
ErrorCode_SmithyAtlasMaxLv ErrorCode = 4108 // 图鉴奖励满级
ErrorCode_SmithyAtlasLackLv ErrorCode = 4109 // 图鉴奖励等级不足
ErrorCode_SmithyNoFoundAtlas ErrorCode = 4110 // 没有找到图鉴数据
)
// Enum value maps for ErrorCode.
@ -604,6 +605,7 @@ var (
4107: "SmithyLackLava",
4108: "SmithyAtlasMaxLv",
4109: "SmithyAtlasLackLv",
4110: "SmithyNoFoundAtlas",
}
ErrorCode_value = map[string]int32{
"Success": 0,
@ -878,6 +880,7 @@ var (
"SmithyLackLava": 4107,
"SmithyAtlasMaxLv": 4108,
"SmithyAtlasLackLv": 4109,
"SmithyNoFoundAtlas": 4110,
}
)
@ -912,7 +915,7 @@ var File_errorcode_proto protoreflect.FileDescriptor
var file_errorcode_proto_rawDesc = []byte{
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2a, 0xae, 0x31, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
0x6f, 0x2a, 0xc7, 0x31, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x0a, 0x12,
0x1b, 0x0a, 0x17, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
@ -1307,8 +1310,9 @@ var file_errorcode_proto_rawDesc = []byte{
0x10, 0x8b, 0x20, 0x12, 0x15, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c,
0x61, 0x73, 0x4d, 0x61, 0x78, 0x4c, 0x76, 0x10, 0x8c, 0x20, 0x12, 0x16, 0x0a, 0x11, 0x53, 0x6d,
0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x4c, 0x61, 0x63, 0x6b, 0x4c, 0x76, 0x10,
0x8d, 0x20, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
0x8d, 0x20, 0x12, 0x17, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x4e, 0x6f, 0x46, 0x6f,
0x75, 0x6e, 0x64, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x10, 0x8e, 0x20, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -911,6 +911,101 @@ func (x *SmithyAtlasListResp) GetData() *DBAtlas {
return nil
}
// 图鉴激活更新
type SmithyAtlasActivateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // 图鉴ID
}
func (x *SmithyAtlasActivateReq) Reset() {
*x = SmithyAtlasActivateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SmithyAtlasActivateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SmithyAtlasActivateReq) ProtoMessage() {}
func (x *SmithyAtlasActivateReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[18]
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 SmithyAtlasActivateReq.ProtoReflect.Descriptor instead.
func (*SmithyAtlasActivateReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{18}
}
func (x *SmithyAtlasActivateReq) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type SmithyAtlasActivateResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *DBAtlas `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (x *SmithyAtlasActivateResp) Reset() {
*x = SmithyAtlasActivateResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SmithyAtlasActivateResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SmithyAtlasActivateResp) ProtoMessage() {}
func (x *SmithyAtlasActivateResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[19]
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 SmithyAtlasActivateResp.ProtoReflect.Descriptor instead.
func (*SmithyAtlasActivateResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{19}
}
func (x *SmithyAtlasActivateResp) GetData() *DBAtlas {
if x != nil {
return x.Data
}
return nil
}
// 图鉴信息奖励任务领取
type SmithyAtlasAwardReq struct {
state protoimpl.MessageState
@ -921,7 +1016,7 @@ type SmithyAtlasAwardReq struct {
func (x *SmithyAtlasAwardReq) Reset() {
*x = SmithyAtlasAwardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[18]
mi := &file_smithy_smithy_msg_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -934,7 +1029,7 @@ func (x *SmithyAtlasAwardReq) String() string {
func (*SmithyAtlasAwardReq) ProtoMessage() {}
func (x *SmithyAtlasAwardReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[18]
mi := &file_smithy_smithy_msg_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -947,7 +1042,7 @@ func (x *SmithyAtlasAwardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyAtlasAwardReq.ProtoReflect.Descriptor instead.
func (*SmithyAtlasAwardReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{18}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{20}
}
type SmithyAtlasAwardResp struct {
@ -961,7 +1056,7 @@ type SmithyAtlasAwardResp struct {
func (x *SmithyAtlasAwardResp) Reset() {
*x = SmithyAtlasAwardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[19]
mi := &file_smithy_smithy_msg_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -974,7 +1069,7 @@ func (x *SmithyAtlasAwardResp) String() string {
func (*SmithyAtlasAwardResp) ProtoMessage() {}
func (x *SmithyAtlasAwardResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[19]
mi := &file_smithy_smithy_msg_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -987,7 +1082,7 @@ func (x *SmithyAtlasAwardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyAtlasAwardResp.ProtoReflect.Descriptor instead.
func (*SmithyAtlasAwardResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{19}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{21}
}
func (x *SmithyAtlasAwardResp) GetData() *DBAtlas {
@ -1009,7 +1104,7 @@ type SmithyTaskAwardReq struct {
func (x *SmithyTaskAwardReq) Reset() {
*x = SmithyTaskAwardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[20]
mi := &file_smithy_smithy_msg_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1022,7 +1117,7 @@ func (x *SmithyTaskAwardReq) String() string {
func (*SmithyTaskAwardReq) ProtoMessage() {}
func (x *SmithyTaskAwardReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[20]
mi := &file_smithy_smithy_msg_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1035,7 +1130,7 @@ func (x *SmithyTaskAwardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyTaskAwardReq.ProtoReflect.Descriptor instead.
func (*SmithyTaskAwardReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{20}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{22}
}
func (x *SmithyTaskAwardReq) GetTaskId() int32 {
@ -1056,7 +1151,7 @@ type SmithyTaskAwardResp struct {
func (x *SmithyTaskAwardResp) Reset() {
*x = SmithyTaskAwardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[21]
mi := &file_smithy_smithy_msg_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1069,7 +1164,7 @@ func (x *SmithyTaskAwardResp) String() string {
func (*SmithyTaskAwardResp) ProtoMessage() {}
func (x *SmithyTaskAwardResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[21]
mi := &file_smithy_smithy_msg_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1082,7 +1177,7 @@ func (x *SmithyTaskAwardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyTaskAwardResp.ProtoReflect.Descriptor instead.
func (*SmithyTaskAwardResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{21}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{23}
}
func (x *SmithyTaskAwardResp) GetTaskId() int32 {
@ -1105,7 +1200,7 @@ type SmithyCreateOrderReq struct {
func (x *SmithyCreateOrderReq) Reset() {
*x = SmithyCreateOrderReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[22]
mi := &file_smithy_smithy_msg_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1118,7 +1213,7 @@ func (x *SmithyCreateOrderReq) String() string {
func (*SmithyCreateOrderReq) ProtoMessage() {}
func (x *SmithyCreateOrderReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[22]
mi := &file_smithy_smithy_msg_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1131,7 +1226,7 @@ func (x *SmithyCreateOrderReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyCreateOrderReq.ProtoReflect.Descriptor instead.
func (*SmithyCreateOrderReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{22}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{24}
}
func (x *SmithyCreateOrderReq) GetOrder() []*OrderClang {
@ -1152,7 +1247,7 @@ type SmithyCreateOrderResp struct {
func (x *SmithyCreateOrderResp) Reset() {
*x = SmithyCreateOrderResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[23]
mi := &file_smithy_smithy_msg_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1165,7 +1260,7 @@ func (x *SmithyCreateOrderResp) String() string {
func (*SmithyCreateOrderResp) ProtoMessage() {}
func (x *SmithyCreateOrderResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[23]
mi := &file_smithy_smithy_msg_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1178,7 +1273,7 @@ func (x *SmithyCreateOrderResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyCreateOrderResp.ProtoReflect.Descriptor instead.
func (*SmithyCreateOrderResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{23}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{25}
}
func (x *SmithyCreateOrderResp) GetData() *DBSmithy {
@ -1198,7 +1293,7 @@ type SmithyGetRewardReq struct {
func (x *SmithyGetRewardReq) Reset() {
*x = SmithyGetRewardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[24]
mi := &file_smithy_smithy_msg_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1211,7 +1306,7 @@ func (x *SmithyGetRewardReq) String() string {
func (*SmithyGetRewardReq) ProtoMessage() {}
func (x *SmithyGetRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[24]
mi := &file_smithy_smithy_msg_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1224,7 +1319,7 @@ func (x *SmithyGetRewardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyGetRewardReq.ProtoReflect.Descriptor instead.
func (*SmithyGetRewardReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{24}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{26}
}
type SmithyGetRewardResp struct {
@ -1238,7 +1333,7 @@ type SmithyGetRewardResp struct {
func (x *SmithyGetRewardResp) Reset() {
*x = SmithyGetRewardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[25]
mi := &file_smithy_smithy_msg_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1251,7 +1346,7 @@ func (x *SmithyGetRewardResp) String() string {
func (*SmithyGetRewardResp) ProtoMessage() {}
func (x *SmithyGetRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[25]
mi := &file_smithy_smithy_msg_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1264,7 +1359,7 @@ func (x *SmithyGetRewardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyGetRewardResp.ProtoReflect.Descriptor instead.
func (*SmithyGetRewardResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{25}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{27}
}
func (x *SmithyGetRewardResp) GetData() *DBSmithy {
@ -1286,7 +1381,7 @@ type SmithyDeskSkillLvReq struct {
func (x *SmithyDeskSkillLvReq) Reset() {
*x = SmithyDeskSkillLvReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[26]
mi := &file_smithy_smithy_msg_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1299,7 +1394,7 @@ func (x *SmithyDeskSkillLvReq) String() string {
func (*SmithyDeskSkillLvReq) ProtoMessage() {}
func (x *SmithyDeskSkillLvReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[26]
mi := &file_smithy_smithy_msg_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1312,7 +1407,7 @@ func (x *SmithyDeskSkillLvReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyDeskSkillLvReq.ProtoReflect.Descriptor instead.
func (*SmithyDeskSkillLvReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{26}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{28}
}
func (x *SmithyDeskSkillLvReq) GetDeskType() int32 {
@ -1333,7 +1428,7 @@ type SmithyDeskSkillLvResp struct {
func (x *SmithyDeskSkillLvResp) Reset() {
*x = SmithyDeskSkillLvResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[27]
mi := &file_smithy_smithy_msg_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1346,7 +1441,7 @@ func (x *SmithyDeskSkillLvResp) String() string {
func (*SmithyDeskSkillLvResp) ProtoMessage() {}
func (x *SmithyDeskSkillLvResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[27]
mi := &file_smithy_smithy_msg_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1359,7 +1454,7 @@ func (x *SmithyDeskSkillLvResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyDeskSkillLvResp.ProtoReflect.Descriptor instead.
func (*SmithyDeskSkillLvResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{27}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{29}
}
func (x *SmithyDeskSkillLvResp) GetData() *DBSmithy {
@ -1379,7 +1474,7 @@ type SmithyStoveSkillLvReq struct {
func (x *SmithyStoveSkillLvReq) Reset() {
*x = SmithyStoveSkillLvReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[28]
mi := &file_smithy_smithy_msg_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1392,7 +1487,7 @@ func (x *SmithyStoveSkillLvReq) String() string {
func (*SmithyStoveSkillLvReq) ProtoMessage() {}
func (x *SmithyStoveSkillLvReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[28]
mi := &file_smithy_smithy_msg_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1405,7 +1500,7 @@ func (x *SmithyStoveSkillLvReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyStoveSkillLvReq.ProtoReflect.Descriptor instead.
func (*SmithyStoveSkillLvReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{28}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{30}
}
type SmithyStoveSkillLvResp struct {
@ -1419,7 +1514,7 @@ type SmithyStoveSkillLvResp struct {
func (x *SmithyStoveSkillLvResp) Reset() {
*x = SmithyStoveSkillLvResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[29]
mi := &file_smithy_smithy_msg_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1432,7 +1527,7 @@ func (x *SmithyStoveSkillLvResp) String() string {
func (*SmithyStoveSkillLvResp) ProtoMessage() {}
func (x *SmithyStoveSkillLvResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[29]
mi := &file_smithy_smithy_msg_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1445,7 +1540,7 @@ func (x *SmithyStoveSkillLvResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyStoveSkillLvResp.ProtoReflect.Descriptor instead.
func (*SmithyStoveSkillLvResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{29}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{31}
}
func (x *SmithyStoveSkillLvResp) GetData() *DBSmithy {
@ -1466,7 +1561,7 @@ type SmithyGetRandUserReq struct {
func (x *SmithyGetRandUserReq) Reset() {
*x = SmithyGetRandUserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[30]
mi := &file_smithy_smithy_msg_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1479,7 +1574,7 @@ func (x *SmithyGetRandUserReq) String() string {
func (*SmithyGetRandUserReq) ProtoMessage() {}
func (x *SmithyGetRandUserReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[30]
mi := &file_smithy_smithy_msg_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1492,7 +1587,7 @@ func (x *SmithyGetRandUserReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyGetRandUserReq.ProtoReflect.Descriptor instead.
func (*SmithyGetRandUserReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{30}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{32}
}
func (x *SmithyGetRandUserReq) GetPeople() int32 {
@ -1513,7 +1608,7 @@ type SmithyGetRandUserResp struct {
func (x *SmithyGetRandUserResp) Reset() {
*x = SmithyGetRandUserResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[31]
mi := &file_smithy_smithy_msg_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1526,7 +1621,7 @@ func (x *SmithyGetRandUserResp) String() string {
func (*SmithyGetRandUserResp) ProtoMessage() {}
func (x *SmithyGetRandUserResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[31]
mi := &file_smithy_smithy_msg_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1539,7 +1634,7 @@ func (x *SmithyGetRandUserResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyGetRandUserResp.ProtoReflect.Descriptor instead.
func (*SmithyGetRandUserResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{31}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{33}
}
func (x *SmithyGetRandUserResp) GetUser() []*DBUser {
@ -1558,7 +1653,7 @@ type SmithyGetListReq struct {
func (x *SmithyGetListReq) Reset() {
*x = SmithyGetListReq{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[32]
mi := &file_smithy_smithy_msg_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1571,7 +1666,7 @@ func (x *SmithyGetListReq) String() string {
func (*SmithyGetListReq) ProtoMessage() {}
func (x *SmithyGetListReq) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[32]
mi := &file_smithy_smithy_msg_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1584,7 +1679,7 @@ func (x *SmithyGetListReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyGetListReq.ProtoReflect.Descriptor instead.
func (*SmithyGetListReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{32}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{34}
}
// 返回进度信息
@ -1599,7 +1694,7 @@ type SmithyGetListResp struct {
func (x *SmithyGetListResp) Reset() {
*x = SmithyGetListResp{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_msg_proto_msgTypes[33]
mi := &file_smithy_smithy_msg_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1612,7 +1707,7 @@ func (x *SmithyGetListResp) String() string {
func (*SmithyGetListResp) ProtoMessage() {}
func (x *SmithyGetListResp) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_msg_proto_msgTypes[33]
mi := &file_smithy_smithy_msg_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1625,7 +1720,7 @@ func (x *SmithyGetListResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use SmithyGetListResp.ProtoReflect.Descriptor instead.
func (*SmithyGetListResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{33}
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{35}
}
func (x *SmithyGetListResp) GetData() *DBSmithy {
@ -1708,53 +1803,59 @@ var file_smithy_smithy_msg_proto_rawDesc = []byte{
0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x4c, 0x69, 0x73, 0x74,
0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61,
0x73, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x14, 0x53, 0x6d, 0x69,
0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73,
0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x08, 0x2e, 0x44, 0x42, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0x2c, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x77, 0x61,
0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x2d, 0x0a,
0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64,
0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x14,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65,
0x72, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x6e, 0x67,
0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68,
0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09,
0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0x14, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61,
0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47,
0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04,
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53,
0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x32, 0x0a, 0x14, 0x53,
0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76,
0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22,
0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b, 0x53, 0x6b, 0x69,
0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68,
0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68,
0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x71,
0x22, 0x37, 0x0a, 0x16, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53,
0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61,
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69,
0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x14, 0x53, 0x6d, 0x69,
0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x71, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x22, 0x34, 0x0a, 0x15, 0x53, 0x6d, 0x69,
0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22,
0x12, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74,
0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68,
0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x74, 0x61, 0x22, 0x28, 0x0a, 0x16, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61,
0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x37, 0x0a, 0x17,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76,
0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41,
0x74, 0x6c, 0x61, 0x73, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x14,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x41, 0x77, 0x61, 0x72, 0x64,
0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x22, 0x2c, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x61, 0x73, 0x6b,
0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b,
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64,
0x22, 0x2d, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x77,
0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22,
0x39, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f,
0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c,
0x61, 0x6e, 0x67, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d,
0x69, 0x74, 0x68, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52,
0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74,
0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12,
0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e,
0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x32,
0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b, 0x53, 0x6b, 0x69, 0x6c,
0x6c, 0x4c, 0x76, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79,
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79,
0x70, 0x65, 0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b,
0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d,
0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x6d,
0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76,
0x52, 0x65, 0x71, 0x22, 0x37, 0x0a, 0x16, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f,
0x76, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x14,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65,
0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x22, 0x34, 0x0a, 0x15,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65,
0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
0x65, 0x72, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x4c,
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79,
0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d,
0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -1769,72 +1870,75 @@ func file_smithy_smithy_msg_proto_rawDescGZIP() []byte {
return file_smithy_smithy_msg_proto_rawDescData
}
var file_smithy_smithy_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
var file_smithy_smithy_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
var file_smithy_smithy_msg_proto_goTypes = []interface{}{
(*SmithyGetStoveInfoReq)(nil), // 0: SmithyGetStoveInfoReq
(*SmithyGetStoveInfoResp)(nil), // 1: SmithyGetStoveInfoResp
(*SmithyForgeEquipReq)(nil), // 2: SmithyForgeEquipReq
(*SmithyForgeEquipResp)(nil), // 3: SmithyForgeEquipResp
(*SmithyStoveUpReq)(nil), // 4: SmithyStoveUpReq
(*SmithyStoveUpResp)(nil), // 5: SmithyStoveUpResp
(*SmithyRiseReq)(nil), // 6: SmithyRiseReq
(*SmithyRiseResp)(nil), // 7: SmithyRiseResp
(*SmithyToolsUpReq)(nil), // 8: SmithyToolsUpReq
(*SmithyToolsUpResp)(nil), // 9: SmithyToolsUpResp
(*SmithyCustomerReq)(nil), // 10: SmithyCustomerReq
(*SmithyCustomerResp)(nil), // 11: SmithyCustomerResp
(*SmithySellReq)(nil), // 12: SmithySellReq
(*SmithySellResp)(nil), // 13: SmithySellResp
(*SmithyRefuseReq)(nil), // 14: SmithyRefuseReq
(*SmithyRefuseResp)(nil), // 15: SmithyRefuseResp
(*SmithyAtlasListReq)(nil), // 16: SmithyAtlasListReq
(*SmithyAtlasListResp)(nil), // 17: SmithyAtlasListResp
(*SmithyAtlasAwardReq)(nil), // 18: SmithyAtlasAwardReq
(*SmithyAtlasAwardResp)(nil), // 19: SmithyAtlasAwardResp
(*SmithyTaskAwardReq)(nil), // 20: SmithyTaskAwardReq
(*SmithyTaskAwardResp)(nil), // 21: SmithyTaskAwardResp
(*SmithyCreateOrderReq)(nil), // 22: SmithyCreateOrderReq
(*SmithyCreateOrderResp)(nil), // 23: SmithyCreateOrderResp
(*SmithyGetRewardReq)(nil), // 24: SmithyGetRewardReq
(*SmithyGetRewardResp)(nil), // 25: SmithyGetRewardResp
(*SmithyDeskSkillLvReq)(nil), // 26: SmithyDeskSkillLvReq
(*SmithyDeskSkillLvResp)(nil), // 27: SmithyDeskSkillLvResp
(*SmithyStoveSkillLvReq)(nil), // 28: SmithyStoveSkillLvReq
(*SmithyStoveSkillLvResp)(nil), // 29: SmithyStoveSkillLvResp
(*SmithyGetRandUserReq)(nil), // 30: SmithyGetRandUserReq
(*SmithyGetRandUserResp)(nil), // 31: SmithyGetRandUserResp
(*SmithyGetListReq)(nil), // 32: SmithyGetListReq
(*SmithyGetListResp)(nil), // 33: SmithyGetListResp
(*DBStove)(nil), // 34: DBStove
(*CustomerInfo)(nil), // 35: CustomerInfo
(*DBAtlas)(nil), // 36: DBAtlas
(*OrderClang)(nil), // 37: OrderClang
(*DBSmithy)(nil), // 38: DBSmithy
(*DBUser)(nil), // 39: DBUser
(*SmithyGetStoveInfoReq)(nil), // 0: SmithyGetStoveInfoReq
(*SmithyGetStoveInfoResp)(nil), // 1: SmithyGetStoveInfoResp
(*SmithyForgeEquipReq)(nil), // 2: SmithyForgeEquipReq
(*SmithyForgeEquipResp)(nil), // 3: SmithyForgeEquipResp
(*SmithyStoveUpReq)(nil), // 4: SmithyStoveUpReq
(*SmithyStoveUpResp)(nil), // 5: SmithyStoveUpResp
(*SmithyRiseReq)(nil), // 6: SmithyRiseReq
(*SmithyRiseResp)(nil), // 7: SmithyRiseResp
(*SmithyToolsUpReq)(nil), // 8: SmithyToolsUpReq
(*SmithyToolsUpResp)(nil), // 9: SmithyToolsUpResp
(*SmithyCustomerReq)(nil), // 10: SmithyCustomerReq
(*SmithyCustomerResp)(nil), // 11: SmithyCustomerResp
(*SmithySellReq)(nil), // 12: SmithySellReq
(*SmithySellResp)(nil), // 13: SmithySellResp
(*SmithyRefuseReq)(nil), // 14: SmithyRefuseReq
(*SmithyRefuseResp)(nil), // 15: SmithyRefuseResp
(*SmithyAtlasListReq)(nil), // 16: SmithyAtlasListReq
(*SmithyAtlasListResp)(nil), // 17: SmithyAtlasListResp
(*SmithyAtlasActivateReq)(nil), // 18: SmithyAtlasActivateReq
(*SmithyAtlasActivateResp)(nil), // 19: SmithyAtlasActivateResp
(*SmithyAtlasAwardReq)(nil), // 20: SmithyAtlasAwardReq
(*SmithyAtlasAwardResp)(nil), // 21: SmithyAtlasAwardResp
(*SmithyTaskAwardReq)(nil), // 22: SmithyTaskAwardReq
(*SmithyTaskAwardResp)(nil), // 23: SmithyTaskAwardResp
(*SmithyCreateOrderReq)(nil), // 24: SmithyCreateOrderReq
(*SmithyCreateOrderResp)(nil), // 25: SmithyCreateOrderResp
(*SmithyGetRewardReq)(nil), // 26: SmithyGetRewardReq
(*SmithyGetRewardResp)(nil), // 27: SmithyGetRewardResp
(*SmithyDeskSkillLvReq)(nil), // 28: SmithyDeskSkillLvReq
(*SmithyDeskSkillLvResp)(nil), // 29: SmithyDeskSkillLvResp
(*SmithyStoveSkillLvReq)(nil), // 30: SmithyStoveSkillLvReq
(*SmithyStoveSkillLvResp)(nil), // 31: SmithyStoveSkillLvResp
(*SmithyGetRandUserReq)(nil), // 32: SmithyGetRandUserReq
(*SmithyGetRandUserResp)(nil), // 33: SmithyGetRandUserResp
(*SmithyGetListReq)(nil), // 34: SmithyGetListReq
(*SmithyGetListResp)(nil), // 35: SmithyGetListResp
(*DBStove)(nil), // 36: DBStove
(*CustomerInfo)(nil), // 37: CustomerInfo
(*DBAtlas)(nil), // 38: DBAtlas
(*OrderClang)(nil), // 39: OrderClang
(*DBSmithy)(nil), // 40: DBSmithy
(*DBUser)(nil), // 41: DBUser
}
var file_smithy_smithy_msg_proto_depIdxs = []int32{
34, // 0: SmithyGetStoveInfoResp.data:type_name -> DBStove
34, // 1: SmithyForgeEquipResp.data:type_name -> DBStove
34, // 2: SmithyStoveUpResp.data:type_name -> DBStove
34, // 3: SmithyRiseResp.data:type_name -> DBStove
34, // 4: SmithyToolsUpResp.data:type_name -> DBStove
35, // 5: SmithyCustomerResp.customers:type_name -> CustomerInfo
35, // 6: SmithySellResp.customers:type_name -> CustomerInfo
35, // 7: SmithyRefuseResp.customers:type_name -> CustomerInfo
36, // 8: SmithyAtlasListResp.data:type_name -> DBAtlas
36, // 9: SmithyAtlasAwardResp.data:type_name -> DBAtlas
37, // 10: SmithyCreateOrderReq.order:type_name -> OrderClang
38, // 11: SmithyCreateOrderResp.data:type_name -> DBSmithy
38, // 12: SmithyGetRewardResp.data:type_name -> DBSmithy
38, // 13: SmithyDeskSkillLvResp.data:type_name -> DBSmithy
38, // 14: SmithyStoveSkillLvResp.data:type_name -> DBSmithy
39, // 15: SmithyGetRandUserResp.user:type_name -> DBUser
38, // 16: SmithyGetListResp.data:type_name -> DBSmithy
17, // [17:17] is the sub-list for method output_type
17, // [17:17] is the sub-list for method input_type
17, // [17:17] is the sub-list for extension type_name
17, // [17:17] is the sub-list for extension extendee
0, // [0:17] is the sub-list for field type_name
36, // 0: SmithyGetStoveInfoResp.data:type_name -> DBStove
36, // 1: SmithyForgeEquipResp.data:type_name -> DBStove
36, // 2: SmithyStoveUpResp.data:type_name -> DBStove
36, // 3: SmithyRiseResp.data:type_name -> DBStove
36, // 4: SmithyToolsUpResp.data:type_name -> DBStove
37, // 5: SmithyCustomerResp.customers:type_name -> CustomerInfo
37, // 6: SmithySellResp.customers:type_name -> CustomerInfo
37, // 7: SmithyRefuseResp.customers:type_name -> CustomerInfo
38, // 8: SmithyAtlasListResp.data:type_name -> DBAtlas
38, // 9: SmithyAtlasActivateResp.data:type_name -> DBAtlas
38, // 10: SmithyAtlasAwardResp.data:type_name -> DBAtlas
39, // 11: SmithyCreateOrderReq.order:type_name -> OrderClang
40, // 12: SmithyCreateOrderResp.data:type_name -> DBSmithy
40, // 13: SmithyGetRewardResp.data:type_name -> DBSmithy
40, // 14: SmithyDeskSkillLvResp.data:type_name -> DBSmithy
40, // 15: SmithyStoveSkillLvResp.data:type_name -> DBSmithy
41, // 16: SmithyGetRandUserResp.user:type_name -> DBUser
40, // 17: SmithyGetListResp.data:type_name -> DBSmithy
18, // [18:18] is the sub-list for method output_type
18, // [18:18] is the sub-list for method input_type
18, // [18:18] is the sub-list for extension type_name
18, // [18:18] is the sub-list for extension extendee
0, // [0:18] is the sub-list for field type_name
}
func init() { file_smithy_smithy_msg_proto_init() }
@ -2062,7 +2166,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyAtlasAwardReq); i {
switch v := v.(*SmithyAtlasActivateReq); i {
case 0:
return &v.state
case 1:
@ -2074,7 +2178,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyAtlasAwardResp); i {
switch v := v.(*SmithyAtlasActivateResp); i {
case 0:
return &v.state
case 1:
@ -2086,7 +2190,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyTaskAwardReq); i {
switch v := v.(*SmithyAtlasAwardReq); i {
case 0:
return &v.state
case 1:
@ -2098,7 +2202,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyTaskAwardResp); i {
switch v := v.(*SmithyAtlasAwardResp); i {
case 0:
return &v.state
case 1:
@ -2110,7 +2214,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyCreateOrderReq); i {
switch v := v.(*SmithyTaskAwardReq); i {
case 0:
return &v.state
case 1:
@ -2122,7 +2226,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyCreateOrderResp); i {
switch v := v.(*SmithyTaskAwardResp); i {
case 0:
return &v.state
case 1:
@ -2134,7 +2238,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetRewardReq); i {
switch v := v.(*SmithyCreateOrderReq); i {
case 0:
return &v.state
case 1:
@ -2146,7 +2250,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetRewardResp); i {
switch v := v.(*SmithyCreateOrderResp); i {
case 0:
return &v.state
case 1:
@ -2158,7 +2262,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyDeskSkillLvReq); i {
switch v := v.(*SmithyGetRewardReq); i {
case 0:
return &v.state
case 1:
@ -2170,7 +2274,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyDeskSkillLvResp); i {
switch v := v.(*SmithyGetRewardResp); i {
case 0:
return &v.state
case 1:
@ -2182,7 +2286,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyStoveSkillLvReq); i {
switch v := v.(*SmithyDeskSkillLvReq); i {
case 0:
return &v.state
case 1:
@ -2194,7 +2298,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyStoveSkillLvResp); i {
switch v := v.(*SmithyDeskSkillLvResp); i {
case 0:
return &v.state
case 1:
@ -2206,7 +2310,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetRandUserReq); i {
switch v := v.(*SmithyStoveSkillLvReq); i {
case 0:
return &v.state
case 1:
@ -2218,7 +2322,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetRandUserResp); i {
switch v := v.(*SmithyStoveSkillLvResp); i {
case 0:
return &v.state
case 1:
@ -2230,7 +2334,7 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetListReq); i {
switch v := v.(*SmithyGetRandUserReq); i {
case 0:
return &v.state
case 1:
@ -2242,6 +2346,30 @@ func file_smithy_smithy_msg_proto_init() {
}
}
file_smithy_smithy_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetRandUserResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_smithy_smithy_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetListReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_smithy_smithy_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmithyGetListResp); i {
case 0:
return &v.state
@ -2260,7 +2388,7 @@ func file_smithy_smithy_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_smithy_smithy_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 34,
NumMessages: 36,
NumExtensions: 0,
NumServices: 0,
},