配置文件生成文件
This commit is contained in:
parent
08de4af442
commit
18cf7796b6
@ -39,6 +39,9 @@ const (
|
|||||||
ErrorCode_SystemError ErrorCode = 22 //通用错误
|
ErrorCode_SystemError ErrorCode = 22 //通用错误
|
||||||
ErrorCode_Exception ErrorCode = 100 //程序执行异常
|
ErrorCode_Exception ErrorCode = 100 //程序执行异常
|
||||||
ErrorCode_Unknown ErrorCode = 101 //未知错误
|
ErrorCode_Unknown ErrorCode = 101 //未知错误
|
||||||
|
ErrorCode_ResNoEnough ErrorCode = 102 //资源不足
|
||||||
|
ErrorCode_ConfigurationException ErrorCode = 103 //配置异常
|
||||||
|
ErrorCode_ConfigNoFound ErrorCode = 104 //配置未找到
|
||||||
// user
|
// user
|
||||||
ErrorCode_SecKeyInvalid ErrorCode = 1000 //秘钥无效
|
ErrorCode_SecKeyInvalid ErrorCode = 1000 //秘钥无效
|
||||||
ErrorCode_SecKey ErrorCode = 1001 //秘钥格式错误
|
ErrorCode_SecKey ErrorCode = 1001 //秘钥格式错误
|
||||||
@ -56,11 +59,11 @@ const (
|
|||||||
ErrorCode_FriendApplyError ErrorCode = 1109 //申请失败
|
ErrorCode_FriendApplyError ErrorCode = 1109 //申请失败
|
||||||
ErrorCode_FriendBlackMax ErrorCode = 1110 //黑名单最大数量
|
ErrorCode_FriendBlackMax ErrorCode = 1110 //黑名单最大数量
|
||||||
ErrorCode_FriendSearchNameEmpty ErrorCode = 1111 //查询昵称为空
|
ErrorCode_FriendSearchNameEmpty ErrorCode = 1111 //查询昵称为空
|
||||||
// pack
|
// item
|
||||||
ErrorCode_PackNoEnough ErrorCode = 1200 //背包物品不足
|
ErrorCode_ItemsNoEnough ErrorCode = 1200 //背包物品不足
|
||||||
ErrorCode_PackNoFoundGird ErrorCode = 1201 //背包未找到物品格子
|
ErrorCode_ItemsNoFoundGird ErrorCode = 1201 //背包未找到物品格子
|
||||||
ErrorCode_PackGridNumUpper ErrorCode = 1202 //背包格子数量已达上限
|
ErrorCode_ItemsGridNumUpper ErrorCode = 1202 //背包格子数量已达上限
|
||||||
ErrorCode_PackGirdAmountUpper ErrorCode = 1203 //背包格子容量已达上限
|
ErrorCode_ItemsGirdAmountUpper ErrorCode = 1203 //背包格子容量已达上限
|
||||||
// hero
|
// hero
|
||||||
ErrorCode_HeroNoExist ErrorCode = 1300 //英雄不存在
|
ErrorCode_HeroNoExist ErrorCode = 1300 //英雄不存在
|
||||||
ErrorCode_HeroNoEnough ErrorCode = 1301 //英雄数量不足
|
ErrorCode_HeroNoEnough ErrorCode = 1301 //英雄数量不足
|
||||||
@ -89,6 +92,9 @@ var (
|
|||||||
22: "SystemError",
|
22: "SystemError",
|
||||||
100: "Exception",
|
100: "Exception",
|
||||||
101: "Unknown",
|
101: "Unknown",
|
||||||
|
102: "ResNoEnough",
|
||||||
|
103: "ConfigurationException",
|
||||||
|
104: "ConfigNoFound",
|
||||||
1000: "SecKeyInvalid",
|
1000: "SecKeyInvalid",
|
||||||
1001: "SecKey",
|
1001: "SecKey",
|
||||||
1002: "BindUser",
|
1002: "BindUser",
|
||||||
@ -104,10 +110,10 @@ var (
|
|||||||
1109: "FriendApplyError",
|
1109: "FriendApplyError",
|
||||||
1110: "FriendBlackMax",
|
1110: "FriendBlackMax",
|
||||||
1111: "FriendSearchNameEmpty",
|
1111: "FriendSearchNameEmpty",
|
||||||
1200: "PackNoEnough",
|
1200: "ItemsNoEnough",
|
||||||
1201: "PackNoFoundGird",
|
1201: "ItemsNoFoundGird",
|
||||||
1202: "PackGridNumUpper",
|
1202: "ItemsGridNumUpper",
|
||||||
1203: "PackGirdAmountUpper",
|
1203: "ItemsGirdAmountUpper",
|
||||||
1300: "HeroNoExist",
|
1300: "HeroNoExist",
|
||||||
1301: "HeroNoEnough",
|
1301: "HeroNoEnough",
|
||||||
1302: "HeroMaxLv",
|
1302: "HeroMaxLv",
|
||||||
@ -131,6 +137,9 @@ var (
|
|||||||
"SystemError": 22,
|
"SystemError": 22,
|
||||||
"Exception": 100,
|
"Exception": 100,
|
||||||
"Unknown": 101,
|
"Unknown": 101,
|
||||||
|
"ResNoEnough": 102,
|
||||||
|
"ConfigurationException": 103,
|
||||||
|
"ConfigNoFound": 104,
|
||||||
"SecKeyInvalid": 1000,
|
"SecKeyInvalid": 1000,
|
||||||
"SecKey": 1001,
|
"SecKey": 1001,
|
||||||
"BindUser": 1002,
|
"BindUser": 1002,
|
||||||
@ -146,10 +155,10 @@ var (
|
|||||||
"FriendApplyError": 1109,
|
"FriendApplyError": 1109,
|
||||||
"FriendBlackMax": 1110,
|
"FriendBlackMax": 1110,
|
||||||
"FriendSearchNameEmpty": 1111,
|
"FriendSearchNameEmpty": 1111,
|
||||||
"PackNoEnough": 1200,
|
"ItemsNoEnough": 1200,
|
||||||
"PackNoFoundGird": 1201,
|
"ItemsNoFoundGird": 1201,
|
||||||
"PackGridNumUpper": 1202,
|
"ItemsGridNumUpper": 1202,
|
||||||
"PackGirdAmountUpper": 1203,
|
"ItemsGirdAmountUpper": 1203,
|
||||||
"HeroNoExist": 1300,
|
"HeroNoExist": 1300,
|
||||||
"HeroNoEnough": 1301,
|
"HeroNoEnough": 1301,
|
||||||
"HeroMaxLv": 1302,
|
"HeroMaxLv": 1302,
|
||||||
@ -189,7 +198,7 @@ var File_errorcode_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_errorcode_proto_rawDesc = []byte{
|
var file_errorcode_proto_rawDesc = []byte{
|
||||||
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x6f, 0x2a, 0xce, 0x06, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
0x6f, 0x2a, 0x92, 0x07, 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,
|
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,
|
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,
|
0x1b, 0x0a, 0x17, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||||
@ -209,7 +218,11 @@ var file_errorcode_proto_rawDesc = []byte{
|
|||||||
0x44, 0x42, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x15, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x79, 0x73,
|
0x44, 0x42, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x15, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x79, 0x73,
|
||||||
0x74, 0x65, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x16, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x78,
|
0x74, 0x65, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x16, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x78,
|
||||||
0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b,
|
0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b,
|
||||||
0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x65, 0x12, 0x12, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x4b, 0x65, 0x79,
|
0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x4e, 0x6f, 0x45,
|
||||||
|
0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x66, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||||
|
0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f,
|
||||||
|
0x6e, 0x10, 0x67, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x46,
|
||||||
|
0x6f, 0x75, 0x6e, 0x64, 0x10, 0x68, 0x12, 0x12, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x4b, 0x65, 0x79,
|
||||||
0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, 0xe8, 0x07, 0x12, 0x0b, 0x0a, 0x06, 0x53, 0x65,
|
0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, 0xe8, 0x07, 0x12, 0x0b, 0x0a, 0x06, 0x53, 0x65,
|
||||||
0x63, 0x4b, 0x65, 0x79, 0x10, 0xe9, 0x07, 0x12, 0x0d, 0x0a, 0x08, 0x42, 0x69, 0x6e, 0x64, 0x55,
|
0x63, 0x4b, 0x65, 0x79, 0x10, 0xe9, 0x07, 0x12, 0x0d, 0x0a, 0x08, 0x42, 0x69, 0x6e, 0x64, 0x55,
|
||||||
0x73, 0x65, 0x72, 0x10, 0xea, 0x07, 0x12, 0x12, 0x0a, 0x0d, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
|
0x73, 0x65, 0x72, 0x10, 0xea, 0x07, 0x12, 0x12, 0x0a, 0x0d, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
|
||||||
@ -229,21 +242,21 @@ var file_errorcode_proto_rawDesc = []byte{
|
|||||||
0x72, 0x10, 0xd5, 0x08, 0x12, 0x13, 0x0a, 0x0e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x6c,
|
0x72, 0x10, 0xd5, 0x08, 0x12, 0x13, 0x0a, 0x0e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x6c,
|
||||||
0x61, 0x63, 0x6b, 0x4d, 0x61, 0x78, 0x10, 0xd6, 0x08, 0x12, 0x1a, 0x0a, 0x15, 0x46, 0x72, 0x69,
|
0x61, 0x63, 0x6b, 0x4d, 0x61, 0x78, 0x10, 0xd6, 0x08, 0x12, 0x1a, 0x0a, 0x15, 0x46, 0x72, 0x69,
|
||||||
0x65, 0x6e, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6d, 0x70,
|
0x65, 0x6e, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6d, 0x70,
|
||||||
0x74, 0x79, 0x10, 0xd7, 0x08, 0x12, 0x11, 0x0a, 0x0c, 0x50, 0x61, 0x63, 0x6b, 0x4e, 0x6f, 0x45,
|
0x74, 0x79, 0x10, 0xd7, 0x08, 0x12, 0x12, 0x0a, 0x0d, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x4e, 0x6f,
|
||||||
0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0xb0, 0x09, 0x12, 0x14, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b,
|
0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0xb0, 0x09, 0x12, 0x15, 0x0a, 0x10, 0x49, 0x74, 0x65,
|
||||||
0x4e, 0x6f, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x69, 0x72, 0x64, 0x10, 0xb1, 0x09, 0x12, 0x15,
|
0x6d, 0x73, 0x4e, 0x6f, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x69, 0x72, 0x64, 0x10, 0xb1, 0x09,
|
||||||
0x0a, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x47, 0x72, 0x69, 0x64, 0x4e, 0x75, 0x6d, 0x55, 0x70, 0x70,
|
0x12, 0x16, 0x0a, 0x11, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x47, 0x72, 0x69, 0x64, 0x4e, 0x75, 0x6d,
|
||||||
0x65, 0x72, 0x10, 0xb2, 0x09, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x61, 0x63, 0x6b, 0x47, 0x69, 0x72,
|
0x55, 0x70, 0x70, 0x65, 0x72, 0x10, 0xb2, 0x09, 0x12, 0x19, 0x0a, 0x14, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x70, 0x65, 0x72, 0x10, 0xb3, 0x09, 0x12,
|
0x73, 0x47, 0x69, 0x72, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x70, 0x65, 0x72,
|
||||||
0x10, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x4e, 0x6f, 0x45, 0x78, 0x69, 0x73, 0x74, 0x10, 0x94,
|
0x10, 0xb3, 0x09, 0x12, 0x10, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x4e, 0x6f, 0x45, 0x78, 0x69,
|
||||||
0x0a, 0x12, 0x11, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x4e, 0x6f, 0x45, 0x6e, 0x6f, 0x75, 0x67,
|
0x73, 0x74, 0x10, 0x94, 0x0a, 0x12, 0x11, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x4e, 0x6f, 0x45,
|
||||||
0x68, 0x10, 0x95, 0x0a, 0x12, 0x0e, 0x0a, 0x09, 0x48, 0x65, 0x72, 0x6f, 0x4d, 0x61, 0x78, 0x4c,
|
0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x95, 0x0a, 0x12, 0x0e, 0x0a, 0x09, 0x48, 0x65, 0x72, 0x6f,
|
||||||
0x76, 0x10, 0x96, 0x0a, 0x12, 0x1e, 0x0a, 0x19, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e,
|
0x4d, 0x61, 0x78, 0x4c, 0x76, 0x10, 0x96, 0x0a, 0x12, 0x1e, 0x0a, 0x19, 0x45, 0x71, 0x75, 0x69,
|
||||||
0x74, 0x4f, 0x6e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e,
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x71, 0x75, 0x69,
|
||||||
0x74, 0x10, 0xf8, 0x0a, 0x12, 0x1c, 0x0a, 0x17, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e,
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0xf8, 0x0a, 0x12, 0x1c, 0x0a, 0x17, 0x45, 0x71, 0x75, 0x69,
|
||||||
0x74, 0x4c, 0x76, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x63, 0x68, 0x65, 0x64, 0x10,
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x76, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x63,
|
||||||
0xf9, 0x0a, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
0x68, 0x65, 0x64, 0x10, 0xf9, 0x0a, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
|
||||||
0x6f, 0x33,
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -28,6 +28,7 @@ message Hero_StrengthenUplv_Req {
|
|||||||
string heroObjID = 1; // 英雄对象ID
|
string heroObjID = 1; // 英雄对象ID
|
||||||
string expCardID = 2; // 经验卡对象ID
|
string expCardID = 2; // 经验卡对象ID
|
||||||
int32 amount = 3; // 消耗经验卡数量}
|
int32 amount = 3; // 消耗经验卡数量}
|
||||||
|
}
|
||||||
|
|
||||||
// 卡牌升级返回
|
// 卡牌升级返回
|
||||||
message Hero_StrengthenUplv_Resp {
|
message Hero_StrengthenUplv_Resp {
|
||||||
|
Loading…
Reference in New Issue
Block a user