Exemplo 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);
            }
        }
Exemplo 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);
            }
        }
Exemplo n.º 3
0
 public virtual void ParseGrid(StringGrid grid, AdvBootSetting bootSetting)
 {
     GridList.Add(grid);
     grid.InitLink();
     OnParseGrid(grid, bootSetting);
 }
Exemplo n.º 4
0
 public virtual void ParseGrid(StringGrid grid)
 {
     GridList.Add(grid);
     grid.InitLink();
     OnParseGrid(grid);
 }