|
@@ -89,12 +89,18 @@ namespace GFGGame
|
|
|
GObject obj = context.sender as GObject;
|
|
|
|
|
|
int month = (int)obj.data;
|
|
|
- if (month != _month)
|
|
|
+ if (month < _month)
|
|
|
{
|
|
|
PromptController.Instance.ShowFloatTextPrompt("逾期单品不可领取");//奖励不可领
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (month > _month)
|
|
|
+ {
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("领取时间未到");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
if (MathUtil.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardExclusiveClothesMouth), month))
|
|
|
{
|
|
|
PromptController.Instance.ShowFloatTextPrompt("奖励已领取");
|