Beispiel #1
0
 private void SkipAllPlot()
 {
     foreach (PlotMetaData data in PlotMetaDataReader.GetItemList())
     {
         if ((data.plotID > LevelPlotModule.BASE_LEVEL_PLOT_ID) && (data.plotID < CGModule.BASE_CG_ID))
         {
             Singleton <NetworkManager> .Instance.RequestFinishGuideReport((uint)data.plotID, true);
         }
     }
 }
Beispiel #2
0
        public List <int> GetUnFinishedPlotIDList(int levelID)
        {
            List <int> list = new List <int>();

            if (levelID != 0)
            {
                foreach (PlotMetaData data in PlotMetaDataReader.GetItemList().FindAll(x => !this._finishPlotList.Contains(x.plotID)))
                {
                    if (!list.Contains(data.plotID) && (data.levelID == levelID))
                    {
                        list.Add(data.plotID);
                    }
                }
            }
            return(list);
        }