查看战斗回放

master_huanxiang
wangyuan 2019-05-13 12:07:20 +08:00
parent d88f58b835
commit 56553a36a3
6 changed files with 281 additions and 69 deletions

View File

@ -168,6 +168,16 @@ local ARENAINFO_SUCCESSNUMS_FIELD = protobuf.FieldDescriptor();
local ARENAINFO_SCORE_FIELD = protobuf.FieldDescriptor();
local ARENAINFO_USEFREETIMES_FIELD = protobuf.FieldDescriptor();
local ARENAINFO_ARENAENEMYS_FIELD = protobuf.FieldDescriptor();
STOREINFO = protobuf.Descriptor();
local STOREINFO_ID_FIELD = protobuf.FieldDescriptor();
local STOREINFO_LASTREFRESHTIME_FIELD = protobuf.FieldDescriptor();
local STOREINFO_REFRESHNUM_FIELD = protobuf.FieldDescriptor();
local STOREINFO_STARTTIME_FIELD = protobuf.FieldDescriptor();
local STOREINFO_ENDTIME_FIELD = protobuf.FieldDescriptor();
local STOREINFO_STOREITEM_FIELD = protobuf.FieldDescriptor();
STOREITEM = protobuf.Descriptor();
local STOREITEM_ID_FIELD = protobuf.FieldDescriptor();
local STOREITEM_BUYNUM_FIELD = protobuf.FieldDescriptor();
ARENARECORDINFO = protobuf.Descriptor();
local ARENARECORDINFO_ID_FIELD = protobuf.FieldDescriptor();
local ARENARECORDINFO_ATTACKINFO_FIELD = protobuf.FieldDescriptor();
@ -1729,6 +1739,101 @@ ARENAINFO.enum_types = {}
ARENAINFO.fields = {ARENAINFO_FAILNUMS_FIELD, ARENAINFO_SUCCESSNUMS_FIELD, ARENAINFO_SCORE_FIELD, ARENAINFO_USEFREETIMES_FIELD, ARENAINFO_ARENAENEMYS_FIELD}
ARENAINFO.is_extendable = false
ARENAINFO.extensions = {}
STOREINFO_ID_FIELD.name = "id"
STOREINFO_ID_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreInfo.id"
STOREINFO_ID_FIELD.number = 1
STOREINFO_ID_FIELD.index = 0
STOREINFO_ID_FIELD.label = 1
STOREINFO_ID_FIELD.has_default_value = false
STOREINFO_ID_FIELD.default_value = 0
STOREINFO_ID_FIELD.type = 5
STOREINFO_ID_FIELD.cpp_type = 1
STOREINFO_LASTREFRESHTIME_FIELD.name = "lastRefreshTime"
STOREINFO_LASTREFRESHTIME_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreInfo.lastRefreshTime"
STOREINFO_LASTREFRESHTIME_FIELD.number = 2
STOREINFO_LASTREFRESHTIME_FIELD.index = 1
STOREINFO_LASTREFRESHTIME_FIELD.label = 1
STOREINFO_LASTREFRESHTIME_FIELD.has_default_value = false
STOREINFO_LASTREFRESHTIME_FIELD.default_value = 0
STOREINFO_LASTREFRESHTIME_FIELD.type = 3
STOREINFO_LASTREFRESHTIME_FIELD.cpp_type = 2
STOREINFO_REFRESHNUM_FIELD.name = "refreshNum"
STOREINFO_REFRESHNUM_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreInfo.refreshNum"
STOREINFO_REFRESHNUM_FIELD.number = 3
STOREINFO_REFRESHNUM_FIELD.index = 2
STOREINFO_REFRESHNUM_FIELD.label = 1
STOREINFO_REFRESHNUM_FIELD.has_default_value = false
STOREINFO_REFRESHNUM_FIELD.default_value = 0
STOREINFO_REFRESHNUM_FIELD.type = 5
STOREINFO_REFRESHNUM_FIELD.cpp_type = 1
STOREINFO_STARTTIME_FIELD.name = "startTime"
STOREINFO_STARTTIME_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreInfo.startTime"
STOREINFO_STARTTIME_FIELD.number = 4
STOREINFO_STARTTIME_FIELD.index = 3
STOREINFO_STARTTIME_FIELD.label = 1
STOREINFO_STARTTIME_FIELD.has_default_value = false
STOREINFO_STARTTIME_FIELD.default_value = 0
STOREINFO_STARTTIME_FIELD.type = 3
STOREINFO_STARTTIME_FIELD.cpp_type = 2
STOREINFO_ENDTIME_FIELD.name = "endTime"
STOREINFO_ENDTIME_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreInfo.endTime"
STOREINFO_ENDTIME_FIELD.number = 5
STOREINFO_ENDTIME_FIELD.index = 4
STOREINFO_ENDTIME_FIELD.label = 1
STOREINFO_ENDTIME_FIELD.has_default_value = false
STOREINFO_ENDTIME_FIELD.default_value = 0
STOREINFO_ENDTIME_FIELD.type = 3
STOREINFO_ENDTIME_FIELD.cpp_type = 2
STOREINFO_STOREITEM_FIELD.name = "storeItem"
STOREINFO_STOREITEM_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreInfo.storeItem"
STOREINFO_STOREITEM_FIELD.number = 6
STOREINFO_STOREITEM_FIELD.index = 5
STOREINFO_STOREITEM_FIELD.label = 3
STOREINFO_STOREITEM_FIELD.has_default_value = false
STOREINFO_STOREITEM_FIELD.default_value = {}
STOREINFO_STOREITEM_FIELD.message_type = _STOREITEM
STOREINFO_STOREITEM_FIELD.type = 11
STOREINFO_STOREITEM_FIELD.cpp_type = 10
STOREINFO.name = "StoreInfo"
STOREINFO.full_name = ".com.ljsd.jieling.protocols.StoreInfo"
STOREINFO.nested_types = {}
STOREINFO.enum_types = {}
STOREINFO.fields = {STOREINFO_ID_FIELD, STOREINFO_LASTREFRESHTIME_FIELD, STOREINFO_REFRESHNUM_FIELD, STOREINFO_STARTTIME_FIELD, STOREINFO_ENDTIME_FIELD, STOREINFO_STOREITEM_FIELD}
STOREINFO.is_extendable = false
STOREINFO.extensions = {}
STOREITEM_ID_FIELD.name = "id"
STOREITEM_ID_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreItem.id"
STOREITEM_ID_FIELD.number = 1
STOREITEM_ID_FIELD.index = 0
STOREITEM_ID_FIELD.label = 1
STOREITEM_ID_FIELD.has_default_value = false
STOREITEM_ID_FIELD.default_value = 0
STOREITEM_ID_FIELD.type = 5
STOREITEM_ID_FIELD.cpp_type = 1
STOREITEM_BUYNUM_FIELD.name = "buyNum"
STOREITEM_BUYNUM_FIELD.full_name = ".com.ljsd.jieling.protocols.StoreItem.buyNum"
STOREITEM_BUYNUM_FIELD.number = 2
STOREITEM_BUYNUM_FIELD.index = 1
STOREITEM_BUYNUM_FIELD.label = 1
STOREITEM_BUYNUM_FIELD.has_default_value = false
STOREITEM_BUYNUM_FIELD.default_value = 0
STOREITEM_BUYNUM_FIELD.type = 5
STOREITEM_BUYNUM_FIELD.cpp_type = 1
STOREITEM.name = "StoreItem"
STOREITEM.full_name = ".com.ljsd.jieling.protocols.StoreItem"
STOREITEM.nested_types = {}
STOREITEM.enum_types = {}
STOREITEM.fields = {STOREITEM_ID_FIELD, STOREITEM_BUYNUM_FIELD}
STOREITEM.is_extendable = false
STOREITEM.extensions = {}
ARENARECORDINFO_ID_FIELD.name = "id"
ARENARECORDINFO_ID_FIELD.full_name = ".com.ljsd.jieling.protocols.ArenaRecordInfo.id"
ARENARECORDINFO_ID_FIELD.number = 1
@ -1811,6 +1916,8 @@ Player = protobuf.Message(PLAYER)
PokemonInfo = protobuf.Message(POKEMONINFO)
Pokemoncomonpent = protobuf.Message(POKEMONCOMONPENT)
SpecialEffects = protobuf.Message(SPECIALEFFECTS)
StoreInfo = protobuf.Message(STOREINFO)
StoreItem = protobuf.Message(STOREITEM)
Team = protobuf.Message(TEAM)
TeamHeroInfo = protobuf.Message(TEAMHEROINFO)
TeamPokemonInfo = protobuf.Message(TEAMPOKEMONINFO)

View File

@ -49,6 +49,11 @@ local SWEEPRIGHTREQUEST_FIGHTID_FIELD = protobuf.FieldDescriptor();
local SWEEPRIGHTREQUEST_NUM_FIELD = protobuf.FieldDescriptor();
SWEEPRIGHTRESPONSE = protobuf.Descriptor();
local SWEEPRIGHTRESPONSE_DROP_FIELD = protobuf.FieldDescriptor();
FIGHTREPLAYREQUEST = protobuf.Descriptor();
local FIGHTREPLAYREQUEST_TYPE_FIELD = protobuf.FieldDescriptor();
local FIGHTREPLAYREQUEST_FIGHTID_FIELD = protobuf.FieldDescriptor();
FIGHTREPLAYRESPONSE = protobuf.Descriptor();
local FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD = protobuf.FieldDescriptor();
GETADVENTURESTATEINFORESPONSE_ADVENTURESTATEINFOLIST_FIELD.name = "adventureStateInfoList"
GETADVENTURESTATEINFORESPONSE_ADVENTURESTATEINFOLIST_FIELD.full_name = ".com.ljsd.jieling.protocols.GetAdventureStateInfoResponse.adventureStateInfoList"
@ -479,11 +484,58 @@ SWEEPRIGHTRESPONSE.enum_types = {}
SWEEPRIGHTRESPONSE.fields = {SWEEPRIGHTRESPONSE_DROP_FIELD}
SWEEPRIGHTRESPONSE.is_extendable = false
SWEEPRIGHTRESPONSE.extensions = {}
FIGHTREPLAYREQUEST_TYPE_FIELD.name = "type"
FIGHTREPLAYREQUEST_TYPE_FIELD.full_name = ".com.ljsd.jieling.protocols.FightRePlayRequest.type"
FIGHTREPLAYREQUEST_TYPE_FIELD.number = 1
FIGHTREPLAYREQUEST_TYPE_FIELD.index = 0
FIGHTREPLAYREQUEST_TYPE_FIELD.label = 1
FIGHTREPLAYREQUEST_TYPE_FIELD.has_default_value = false
FIGHTREPLAYREQUEST_TYPE_FIELD.default_value = 0
FIGHTREPLAYREQUEST_TYPE_FIELD.type = 5
FIGHTREPLAYREQUEST_TYPE_FIELD.cpp_type = 1
FIGHTREPLAYREQUEST_FIGHTID_FIELD.name = "fightId"
FIGHTREPLAYREQUEST_FIGHTID_FIELD.full_name = ".com.ljsd.jieling.protocols.FightRePlayRequest.fightId"
FIGHTREPLAYREQUEST_FIGHTID_FIELD.number = 2
FIGHTREPLAYREQUEST_FIGHTID_FIELD.index = 1
FIGHTREPLAYREQUEST_FIGHTID_FIELD.label = 1
FIGHTREPLAYREQUEST_FIGHTID_FIELD.has_default_value = false
FIGHTREPLAYREQUEST_FIGHTID_FIELD.default_value = ""
FIGHTREPLAYREQUEST_FIGHTID_FIELD.type = 9
FIGHTREPLAYREQUEST_FIGHTID_FIELD.cpp_type = 9
FIGHTREPLAYREQUEST.name = "FightRePlayRequest"
FIGHTREPLAYREQUEST.full_name = ".com.ljsd.jieling.protocols.FightRePlayRequest"
FIGHTREPLAYREQUEST.nested_types = {}
FIGHTREPLAYREQUEST.enum_types = {}
FIGHTREPLAYREQUEST.fields = {FIGHTREPLAYREQUEST_TYPE_FIELD, FIGHTREPLAYREQUEST_FIGHTID_FIELD}
FIGHTREPLAYREQUEST.is_extendable = false
FIGHTREPLAYREQUEST.extensions = {}
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.name = "fightData"
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.full_name = ".com.ljsd.jieling.protocols.FightRePlayResponse.fightData"
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.number = 1
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.index = 0
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.label = 1
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.has_default_value = false
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.default_value = nil
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.message_type = CommonProto_pb.FIGHTDATA
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.type = 11
FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD.cpp_type = 10
FIGHTREPLAYRESPONSE.name = "FightRePlayResponse"
FIGHTREPLAYRESPONSE.full_name = ".com.ljsd.jieling.protocols.FightRePlayResponse"
FIGHTREPLAYRESPONSE.nested_types = {}
FIGHTREPLAYRESPONSE.enum_types = {}
FIGHTREPLAYRESPONSE.fields = {FIGHTREPLAYRESPONSE_FIGHTDATA_FIELD}
FIGHTREPLAYRESPONSE.is_extendable = false
FIGHTREPLAYRESPONSE.extensions = {}
AventureStationRequest = protobuf.Message(AVENTURESTATIONREQUEST)
FastFightResponse = protobuf.Message(FASTFIGHTRESPONSE)
FightEndRequest = protobuf.Message(FIGHTENDREQUEST)
FightEndResponse = protobuf.Message(FIGHTENDRESPONSE)
FightRePlayRequest = protobuf.Message(FIGHTREPLAYREQUEST)
FightRePlayResponse = protobuf.Message(FIGHTREPLAYRESPONSE)
FightStartRequest = protobuf.Message(FIGHTSTARTREQUEST)
FightStartResponse = protobuf.Message(FIGHTSTARTRESPONSE)
GetAdventureStateInfoResponse = protobuf.Message(GETADVENTURESTATEINFORESPONSE)

File diff suppressed because one or more lines are too long

View File

@ -96,6 +96,8 @@ local SECRETBOXRANDOMREQUEST_TYPEID_FIELD = protobuf.FieldDescriptor();
SECRETBOXRANDOMRESPONSE = protobuf.Descriptor();
local SECRETBOXRANDOMRESPONSE_DROP_FIELD = protobuf.FieldDescriptor();
local SECRETBOXRANDOMRESPONSE_EXTRARREWARD_FIELD = protobuf.FieldDescriptor();
GETSTOREINFOS = protobuf.Descriptor();
local GETSTOREINFOS_STOREINFO_FIELD = protobuf.FieldDescriptor();
ERRORMSGRESPONSE_MSG_FIELD.name = "msg"
ERRORMSGRESPONSE_MSG_FIELD.full_name = ".com.ljsd.jieling.protocols.ErrorMsgResponse.msg"
@ -935,6 +937,24 @@ SECRETBOXRANDOMRESPONSE.enum_types = {}
SECRETBOXRANDOMRESPONSE.fields = {SECRETBOXRANDOMRESPONSE_DROP_FIELD, SECRETBOXRANDOMRESPONSE_EXTRARREWARD_FIELD}
SECRETBOXRANDOMRESPONSE.is_extendable = false
SECRETBOXRANDOMRESPONSE.extensions = {}
GETSTOREINFOS_STOREINFO_FIELD.name = "StoreInfo"
GETSTOREINFOS_STOREINFO_FIELD.full_name = ".com.ljsd.jieling.protocols.GetStoreInfos.StoreInfo"
GETSTOREINFOS_STOREINFO_FIELD.number = 1
GETSTOREINFOS_STOREINFO_FIELD.index = 0
GETSTOREINFOS_STOREINFO_FIELD.label = 3
GETSTOREINFOS_STOREINFO_FIELD.has_default_value = false
GETSTOREINFOS_STOREINFO_FIELD.default_value = {}
GETSTOREINFOS_STOREINFO_FIELD.message_type = CommonProto_pb.STOREINFO
GETSTOREINFOS_STOREINFO_FIELD.type = 11
GETSTOREINFOS_STOREINFO_FIELD.cpp_type = 10
GETSTOREINFOS.name = "GetStoreInfos"
GETSTOREINFOS.full_name = ".com.ljsd.jieling.protocols.GetStoreInfos"
GETSTOREINFOS.nested_types = {}
GETSTOREINFOS.enum_types = {}
GETSTOREINFOS.fields = {GETSTOREINFOS_STOREINFO_FIELD}
GETSTOREINFOS.is_extendable = false
GETSTOREINFOS.extensions = {}
ActiviteWorkShopReqeust = protobuf.Message(ACTIVITEWORKSHOPREQEUST)
CookFoodRequest = protobuf.Message(COOKFOODREQUEST)
@ -947,6 +967,7 @@ GetItemInfoResponse = protobuf.Message(GETITEMINFORESPONSE)
GetPlayerInfoRequest = protobuf.Message(GETPLAYERINFOREQUEST)
GetPlayerInfoResponse = protobuf.Message(GETPLAYERINFORESPONSE)
GetSecretBoxInfoResponse = protobuf.Message(GETSECRETBOXINFORESPONSE)
GetStoreInfos = protobuf.Message(GETSTOREINFOS)
GetWorkShopInfoResponse = protobuf.Message(GETWORKSHOPINFORESPONSE)
LoginRequest = protobuf.Message(LOGINREQUEST)
LoginResponse = protobuf.Message(LOGINRESPONSE)

View File

@ -97,5 +97,15 @@ import "CommonProto.proto";
repeated Drop Drop = 1;
}
message FightRePlayRequest{
optional int32 type =1; // 1
optional string fightId =2; // fight Id
}
message FightRePlayResponse{
optional FightData fightData =1;
}

View File

@ -208,6 +208,8 @@ enum MessageType{
USER_AND_PRICE_ITEM_RESPONSE= 12005;
// V 12100
VIEW_FIGHTREPLAY_REQUEST = 12100; //
VIEW_FIGHTREPLAY_RESPONSE = 12101;
// W 12200
WORKSHOP_FOUNDATION_REQUEST = 12200; //
WORKSHOP_FOUNDATION_RESPONSE = 12201;