private void RspFBFightEnd(object sender, GameEventArgs e) { OnReceiveSCPacketBaseEventArgs ne = e as OnReceiveSCPacketBaseEventArgs; if (ne.msgID != CMD.RspFBFightEnd) { return; } RspFBFightEnd data = (RspFBFightEnd)ne.scPacketBase; PECommon.SetPlayerDataByFBEnd(data); m_BattleEndFormData.Fbid = data.Fbid; m_BattleEndFormData.CostTime = data.Costtime; m_BattleEndFormData.RestHp = data.Resthp; SetBattleEndWndState(FBEndType.Win); }