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