|
@@ -72,7 +72,7 @@ namespace GFGGame
|
|
|
item.m_imgMask.visible = !isCurMonth;
|
|
|
item.m_grpMonth.visible = isCurMonth;
|
|
|
item.m_grpName.visible = isCurMonth;
|
|
|
-
|
|
|
+ item.m_imggot.visible = MathHelper.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardExclusiveClothesMouth), clothesCfg.month);
|
|
|
if (item.target.data == null)
|
|
|
{
|
|
|
item.target.onClick.Add(OnBtnGetClick);
|
|
@@ -87,6 +87,18 @@ namespace GFGGame
|
|
|
GObject obj = context.sender as GObject;
|
|
|
|
|
|
int month = (int)obj.data;
|
|
|
+ if (month != _month)
|
|
|
+ {
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("奖励不可领");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (MathHelper.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardExclusiveClothesMouth), month))
|
|
|
+ {
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("奖励已领取");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ ShopSProxy.ReqGetMonthCardItem(month).Coroutine();
|
|
|
|
|
|
}
|
|
|
}
|