lua
parent
9b3b99b419
commit
d6eaf763bb
|
|
@ -3,6 +3,9 @@ local protobuf = require "protobuf/protobuf"
|
|||
module('CommonProto_pb')
|
||||
|
||||
|
||||
ERRORRESPONSE = protobuf.Descriptor();
|
||||
local ERRORRESPONSE_ERRCODE_FIELD = protobuf.FieldDescriptor();
|
||||
local ERRORRESPONSE_ERRMSG_FIELD = protobuf.FieldDescriptor();
|
||||
PLAYER = protobuf.Descriptor();
|
||||
local PLAYER_UID_FIELD = protobuf.FieldDescriptor();
|
||||
local PLAYER_NICKNAME_FIELD = protobuf.FieldDescriptor();
|
||||
|
|
@ -53,7 +56,36 @@ DROP = protobuf.Descriptor();
|
|||
local DROP_ITEMLIST_FIELD = protobuf.FieldDescriptor();
|
||||
local DROP_EQUIPID_FIELD = protobuf.FieldDescriptor();
|
||||
local DROP_HERO_FIELD = protobuf.FieldDescriptor();
|
||||
GMCOMMAND = protobuf.Descriptor();
|
||||
local GMCOMMAND_COMMAND_FIELD = protobuf.FieldDescriptor();
|
||||
|
||||
ERRORRESPONSE_ERRCODE_FIELD.name = "errCode"
|
||||
ERRORRESPONSE_ERRCODE_FIELD.full_name = ".com.ljsd.jieling.protocols.ErrorResponse.errCode"
|
||||
ERRORRESPONSE_ERRCODE_FIELD.number = 1
|
||||
ERRORRESPONSE_ERRCODE_FIELD.index = 0
|
||||
ERRORRESPONSE_ERRCODE_FIELD.label = 1
|
||||
ERRORRESPONSE_ERRCODE_FIELD.has_default_value = false
|
||||
ERRORRESPONSE_ERRCODE_FIELD.default_value = 0
|
||||
ERRORRESPONSE_ERRCODE_FIELD.type = 5
|
||||
ERRORRESPONSE_ERRCODE_FIELD.cpp_type = 1
|
||||
|
||||
ERRORRESPONSE_ERRMSG_FIELD.name = "errMsg"
|
||||
ERRORRESPONSE_ERRMSG_FIELD.full_name = ".com.ljsd.jieling.protocols.ErrorResponse.errMsg"
|
||||
ERRORRESPONSE_ERRMSG_FIELD.number = 2
|
||||
ERRORRESPONSE_ERRMSG_FIELD.index = 1
|
||||
ERRORRESPONSE_ERRMSG_FIELD.label = 1
|
||||
ERRORRESPONSE_ERRMSG_FIELD.has_default_value = false
|
||||
ERRORRESPONSE_ERRMSG_FIELD.default_value = ""
|
||||
ERRORRESPONSE_ERRMSG_FIELD.type = 9
|
||||
ERRORRESPONSE_ERRMSG_FIELD.cpp_type = 9
|
||||
|
||||
ERRORRESPONSE.name = "ErrorResponse"
|
||||
ERRORRESPONSE.full_name = ".com.ljsd.jieling.protocols.ErrorResponse"
|
||||
ERRORRESPONSE.nested_types = {}
|
||||
ERRORRESPONSE.enum_types = {}
|
||||
ERRORRESPONSE.fields = {ERRORRESPONSE_ERRCODE_FIELD, ERRORRESPONSE_ERRMSG_FIELD}
|
||||
ERRORRESPONSE.is_extendable = false
|
||||
ERRORRESPONSE.extensions = {}
|
||||
PLAYER_UID_FIELD.name = "uid"
|
||||
PLAYER_UID_FIELD.full_name = ".com.ljsd.jieling.protocols.Player.uid"
|
||||
PLAYER_UID_FIELD.number = 1
|
||||
|
|
@ -528,11 +560,30 @@ DROP.enum_types = {}
|
|||
DROP.fields = {DROP_ITEMLIST_FIELD, DROP_EQUIPID_FIELD, DROP_HERO_FIELD}
|
||||
DROP.is_extendable = false
|
||||
DROP.extensions = {}
|
||||
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 = {}
|
||||
|
||||
Cell = protobuf.Message(CELL)
|
||||
Drop = protobuf.Message(DROP)
|
||||
Equip = protobuf.Message(EQUIP)
|
||||
ErrorResponse = protobuf.Message(ERRORRESPONSE)
|
||||
Family = protobuf.Message(FAMILY)
|
||||
GMCommand = protobuf.Message(GMCOMMAND)
|
||||
Hero = protobuf.Message(HERO)
|
||||
Item = protobuf.Message(ITEM)
|
||||
Mail = protobuf.Message(MAIL)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ TEAMPOSSAVEREQUEST = protobuf.Descriptor();
|
|||
local TEAMPOSSAVEREQUEST_TEAMID_FIELD = protobuf.FieldDescriptor();
|
||||
local TEAMPOSSAVEREQUEST_HEROIDS_FIELD = protobuf.FieldDescriptor();
|
||||
local TEAMPOSSAVEREQUEST_POKEMONIDS_FIELD = protobuf.FieldDescriptor();
|
||||
UPHEROLEVELREQUEST = protobuf.Descriptor();
|
||||
local UPHEROLEVELREQUEST_HEROID_FIELD = protobuf.FieldDescriptor();
|
||||
|
||||
GETHEROLISTINFOREQUEST_NUM_FIELD.name = "num"
|
||||
GETHEROLISTINFOREQUEST_NUM_FIELD.full_name = ".com.ljsd.jieling.protocols.GetHeroListInfoRequest.num"
|
||||
|
|
@ -197,6 +199,23 @@ TEAMPOSSAVEREQUEST.enum_types = {}
|
|||
TEAMPOSSAVEREQUEST.fields = {TEAMPOSSAVEREQUEST_TEAMID_FIELD, TEAMPOSSAVEREQUEST_HEROIDS_FIELD, TEAMPOSSAVEREQUEST_POKEMONIDS_FIELD}
|
||||
TEAMPOSSAVEREQUEST.is_extendable = false
|
||||
TEAMPOSSAVEREQUEST.extensions = {}
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.name = "heroId"
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.full_name = ".com.ljsd.jieling.protocols.UpHeroLevelRequest.heroId"
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.number = 1
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.index = 0
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.label = 1
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.has_default_value = false
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.default_value = ""
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.type = 9
|
||||
UPHEROLEVELREQUEST_HEROID_FIELD.cpp_type = 9
|
||||
|
||||
UPHEROLEVELREQUEST.name = "UpHeroLevelRequest"
|
||||
UPHEROLEVELREQUEST.full_name = ".com.ljsd.jieling.protocols.UpHeroLevelRequest"
|
||||
UPHEROLEVELREQUEST.nested_types = {}
|
||||
UPHEROLEVELREQUEST.enum_types = {}
|
||||
UPHEROLEVELREQUEST.fields = {UPHEROLEVELREQUEST_HEROID_FIELD}
|
||||
UPHEROLEVELREQUEST.is_extendable = false
|
||||
UPHEROLEVELREQUEST.extensions = {}
|
||||
|
||||
DrawHeroRequest = protobuf.Message(DRAWHEROREQUEST)
|
||||
DrawHeroResponse = protobuf.Message(DRAWHERORESPONSE)
|
||||
|
|
@ -205,4 +224,5 @@ GetHeroListInfoResponse = protobuf.Message(GETHEROLISTINFORESPONSE)
|
|||
HeroRandRequest = protobuf.Message(HERORANDREQUEST)
|
||||
HeroRandResponse = protobuf.Message(HERORANDRESPONSE)
|
||||
TeamposSaveRequest = protobuf.Message(TEAMPOSSAVEREQUEST)
|
||||
UpHeroLevelRequest = protobuf.Message(UPHEROLEVELREQUEST)
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ local MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM = protobuf.EnumValueDescriptor();
|
|||
local MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM = protobuf.EnumValueDescriptor();
|
||||
local MESSAGETYPE_TEAM_POS_SAVE_REQUEST_ENUM = protobuf.EnumValueDescriptor();
|
||||
local MESSAGETYPE_TEAM_POS_SAVE_RESPONSE_ENUM = protobuf.EnumValueDescriptor();
|
||||
local MESSAGETYPE_UP_HERO_LEVEL_REQUEST_ENUM = protobuf.EnumValueDescriptor();
|
||||
local MESSAGETYPE_UP_HERO_LEVEL_RESPONSE_ENUM = protobuf.EnumValueDescriptor();
|
||||
|
||||
MESSAGETYPE_HEART_BEAT_REQUEST_ENUM.name = "HEART_BEAT_REQUEST"
|
||||
MESSAGETYPE_HEART_BEAT_REQUEST_ENUM.index = 0
|
||||
|
|
@ -137,9 +139,15 @@ MESSAGETYPE_TEAM_POS_SAVE_REQUEST_ENUM.number = 11902
|
|||
MESSAGETYPE_TEAM_POS_SAVE_RESPONSE_ENUM.name = "TEAM_POS_SAVE_RESPONSE"
|
||||
MESSAGETYPE_TEAM_POS_SAVE_RESPONSE_ENUM.index = 32
|
||||
MESSAGETYPE_TEAM_POS_SAVE_RESPONSE_ENUM.number = 11903
|
||||
MESSAGETYPE_UP_HERO_LEVEL_REQUEST_ENUM.name = "UP_HERO_LEVEL_REQUEST"
|
||||
MESSAGETYPE_UP_HERO_LEVEL_REQUEST_ENUM.index = 33
|
||||
MESSAGETYPE_UP_HERO_LEVEL_REQUEST_ENUM.number = 12001
|
||||
MESSAGETYPE_UP_HERO_LEVEL_RESPONSE_ENUM.name = "UP_HERO_LEVEL_RESPONSE"
|
||||
MESSAGETYPE_UP_HERO_LEVEL_RESPONSE_ENUM.index = 34
|
||||
MESSAGETYPE_UP_HERO_LEVEL_RESPONSE_ENUM.number = 12002
|
||||
MESSAGETYPE.name = "MessageType"
|
||||
MESSAGETYPE.full_name = ".com.ljsd.jieling.protocols.MessageType"
|
||||
MESSAGETYPE.values = {MESSAGETYPE_HEART_BEAT_REQUEST_ENUM,MESSAGETYPE_HEART_BEAT_RESPONSE_ENUM,MESSAGETYPE_DRAW_HERO_REQUEST_ENUM,MESSAGETYPE_DRAW_HERO_RESPONSE_ENUM,MESSAGETYPE_ERROR_CODE_INDICATION_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_REQUEST_ENUM,MESSAGETYPE_GM_RESPONSE_ENUM,MESSAGETYPE_HERO_RAND_REQQUEST_ENUM,MESSAGETYPE_HERO_RAND_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_UDPATE_EVENT_REQUEST_ENUM,MESSAGETYPE_MAP_UDPATE_EVENT_RESPONSE_ENUM,MESSAGETYPE_RECONNECT_REQUEST_ENUM,MESSAGETYPE_RECONNECT_RESPONSE_ENUM,MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM,MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM,MESSAGETYPE_TEAM_POS_SAVE_REQUEST_ENUM,MESSAGETYPE_TEAM_POS_SAVE_RESPONSE_ENUM}
|
||||
MESSAGETYPE.values = {MESSAGETYPE_HEART_BEAT_REQUEST_ENUM,MESSAGETYPE_HEART_BEAT_RESPONSE_ENUM,MESSAGETYPE_DRAW_HERO_REQUEST_ENUM,MESSAGETYPE_DRAW_HERO_RESPONSE_ENUM,MESSAGETYPE_ERROR_CODE_INDICATION_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_REQUEST_ENUM,MESSAGETYPE_GM_RESPONSE_ENUM,MESSAGETYPE_HERO_RAND_REQQUEST_ENUM,MESSAGETYPE_HERO_RAND_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_UDPATE_EVENT_REQUEST_ENUM,MESSAGETYPE_MAP_UDPATE_EVENT_RESPONSE_ENUM,MESSAGETYPE_RECONNECT_REQUEST_ENUM,MESSAGETYPE_RECONNECT_RESPONSE_ENUM,MESSAGETYPE_TRIGGER_EVENT_REQUEST_ENUM,MESSAGETYPE_TRIGGER_EVENT_RESPONSE_ENUM,MESSAGETYPE_TEAM_POS_SAVE_REQUEST_ENUM,MESSAGETYPE_TEAM_POS_SAVE_RESPONSE_ENUM,MESSAGETYPE_UP_HERO_LEVEL_REQUEST_ENUM,MESSAGETYPE_UP_HERO_LEVEL_RESPONSE_ENUM}
|
||||
|
||||
DRAW_HERO_REQUEST = 10300
|
||||
DRAW_HERO_RESPONSE = 10301
|
||||
|
|
@ -174,4 +182,6 @@ TEAM_POS_SAVE_REQUEST = 11902
|
|||
TEAM_POS_SAVE_RESPONSE = 11903
|
||||
TRIGGER_EVENT_REQUEST = 11900
|
||||
TRIGGER_EVENT_RESPONSE = 11901
|
||||
UP_HERO_LEVEL_REQUEST = 12001
|
||||
UP_HERO_LEVEL_RESPONSE = 12002
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue