Esempio n. 1
0
        void InitData(StringGrid grid)
        {
            grid.InitLink();
            string sheetName = grid.SheetName;

            if (AdvSettingDataManager.IsDisabelSheetName(sheetName))
            {
                Debug.LogError(sheetName + " is invalid name");
                return;
            }
            if (AdvSettingDataManager.IsSettingsSheet(grid.SheetName))
            {
                SettingList.Add(grid);
            }
            else
            {
                ScenarioList.Add(grid);
            }
        }
Esempio n. 2
0
        void ImportSheet(StringGrid sheet, AdvMacroManager macroManager)
        {
            sheet.InitLink();
            string sheetName = sheet.SheetName;

            if (AdvSheetParser.IsDisableSheetName(sheetName))
            {
                Debug.LogError(sheetName + " is invalid name");
                return;
            }

            if (AdvSheetParser.IsSettingsSheet(sheetName))
            {
                SettingList.Add(sheet);
            }
            else
            {
                macroManager.TryAddMacroData(sheet.SheetName, sheet);
            }
        }
Esempio n. 3
0
 public virtual void ParseGrid(StringGrid grid, AdvBootSetting bootSetting)
 {
     GridList.Add(grid);
     grid.InitLink();
     OnParseGrid(grid, bootSetting);
 }
Esempio n. 4
0
 public virtual void ParseGrid(StringGrid grid)
 {
     GridList.Add(grid);
     grid.InitLink();
     OnParseGrid(grid);
 }