private void RspStrong(object sender, GameEventArgs e) { OnReceiveSCPacketBaseEventArgs ne = e as OnReceiveSCPacketBaseEventArgs; if (ne.msgID != CMD.RspStrong) { return; } int zhanliPre = PECommon.GetFightByProps(PECommon.PlayerData); PECommon.SetPlayerDataByStrong((RspStrong)ne.scPacketBase); int zhanliNow = PECommon.GetFightByProps(PECommon.PlayerData); GameEntry.UI.AddTips(Constants.Color("战力提升 " + (zhanliNow - zhanliPre), TxtColor.Blue)); OnRefreshUIFormEventArgs eventArgs = ReferencePool.Acquire <OnRefreshUIFormEventArgs>(); eventArgs.Fill(UIFormId.StrongForm); GameEntry.Event.FireNow(this, eventArgs); eventArgs.Fill(UIFormId.MainCityForm); GameEntry.Event.FireNow(this, eventArgs); }