public override bool GiveAward(GameClient client, int _params)
        {
            AwardItem myAwardItem = null;

            if (this.AwardDict.ContainsKey(_params))
            {
                myAwardItem = this.AwardDict[_params];
            }
            bool result;

            if (null == myAwardItem)
            {
                result = false;
            }
            else
            {
                client.ClientData.ClearAwardRecord((RoleAwardMsg)this.ActivityType);
                WeedEndInputActivity act = HuodongCachingMgr.GetWeekEndInputActivity();
                if (null != act)
                {
                    act.GiveAward(client, myAwardItem.MinAwardCondionValue);
                }
                bool ret = base.GiveAward(client, myAwardItem);
                GameManager.ClientMgr.NotifyGetAwardMsg(client, (RoleAwardMsg)this.ActivityType, "");
                result = ret;
            }
            return(result);
        }
        public override bool HasEnoughBagSpaceForAwardGoods(GameClient client, int nBtnIndex)
        {
            int needSpace            = 0;
            WeedEndInputActivity act = HuodongCachingMgr.GetWeekEndInputActivity();

            if (null != act)
            {
                needSpace = act.GetNeedGoodsSpace(client, this.AwardDict[nBtnIndex].MinAwardCondionValue);
            }
            needSpace += this.AwardDict[nBtnIndex].GoodsDataList.Count;
            return(Global.CanAddGoodsNum(client, needSpace));
        }