Esempio n. 1
0
 internal void BootInitChapter(AdvChapterData chapter)
 {
     chapter.BootInit();
     foreach (var grid in chapter.SettingList)
     {
         IAdvSettingData data = FindSettingData(grid.SheetName);
         if (data != null)
         {
             data.ParseGrid(grid, BootSetting);
         }
     }
 }
Esempio n. 2
0
        public void BootInitChapter(AdvChapterData chapter)
        {
            chapter.BootInit(this.SettingDataManager);
            Dictionary <string, AdvScenarioData> scenarioDataTbl = new Dictionary <string, AdvScenarioData>();

            chapter.AddScenario(scenarioDataTbl);
            foreach (KeyValuePair <string, AdvScenarioData> pair in scenarioDataTbl)
            {
                this.scenarioDataTbl.Add(pair.Key, pair.Value);
            }
            foreach (KeyValuePair <string, AdvScenarioData> pair2 in scenarioDataTbl)
            {
                pair2.Value.Init(this.settingDataManager);
            }
        }
Esempio n. 3
0
        public void BootInitChapter(AdvChapterData chapter)
        {
            chapter.BootInit(this.SettingDataManager);

            //シナリオデータ
            Dictionary <string, AdvScenarioData> scenarios = new Dictionary <string, AdvScenarioData>();

            chapter.AddScenario(scenarios);
            //シナリオデータの初期化
            foreach (var keyValue in scenarios)
            {
                this.scenarioDataTbl.Add(keyValue.Key, keyValue.Value);
            }
            //シナリオデータの初期化
            foreach (var keyValue in scenarios)
            {
                keyValue.Value.Init(this.settingDataManager);
            }
        }