Example #1
0
 void FinishLoadConfig()
 {
     _ContentDataList   = new List <ContentData> ();
     _TotalBundleNumber = 0;
     for (int i = 0; i < _LoadOrder.GetHeaderCount(); i = i + 1)
     {
         string      CurrentHeaderPath = PathBuilder.GetContentHeaderFile(_LoadOrder.GetHeader(i)._Name);
         SaveHandler Handler           = new SaveHandler();
         ContentData CurrentData       = ContentData.ReadData(Handler.ReadSave(CurrentHeaderPath));
         _TotalBundleNumber = _TotalBundleNumber + CurrentData.GetBundleCount();
         _ContentDataList.Add(CurrentData);
     }
     CheckLoadBundles();
 }