public override bool GiveAward(GameClient client, int _params) { AwardItem myAwardItem = this.GetAward(_params); bool result = true; if (null != myAwardItem) { result = base.GiveAward(client, myAwardItem); } if (result) { AwardItem myOccAward = this.GetOccAward(_params); if (null != myOccAward) { result = base.GiveAward(client, myOccAward); } if (result) { string strResList = ""; if (null != myAwardItem) { strResList = EventLogManager.MakeGoodsDataPropString(myAwardItem.GoodsDataList); } if (!string.IsNullOrEmpty(strResList)) { strResList += "@"; } if (null != myOccAward) { strResList += EventLogManager.MakeGoodsDataPropString(myOccAward.GoodsDataList); } EventLogManager.AddJieRiMeiRiLeiJiEvent(client, _params, strResList); } } return(result); }