diff --git a/lua_out/CommonProto_pb.lua b/lua_out/CommonProto_pb.lua index 090fd08..01dde8e 100644 --- a/lua_out/CommonProto_pb.lua +++ b/lua_out/CommonProto_pb.lua @@ -16,7 +16,6 @@ local COMMON_PLAYER_GOLD_FIELD = protobuf.FieldDescriptor(); local COMMON_PLAYER_GEM_FIELD = protobuf.FieldDescriptor(); local COMMON_PLAYER_CHARGEGEM_FIELD = protobuf.FieldDescriptor(); local COMMON_ITEM = protobuf.Descriptor(); -local COMMON_ITEM_ID_FIELD = protobuf.FieldDescriptor(); local COMMON_ITEM_ITEMID_FIELD = protobuf.FieldDescriptor(); local COMMON_ITEM_ITEMNUM_FIELD = protobuf.FieldDescriptor(); local COMMON_ITEM_ITEMTYPE_FIELD = protobuf.FieldDescriptor(); @@ -38,7 +37,6 @@ local COMMON_HERO_SPEED_FIELD = protobuf.FieldDescriptor(); local COMMON_HERO_SKILLLIST_FIELD = protobuf.FieldDescriptor(); local COMMON_HERO_EQUIPLIST_FIELD = protobuf.FieldDescriptor(); local COMMON_SKILL = protobuf.Descriptor(); -local COMMON_SKILL_ID_FIELD = protobuf.FieldDescriptor(); local COMMON_SKILL_SKILLID_FIELD = protobuf.FieldDescriptor(); local COMMON_SKILL_SKILLTYPE_FIELD = protobuf.FieldDescriptor(); local COMMON_SKILL_LEVEL_FIELD = protobuf.FieldDescriptor(); @@ -46,7 +44,7 @@ local COMMON_SKILL_STAR_FIELD = protobuf.FieldDescriptor(); local COMMON_SKILL_CD_FIELD = protobuf.FieldDescriptor(); local COMMON_SKILL_EFFECTID_FIELD = protobuf.FieldDescriptor(); local COMMON_MAIL = protobuf.Descriptor(); -local COMMON_MAIL_ID_FIELD = protobuf.FieldDescriptor(); +local COMMON_MAIL_MAILID_FIELD = protobuf.FieldDescriptor(); local COMMON_MAIL_ITEMID_FIELD = protobuf.FieldDescriptor(); local COMMON_CELLEVENT = protobuf.Descriptor(); local COMMON_CELLEVENT_EVENTID_FIELD = protobuf.FieldDescriptor(); @@ -173,20 +171,10 @@ COMMON_PLAYER.fields = {COMMON_PLAYER_UID_FIELD, COMMON_PLAYER_NICKNAME_FIELD, C COMMON_PLAYER.is_extendable = false COMMON_PLAYER.extensions = {} COMMON_PLAYER.containing_type = COMMON -COMMON_ITEM_ID_FIELD.name = "id" -COMMON_ITEM_ID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.id" -COMMON_ITEM_ID_FIELD.number = 1 -COMMON_ITEM_ID_FIELD.index = 0 -COMMON_ITEM_ID_FIELD.label = 1 -COMMON_ITEM_ID_FIELD.has_default_value = false -COMMON_ITEM_ID_FIELD.default_value = "" -COMMON_ITEM_ID_FIELD.type = 9 -COMMON_ITEM_ID_FIELD.cpp_type = 9 - COMMON_ITEM_ITEMID_FIELD.name = "itemId" COMMON_ITEM_ITEMID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.itemId" -COMMON_ITEM_ITEMID_FIELD.number = 2 -COMMON_ITEM_ITEMID_FIELD.index = 1 +COMMON_ITEM_ITEMID_FIELD.number = 1 +COMMON_ITEM_ITEMID_FIELD.index = 0 COMMON_ITEM_ITEMID_FIELD.label = 1 COMMON_ITEM_ITEMID_FIELD.has_default_value = false COMMON_ITEM_ITEMID_FIELD.default_value = 0 @@ -195,8 +183,8 @@ COMMON_ITEM_ITEMID_FIELD.cpp_type = 1 COMMON_ITEM_ITEMNUM_FIELD.name = "itemNum" COMMON_ITEM_ITEMNUM_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.itemNum" -COMMON_ITEM_ITEMNUM_FIELD.number = 3 -COMMON_ITEM_ITEMNUM_FIELD.index = 2 +COMMON_ITEM_ITEMNUM_FIELD.number = 2 +COMMON_ITEM_ITEMNUM_FIELD.index = 1 COMMON_ITEM_ITEMNUM_FIELD.label = 1 COMMON_ITEM_ITEMNUM_FIELD.has_default_value = false COMMON_ITEM_ITEMNUM_FIELD.default_value = 0 @@ -205,8 +193,8 @@ COMMON_ITEM_ITEMNUM_FIELD.cpp_type = 1 COMMON_ITEM_ITEMTYPE_FIELD.name = "itemType" COMMON_ITEM_ITEMTYPE_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.itemType" -COMMON_ITEM_ITEMTYPE_FIELD.number = 4 -COMMON_ITEM_ITEMTYPE_FIELD.index = 3 +COMMON_ITEM_ITEMTYPE_FIELD.number = 3 +COMMON_ITEM_ITEMTYPE_FIELD.index = 2 COMMON_ITEM_ITEMTYPE_FIELD.label = 1 COMMON_ITEM_ITEMTYPE_FIELD.has_default_value = false COMMON_ITEM_ITEMTYPE_FIELD.default_value = 0 @@ -215,8 +203,8 @@ COMMON_ITEM_ITEMTYPE_FIELD.cpp_type = 1 COMMON_ITEM_ITEMQUALITY_FIELD.name = "itemQuality" COMMON_ITEM_ITEMQUALITY_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.itemQuality" -COMMON_ITEM_ITEMQUALITY_FIELD.number = 5 -COMMON_ITEM_ITEMQUALITY_FIELD.index = 4 +COMMON_ITEM_ITEMQUALITY_FIELD.number = 4 +COMMON_ITEM_ITEMQUALITY_FIELD.index = 3 COMMON_ITEM_ITEMQUALITY_FIELD.label = 1 COMMON_ITEM_ITEMQUALITY_FIELD.has_default_value = false COMMON_ITEM_ITEMQUALITY_FIELD.default_value = 0 @@ -225,8 +213,8 @@ COMMON_ITEM_ITEMQUALITY_FIELD.cpp_type = 1 COMMON_ITEM_ISSTACKING_FIELD.name = "isStacking" COMMON_ITEM_ISSTACKING_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.isStacking" -COMMON_ITEM_ISSTACKING_FIELD.number = 6 -COMMON_ITEM_ISSTACKING_FIELD.index = 5 +COMMON_ITEM_ISSTACKING_FIELD.number = 5 +COMMON_ITEM_ISSTACKING_FIELD.index = 4 COMMON_ITEM_ISSTACKING_FIELD.label = 1 COMMON_ITEM_ISSTACKING_FIELD.has_default_value = false COMMON_ITEM_ISSTACKING_FIELD.default_value = false @@ -235,8 +223,8 @@ COMMON_ITEM_ISSTACKING_FIELD.cpp_type = 7 COMMON_ITEM_ENDINGTIME_FIELD.name = "endingTime" COMMON_ITEM_ENDINGTIME_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Item.endingTime" -COMMON_ITEM_ENDINGTIME_FIELD.number = 7 -COMMON_ITEM_ENDINGTIME_FIELD.index = 6 +COMMON_ITEM_ENDINGTIME_FIELD.number = 6 +COMMON_ITEM_ENDINGTIME_FIELD.index = 5 COMMON_ITEM_ENDINGTIME_FIELD.label = 1 COMMON_ITEM_ENDINGTIME_FIELD.has_default_value = false COMMON_ITEM_ENDINGTIME_FIELD.default_value = 0 @@ -247,7 +235,7 @@ COMMON_ITEM.name = "Item" COMMON_ITEM.full_name = ".com.ljsd.jieling.protocols.Common.Item" COMMON_ITEM.nested_types = {} COMMON_ITEM.enum_types = {} -COMMON_ITEM.fields = {COMMON_ITEM_ID_FIELD, COMMON_ITEM_ITEMID_FIELD, COMMON_ITEM_ITEMNUM_FIELD, COMMON_ITEM_ITEMTYPE_FIELD, COMMON_ITEM_ITEMQUALITY_FIELD, COMMON_ITEM_ISSTACKING_FIELD, COMMON_ITEM_ENDINGTIME_FIELD} +COMMON_ITEM.fields = {COMMON_ITEM_ITEMID_FIELD, COMMON_ITEM_ITEMNUM_FIELD, COMMON_ITEM_ITEMTYPE_FIELD, COMMON_ITEM_ITEMQUALITY_FIELD, COMMON_ITEM_ISSTACKING_FIELD, COMMON_ITEM_ENDINGTIME_FIELD} COMMON_ITEM.is_extendable = false COMMON_ITEM.extensions = {} COMMON_ITEM.containing_type = COMMON @@ -391,20 +379,10 @@ COMMON_HERO.fields = {COMMON_HERO_ID_FIELD, COMMON_HERO_HEROID_FIELD, COMMON_HER COMMON_HERO.is_extendable = false COMMON_HERO.extensions = {} COMMON_HERO.containing_type = COMMON -COMMON_SKILL_ID_FIELD.name = "id" -COMMON_SKILL_ID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.id" -COMMON_SKILL_ID_FIELD.number = 1 -COMMON_SKILL_ID_FIELD.index = 0 -COMMON_SKILL_ID_FIELD.label = 1 -COMMON_SKILL_ID_FIELD.has_default_value = false -COMMON_SKILL_ID_FIELD.default_value = "" -COMMON_SKILL_ID_FIELD.type = 9 -COMMON_SKILL_ID_FIELD.cpp_type = 9 - COMMON_SKILL_SKILLID_FIELD.name = "skillId" COMMON_SKILL_SKILLID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.skillId" COMMON_SKILL_SKILLID_FIELD.number = 2 -COMMON_SKILL_SKILLID_FIELD.index = 1 +COMMON_SKILL_SKILLID_FIELD.index = 0 COMMON_SKILL_SKILLID_FIELD.label = 1 COMMON_SKILL_SKILLID_FIELD.has_default_value = false COMMON_SKILL_SKILLID_FIELD.default_value = 0 @@ -414,7 +392,7 @@ COMMON_SKILL_SKILLID_FIELD.cpp_type = 1 COMMON_SKILL_SKILLTYPE_FIELD.name = "skillType" COMMON_SKILL_SKILLTYPE_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.skillType" COMMON_SKILL_SKILLTYPE_FIELD.number = 3 -COMMON_SKILL_SKILLTYPE_FIELD.index = 2 +COMMON_SKILL_SKILLTYPE_FIELD.index = 1 COMMON_SKILL_SKILLTYPE_FIELD.label = 1 COMMON_SKILL_SKILLTYPE_FIELD.has_default_value = false COMMON_SKILL_SKILLTYPE_FIELD.default_value = 0 @@ -424,7 +402,7 @@ COMMON_SKILL_SKILLTYPE_FIELD.cpp_type = 1 COMMON_SKILL_LEVEL_FIELD.name = "level" COMMON_SKILL_LEVEL_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.level" COMMON_SKILL_LEVEL_FIELD.number = 4 -COMMON_SKILL_LEVEL_FIELD.index = 3 +COMMON_SKILL_LEVEL_FIELD.index = 2 COMMON_SKILL_LEVEL_FIELD.label = 1 COMMON_SKILL_LEVEL_FIELD.has_default_value = false COMMON_SKILL_LEVEL_FIELD.default_value = 0 @@ -434,7 +412,7 @@ COMMON_SKILL_LEVEL_FIELD.cpp_type = 1 COMMON_SKILL_STAR_FIELD.name = "star" COMMON_SKILL_STAR_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.star" COMMON_SKILL_STAR_FIELD.number = 5 -COMMON_SKILL_STAR_FIELD.index = 4 +COMMON_SKILL_STAR_FIELD.index = 3 COMMON_SKILL_STAR_FIELD.label = 1 COMMON_SKILL_STAR_FIELD.has_default_value = false COMMON_SKILL_STAR_FIELD.default_value = 0 @@ -444,7 +422,7 @@ COMMON_SKILL_STAR_FIELD.cpp_type = 1 COMMON_SKILL_CD_FIELD.name = "cd" COMMON_SKILL_CD_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.cd" COMMON_SKILL_CD_FIELD.number = 6 -COMMON_SKILL_CD_FIELD.index = 5 +COMMON_SKILL_CD_FIELD.index = 4 COMMON_SKILL_CD_FIELD.label = 1 COMMON_SKILL_CD_FIELD.has_default_value = false COMMON_SKILL_CD_FIELD.default_value = 0 @@ -454,7 +432,7 @@ COMMON_SKILL_CD_FIELD.cpp_type = 1 COMMON_SKILL_EFFECTID_FIELD.name = "effectId" COMMON_SKILL_EFFECTID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Skill.effectId" COMMON_SKILL_EFFECTID_FIELD.number = 7 -COMMON_SKILL_EFFECTID_FIELD.index = 6 +COMMON_SKILL_EFFECTID_FIELD.index = 5 COMMON_SKILL_EFFECTID_FIELD.label = 3 COMMON_SKILL_EFFECTID_FIELD.has_default_value = false COMMON_SKILL_EFFECTID_FIELD.default_value = {} @@ -465,19 +443,19 @@ COMMON_SKILL.name = "Skill" COMMON_SKILL.full_name = ".com.ljsd.jieling.protocols.Common.Skill" COMMON_SKILL.nested_types = {} COMMON_SKILL.enum_types = {} -COMMON_SKILL.fields = {COMMON_SKILL_ID_FIELD, COMMON_SKILL_SKILLID_FIELD, COMMON_SKILL_SKILLTYPE_FIELD, COMMON_SKILL_LEVEL_FIELD, COMMON_SKILL_STAR_FIELD, COMMON_SKILL_CD_FIELD, COMMON_SKILL_EFFECTID_FIELD} +COMMON_SKILL.fields = {COMMON_SKILL_SKILLID_FIELD, COMMON_SKILL_SKILLTYPE_FIELD, COMMON_SKILL_LEVEL_FIELD, COMMON_SKILL_STAR_FIELD, COMMON_SKILL_CD_FIELD, COMMON_SKILL_EFFECTID_FIELD} COMMON_SKILL.is_extendable = false COMMON_SKILL.extensions = {} COMMON_SKILL.containing_type = COMMON -COMMON_MAIL_ID_FIELD.name = "id" -COMMON_MAIL_ID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Mail.id" -COMMON_MAIL_ID_FIELD.number = 1 -COMMON_MAIL_ID_FIELD.index = 0 -COMMON_MAIL_ID_FIELD.label = 1 -COMMON_MAIL_ID_FIELD.has_default_value = false -COMMON_MAIL_ID_FIELD.default_value = "" -COMMON_MAIL_ID_FIELD.type = 9 -COMMON_MAIL_ID_FIELD.cpp_type = 9 +COMMON_MAIL_MAILID_FIELD.name = "mailId" +COMMON_MAIL_MAILID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Mail.mailId" +COMMON_MAIL_MAILID_FIELD.number = 1 +COMMON_MAIL_MAILID_FIELD.index = 0 +COMMON_MAIL_MAILID_FIELD.label = 1 +COMMON_MAIL_MAILID_FIELD.has_default_value = false +COMMON_MAIL_MAILID_FIELD.default_value = 0 +COMMON_MAIL_MAILID_FIELD.type = 5 +COMMON_MAIL_MAILID_FIELD.cpp_type = 1 COMMON_MAIL_ITEMID_FIELD.name = "itemId" COMMON_MAIL_ITEMID_FIELD.full_name = ".com.ljsd.jieling.protocols.Common.Mail.itemId" @@ -493,7 +471,7 @@ COMMON_MAIL.name = "Mail" COMMON_MAIL.full_name = ".com.ljsd.jieling.protocols.Common.Mail" COMMON_MAIL.nested_types = {} COMMON_MAIL.enum_types = {} -COMMON_MAIL.fields = {COMMON_MAIL_ID_FIELD, COMMON_MAIL_ITEMID_FIELD} +COMMON_MAIL.fields = {COMMON_MAIL_MAILID_FIELD, COMMON_MAIL_ITEMID_FIELD} COMMON_MAIL.is_extendable = false COMMON_MAIL.extensions = {} COMMON_MAIL.containing_type = COMMON diff --git a/lua_out/GMCommandProto_pb.lua b/lua_out/GMCommandProto_pb.lua new file mode 100644 index 0000000..440389c --- /dev/null +++ b/lua_out/GMCommandProto_pb.lua @@ -0,0 +1,28 @@ +-- Generated By protoc-gen-lua Do not Edit +local protobuf = require "protobuf" +module('GMCommandProto_pb') + + +local GMCOMMAND = protobuf.Descriptor(); +local GMCOMMAND_COMMAND_FIELD = protobuf.FieldDescriptor(); + +GMCOMMAND_COMMAND_FIELD.name = "command" +GMCOMMAND_COMMAND_FIELD.full_name = ".com.ljsd.jieling.protocols.GMCommand.command" +GMCOMMAND_COMMAND_FIELD.number = 1 +GMCOMMAND_COMMAND_FIELD.index = 0 +GMCOMMAND_COMMAND_FIELD.label = 1 +GMCOMMAND_COMMAND_FIELD.has_default_value = false +GMCOMMAND_COMMAND_FIELD.default_value = "" +GMCOMMAND_COMMAND_FIELD.type = 9 +GMCOMMAND_COMMAND_FIELD.cpp_type = 9 + +GMCOMMAND.name = "GMCommand" +GMCOMMAND.full_name = ".com.ljsd.jieling.protocols.GMCommand" +GMCOMMAND.nested_types = {} +GMCOMMAND.enum_types = {} +GMCOMMAND.fields = {GMCOMMAND_COMMAND_FIELD} +GMCOMMAND.is_extendable = false +GMCOMMAND.extensions = {} + +GMCommand = protobuf.Message(GMCOMMAND) + diff --git a/lua_out/MessageTypeProto_pb.lua b/lua_out/MessageTypeProto_pb.lua index d8521a7..fdb43bf 100644 --- a/lua_out/MessageTypeProto_pb.lua +++ b/lua_out/MessageTypeProto_pb.lua @@ -16,6 +16,7 @@ local MESSAGETYPE_GET_HEROINFO_REQUEST_ENUM = protobuf.EnumValueDescriptor(); local MESSAGETYPE_GET_HEROINFO_RESPONSE_ENUM = protobuf.EnumValueDescriptor(); local MESSAGETYPE_GET_ITEMINFO_REQUEST_ENUM = protobuf.EnumValueDescriptor(); local MESSAGETYPE_GET_ITEMINFO_RESPONSE_ENUM = protobuf.EnumValueDescriptor(); +local MESSAGETYPE_GM_COMMAND_ENUM = protobuf.EnumValueDescriptor(); local MESSAGETYPE_LOGIN_REQUEST_ENUM = protobuf.EnumValueDescriptor(); local MESSAGETYPE_LOGIN_RESPONSE_ENUM = protobuf.EnumValueDescriptor(); local MESSAGETYPE_MAP_ENTER_REQUEST_ENUM = protobuf.EnumValueDescriptor(); @@ -65,45 +66,48 @@ MESSAGETYPE_GET_ITEMINFO_REQUEST_ENUM.number = 10604 MESSAGETYPE_GET_ITEMINFO_RESPONSE_ENUM.name = "GET_ITEMINFO_RESPONSE" MESSAGETYPE_GET_ITEMINFO_RESPONSE_ENUM.index = 11 MESSAGETYPE_GET_ITEMINFO_RESPONSE_ENUM.number = 10605 +MESSAGETYPE_GM_COMMAND_ENUM.name = "GM_COMMAND" +MESSAGETYPE_GM_COMMAND_ENUM.index = 12 +MESSAGETYPE_GM_COMMAND_ENUM.number = 10606 MESSAGETYPE_LOGIN_REQUEST_ENUM.name = "LOGIN_REQUEST" -MESSAGETYPE_LOGIN_REQUEST_ENUM.index = 12 +MESSAGETYPE_LOGIN_REQUEST_ENUM.index = 13 MESSAGETYPE_LOGIN_REQUEST_ENUM.number = 11100 MESSAGETYPE_LOGIN_RESPONSE_ENUM.name = "LOGIN_RESPONSE" -MESSAGETYPE_LOGIN_RESPONSE_ENUM.index = 13 +MESSAGETYPE_LOGIN_RESPONSE_ENUM.index = 14 MESSAGETYPE_LOGIN_RESPONSE_ENUM.number = 11101 MESSAGETYPE_MAP_ENTER_REQUEST_ENUM.name = "MAP_ENTER_REQUEST" -MESSAGETYPE_MAP_ENTER_REQUEST_ENUM.index = 14 +MESSAGETYPE_MAP_ENTER_REQUEST_ENUM.index = 15 MESSAGETYPE_MAP_ENTER_REQUEST_ENUM.number = 11200 MESSAGETYPE_MAP_ENTER_RESPONSE_ENUM.name = "MAP_ENTER_RESPONSE" -MESSAGETYPE_MAP_ENTER_RESPONSE_ENUM.index = 15 +MESSAGETYPE_MAP_ENTER_RESPONSE_ENUM.index = 16 MESSAGETYPE_MAP_ENTER_RESPONSE_ENUM.number = 11201 MESSAGETYPE_MAP_OUT_REQUEST_ENUM.name = "MAP_OUT_REQUEST" -MESSAGETYPE_MAP_OUT_REQUEST_ENUM.index = 16 +MESSAGETYPE_MAP_OUT_REQUEST_ENUM.index = 17 MESSAGETYPE_MAP_OUT_REQUEST_ENUM.number = 11202 MESSAGETYPE_MAP_OUT_RESPONSE_ENUM.name = "MAP_OUT_RESPONSE" -MESSAGETYPE_MAP_OUT_RESPONSE_ENUM.index = 17 +MESSAGETYPE_MAP_OUT_RESPONSE_ENUM.index = 18 MESSAGETYPE_MAP_OUT_RESPONSE_ENUM.number = 11203 MESSAGETYPE_MAP_GET_INFO_REQUEST_ENUM.name = "MAP_GET_INFO_REQUEST" -MESSAGETYPE_MAP_GET_INFO_REQUEST_ENUM.index = 18 +MESSAGETYPE_MAP_GET_INFO_REQUEST_ENUM.index = 19 MESSAGETYPE_MAP_GET_INFO_REQUEST_ENUM.number = 11204 MESSAGETYPE_MAP_GET_INFO_RESPONSE_ENUM.name = "MAP_GET_INFO_RESPONSE" -MESSAGETYPE_MAP_GET_INFO_RESPONSE_ENUM.index = 19 +MESSAGETYPE_MAP_GET_INFO_RESPONSE_ENUM.index = 20 MESSAGETYPE_MAP_GET_INFO_RESPONSE_ENUM.number = 11205 MESSAGETYPE_RECONNECT_REQUEST_ENUM.name = "RECONNECT_REQUEST" -MESSAGETYPE_RECONNECT_REQUEST_ENUM.index = 20 +MESSAGETYPE_RECONNECT_REQUEST_ENUM.index = 21 MESSAGETYPE_RECONNECT_REQUEST_ENUM.number = 11700 MESSAGETYPE_RECONNECT_RESPONSE_ENUM.name = "RECONNECT_RESPONSE" -MESSAGETYPE_RECONNECT_RESPONSE_ENUM.index = 21 +MESSAGETYPE_RECONNECT_RESPONSE_ENUM.index = 22 MESSAGETYPE_RECONNECT_RESPONSE_ENUM.number = 11701 MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM.name = "TRIGGER_EVENT_REQUEST" -MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM.index = 22 +MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM.index = 23 MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM.number = 11900 MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM.name = "TRIGGER_EVENT_RESPONSE" -MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM.index = 23 +MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM.index = 24 MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM.number = 11901 MESSAGETYPE.name = "MessageType" MESSAGETYPE.full_name = ".com.ljsd.jieling.protocols.MessageType" -MESSAGETYPE.values = {MESSAGETYPE_HEART_BEAT_REQUEST_ENUM,MESSAGETYPE_HEART_BEAT_RESPONSE_ENUM,MESSAGETYPE_FIGHT_START_REQUEST_ENUM,MESSAGETYPE_FIGHT_START_RESPONSE_ENUM,MESSAGETYPE_FIGHT_END_REQUEST_ENUM,MESSAGETYPE_FIGHT_END_RESPONSE_ENUM,MESSAGETYPE_GET_PLAYERINFO_REQUEST_ENUM,MESSAGETYPE_GET_PLAYERINFO_RESPONSE_ENUM,MESSAGETYPE_GET_HEROINFO_REQUEST_ENUM,MESSAGETYPE_GET_HEROINFO_RESPONSE_ENUM,MESSAGETYPE_GET_ITEMINFO_REQUEST_ENUM,MESSAGETYPE_GET_ITEMINFO_RESPONSE_ENUM,MESSAGETYPE_LOGIN_REQUEST_ENUM,MESSAGETYPE_LOGIN_RESPONSE_ENUM,MESSAGETYPE_MAP_ENTER_REQUEST_ENUM,MESSAGETYPE_MAP_ENTER_RESPONSE_ENUM,MESSAGETYPE_MAP_OUT_REQUEST_ENUM,MESSAGETYPE_MAP_OUT_RESPONSE_ENUM,MESSAGETYPE_MAP_GET_INFO_REQUEST_ENUM,MESSAGETYPE_MAP_GET_INFO_RESPONSE_ENUM,MESSAGETYPE_RECONNECT_REQUEST_ENUM,MESSAGETYPE_RECONNECT_RESPONSE_ENUM,MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM,MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM} +MESSAGETYPE.values = {MESSAGETYPE_HEART_BEAT_REQUEST_ENUM,MESSAGETYPE_HEART_BEAT_RESPONSE_ENUM,MESSAGETYPE_FIGHT_START_REQUEST_ENUM,MESSAGETYPE_FIGHT_START_RESPONSE_ENUM,MESSAGETYPE_FIGHT_END_REQUEST_ENUM,MESSAGETYPE_FIGHT_END_RESPONSE_ENUM,MESSAGETYPE_GET_PLAYERINFO_REQUEST_ENUM,MESSAGETYPE_GET_PLAYERINFO_RESPONSE_ENUM,MESSAGETYPE_GET_HEROINFO_REQUEST_ENUM,MESSAGETYPE_GET_HEROINFO_RESPONSE_ENUM,MESSAGETYPE_GET_ITEMINFO_REQUEST_ENUM,MESSAGETYPE_GET_ITEMINFO_RESPONSE_ENUM,MESSAGETYPE_GM_COMMAND_ENUM,MESSAGETYPE_LOGIN_REQUEST_ENUM,MESSAGETYPE_LOGIN_RESPONSE_ENUM,MESSAGETYPE_MAP_ENTER_REQUEST_ENUM,MESSAGETYPE_MAP_ENTER_RESPONSE_ENUM,MESSAGETYPE_MAP_OUT_REQUEST_ENUM,MESSAGETYPE_MAP_OUT_RESPONSE_ENUM,MESSAGETYPE_MAP_GET_INFO_REQUEST_ENUM,MESSAGETYPE_MAP_GET_INFO_RESPONSE_ENUM,MESSAGETYPE_RECONNECT_REQUEST_ENUM,MESSAGETYPE_RECONNECT_RESPONSE_ENUM,MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM,MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM} FIGHT_END_REQUEST = 10502 FIGHT_END_RESPONSE = 10503 @@ -115,6 +119,7 @@ GET_ITEMINFO_REQUEST = 10604 GET_ITEMINFO_RESPONSE = 10605 GET_PLAYERINFO_REQUEST = 10600 GET_PLAYERINFO_RESPONSE = 10601 +GM_COMMAND = 10606 HEART_BEAT_REQUEST = 1000 HEART_BEAT_RESPONSE = 1001 LOGIN_REQUEST = 11100 diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index ea10151..2c07499 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -20,13 +20,12 @@ message Common{ message Item{ - optional string id = 1; - optional int32 itemId = 2; - optional int32 itemNum = 3; - optional int32 itemType = 4; - optional int32 itemQuality = 5; - optional bool isStacking = 6; - optional int32 endingTime = 7; + optional int32 itemId = 1; + optional int32 itemNum = 2; + optional int32 itemType = 3; + optional int32 itemQuality = 4; + optional bool isStacking = 5; + optional int32 endingTime = 6; } @@ -43,13 +42,12 @@ message Common{ optional int32 pDefence= 9; optional int32 mDefence= 10; optional int32 speed= 11; - repeated Skill skillList = 12; + repeated Skill skillList = 12; repeated Equip equipList = 13; } message Skill{ - optional string id = 1; optional int32 skillId = 2; optional int32 skillType = 3; optional int32 level = 4; @@ -60,7 +58,7 @@ message Common{ message Mail{ - optional string id = 1; + optional int32 mailId = 1; optional int32 itemId = 2; }