|
@@ -107,6 +107,12 @@ namespace GFGGame
|
|
|
{
|
|
|
if (!(context.sender is GObject obj)) return;
|
|
|
var id = (int)obj.data;
|
|
|
+ var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
|
|
|
+ if (!isBuy)
|
|
|
+ {
|
|
|
+ ViewManager.Show<OpenBattlePassView>(null, new object[] { typeof(BattlePassTaskView).FullName, null });
|
|
|
+ return;
|
|
|
+ }
|
|
|
var get = await BattlePassTaskSProxy.GetBattlePassReward(id);
|
|
|
if (!get) return;
|
|
|
SetBattlePassLevel();
|