|
@@ -350,7 +350,7 @@ namespace GFGGame
|
|
|
/// <returns></returns>
|
|
|
public bool GetShopRed()
|
|
|
{
|
|
|
- return GetChargeAddUpRewardRed() || GetGiftBagRewardRed() || GetGoldCardRewardRed() || GetBlackCardRewardRed();
|
|
|
+ return GetChargeAddUpRewardRed() || GetGiftBagRewardRed() || GetGoldCardRewardRed() || GetBlackCardRewardRed() || GetBlackCardClothingRed();
|
|
|
}
|
|
|
//商店-充值-会员中心
|
|
|
public bool GetChargeAddUpRewardRed()
|
|
@@ -398,6 +398,19 @@ namespace GFGGame
|
|
|
return RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.BlackGold) && GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardBlackGoldReward) <= 0;
|
|
|
}
|
|
|
/// <summary>
|
|
|
+ /// 商城-月卡-黑金卡-单品奖励
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ public bool GetBlackCardClothingRed()
|
|
|
+ {
|
|
|
+ int _year = TimeUtil.GetCurYear();
|
|
|
+ int _month = TimeUtil.GetCurMonth();
|
|
|
+ MonthlyCardClothesCfg clothesCfg = MonthlyCardClothesCfgArray.Instance.GetCfgByyearAndmonth(_year, _month);
|
|
|
+
|
|
|
+ return RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.BlackGold) && !MathHelper.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardExclusiveClothesMouth), _month);
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
/// 联盟-成员申请
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
@@ -456,6 +469,21 @@ namespace GFGGame
|
|
|
}
|
|
|
return false;
|
|
|
}
|
|
|
+ /// <summary>
|
|
|
+ /// 限时抽奖活动任务奖励
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ public bool GetActLuckyBoxTaskdRed()
|
|
|
+ {
|
|
|
+ if (ActivityDataManager.Instance.actLuckyBoxId <= 0) return false;
|
|
|
+ List<TaskCfg> _bonueCfgs = TaskDataManager.Instance.GetTaskCfgs(TaskType.LuckyBoxActivity);
|
|
|
+ for (int i = 0; i < _bonueCfgs.Count; i++)
|
|
|
+ {
|
|
|
+ int state = TaskDataManager.Instance.GetTaskStateById(_bonueCfgs[i].id);
|
|
|
+ if (state == ConstBonusStatus.CAN_GET) return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 摘星-每日特惠
|