12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using ET;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace GFGGame
- {
- class MiniGameDateManager : SingletonBase<MiniGameDateManager>
- {
- public List<ItemInfoProto> itemList = new List<ItemInfoProto>();
- public List<GameInfoProto> gameinfoList = new List<GameInfoProto>();
- //记录合成游戏的矩阵信息
- private List<List<int>> idList = new List<List<int>>();
- public bool CHECK_TIPS = false; //提示弹窗是否打开
- //合成游戏
- public int taskID = 40001;
- public bool GetRewardRot()
- {
- if(gameinfoList.Count == 0)
- {
- return false;
- }
- foreach(GameInfoProto t in gameinfoList)
- {
- if(t.FirstPassRewardStatus == 1)
- {
- return true;
- }
- if(t.StarRewardStatus.Count > 0 )
- {
- for(int i = 0; i<t.StarRewardStatus.Count;i++)
- {
- if(t.StarRewardStatus[i] == 1)
- {
- return true;
- }
- }
- }
- }
- return false;
- }
- }
- }
|