parent
1905b3c175
commit
3cecd32fda
|
@ -4037,12 +4037,12 @@ function NetManager.SinGleGuildSkillUpLv(profession,beforeLevel,afterLevel,func)
|
||||||
local data = buffer:DataByte()
|
local data = buffer:DataByte()
|
||||||
local msg = Family_pb.GuildSkillLevelUpResponse()
|
local msg = Family_pb.GuildSkillLevelUpResponse()
|
||||||
msg:ParseFromString(data)
|
msg:ParseFromString(data)
|
||||||
if func then
|
|
||||||
func(msg)
|
|
||||||
end
|
|
||||||
--设置战斗力脏数据
|
--设置战斗力脏数据
|
||||||
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.GuildSkill)
|
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.GuildSkill)
|
||||||
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnChangeName)
|
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnChangeName)
|
||||||
|
if func then
|
||||||
|
func(msg)
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
--公会技能重置
|
--公会技能重置
|
||||||
|
|
Loading…
Reference in New Issue