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