Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
ZhangBiao 2021-11-25 16:16:48 +08:00
commit d40b07138c
1 changed files with 8 additions and 6 deletions

View File

@ -4594,12 +4594,12 @@ function this.UpPokemonLevelRequest(pokemonDId, upLv,oldLv, func)
local data = buffer:DataByte()
local msg = HeroInfoProto_pb.PokenmonUpLevelResponse()
msg:ParseFromString(data)
--设置战斗力脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Pokemon)
-- Log("后端升级回复 "..msg.level)
if func then
func(msg)
end
--设置战斗力脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Pokemon)
end)
end
@ -4639,11 +4639,12 @@ function this.UpPokemonStarRequest(pokemonDId,curUpStarSelectPokemonData, func)
Network:SendMessageWithCallBack(MessageTypeProto_pb.POKEMON_ADVANCED_REQUEST, MessageTypeProto_pb.POKEMON_ADVANCED_RESPONSE, msg, function(buffer)
-- local data = buffer:DataByte()
-- msg:ParseFromString(data)
--设置战斗力脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Pokemon)
--
if func then
func(msg)
end
--设置战斗力脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Pokemon)
end)
end
@ -4730,11 +4731,12 @@ function this.ReplaceTeamPokemonInfoRequest(_teamPokemonInfos, func)
Network:SendMessageWithCallBack(MessageTypeProto_pb.POKEMON_REPLACE_REQUEST, MessageTypeProto_pb.POKEMON_REPLACE_RESPONSE, msg, function(buffer)
-- local data = buffer:DataByte()
-- msg:ParseFromString(data)
--设置战斗力脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Pokemon)
--
if func then
func(msg)
end
--设置战斗力脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Pokemon)
end)
end