From 739b382f28a2f458724db379f7f4243900eaed23 Mon Sep 17 00:00:00 2001 From: zhaocy Date: Wed, 6 Jul 2022 19:47:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pb/errorcode.pb.go | 35 ++++++++++++++--------------------- pb/proto/errorcode.proto | 6 +++--- 2 files changed, 17 insertions(+), 24 deletions(-) diff --git a/pb/errorcode.pb.go b/pb/errorcode.pb.go index 620a0533f..d5fbc8a13 100644 --- a/pb/errorcode.pb.go +++ b/pb/errorcode.pb.go @@ -90,9 +90,9 @@ const ( ErrorCode_StoryNotFindChapter ErrorCode = 1500 // 没有找到主线关卡信息 ErrorCode_StoryIDFailed ErrorCode = 1501 // 关卡ID 错误 // task - ErrorCode_TaskInit ErrorCode = 1500 //初始化失败 - ErrorCode_TaskReset ErrorCode = 1501 //重置任务失败 - ErrorCode_TaskHandle ErrorCode = 1502 //任务处理失败 + ErrorCode_TaskInit ErrorCode = 1600 //初始化失败 + ErrorCode_TaskReset ErrorCode = 1601 //重置任务失败 + ErrorCode_TaskHandle ErrorCode = 1602 //任务处理失败 ) // Enum value maps for ErrorCode. @@ -158,9 +158,9 @@ var ( 1401: "EquipmentLvlimitReached", 1500: "StoryNotFindChapter", 1501: "StoryIDFailed", - 1500: "TaskInit", - 1501: "TaskReset", - 1502: "TaskHandle", + 1600: "TaskInit", + 1601: "TaskReset", + 1602: "TaskHandle", } ErrorCode_value = map[string]int32{ "Success": 0, @@ -223,9 +223,9 @@ var ( "EquipmentLvlimitReached": 1401, "StoryNotFindChapter": 1500, "StoryIDFailed": 1501, - "TaskInit": 1500, - "TaskReset": 1501, - "TaskHandle": 1502, + "TaskInit": 1600, + "TaskReset": 1601, + "TaskHandle": 1602, } ) @@ -260,8 +260,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, 0xeb, 0x09, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x6f, 0x2a, 0xc8, 0x09, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x6f, 0x2a, 0x9b, 0x0a, 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, @@ -339,17 +338,11 @@ var file_errorcode_proto_rawDesc = []byte{ 0x4c, 0x76, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x63, 0x68, 0x65, 0x64, 0x10, 0xf9, 0x0a, 0x12, 0x18, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x6f, 0x74, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x10, 0xdc, 0x0b, 0x12, 0x12, 0x0a, 0x0d, 0x53, - 0x74, 0x6f, 0x72, 0x79, 0x49, 0x44, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0xdd, 0x0b, 0x42, + 0x74, 0x6f, 0x72, 0x79, 0x49, 0x44, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0xdd, 0x0b, 0x12, + 0x0d, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x69, 0x74, 0x10, 0xc0, 0x0c, 0x12, 0x0e, + 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x65, 0x74, 0x10, 0xc1, 0x0c, 0x12, 0x0f, + 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x10, 0xc2, 0x0c, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, - 0x45, 0x71, 0x75, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x10, 0x9f, 0x0a, 0x12, 0x1e, - 0x0a, 0x19, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x46, 0x6f, 0x75, - 0x6e, 0x64, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0xf8, 0x0a, 0x12, 0x1c, - 0x0a, 0x17, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x76, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x52, 0x65, 0x61, 0x63, 0x68, 0x65, 0x64, 0x10, 0xf9, 0x0a, 0x12, 0x0d, 0x0a, 0x08, - 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x69, 0x74, 0x10, 0xdc, 0x0b, 0x12, 0x0e, 0x0a, 0x09, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x65, 0x74, 0x10, 0xdd, 0x0b, 0x12, 0x0f, 0x0a, 0x0a, 0x54, - 0x61, 0x73, 0x6b, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x10, 0xde, 0x0b, 0x42, 0x06, 0x5a, 0x04, - 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/pb/proto/errorcode.proto b/pb/proto/errorcode.proto index 6d903e756..ea47d9084 100644 --- a/pb/proto/errorcode.proto +++ b/pb/proto/errorcode.proto @@ -75,7 +75,7 @@ enum ErrorCode { StoryIDFailed = 1501; // 关卡ID 错误 // task - TaskInit = 1500; //初始化失败 - TaskReset = 1501; //重置任务失败 - TaskHandle = 1502; //任务处理失败 + TaskInit = 1600; //初始化失败 + TaskReset = 1601; //重置任务失败 + TaskHandle = 1602; //任务处理失败 } \ No newline at end of file