/// <summary> /// Changes the data source, does not call for a reset, that allows for how swapping but keeping the original data in place /// </summary> public void SetDataSource(DataSourceEnum dataSourceEnum) { SchoolDismissalSettingsBackend.SetDataSource(dataSourceEnum); SchoolCalendarBackend.SetDataSource(dataSourceEnum); ShopInventoryBackend.SetDataSource(dataSourceEnum); // Avatar must be reset before Student, because Student needs the default avatarID AvatarBackend.SetDataSource(dataSourceEnum); StudentBackend.SetDataSource(dataSourceEnum); }
/// <summary> /// Changes the data source, does not call for a reset, that allows for how swapping but keeping the original data in place /// </summary> public void SetDataSource(DataSourceEnum dataSourceEnum) { // Set the Global DataSourceEnum Value SystemGlobalsModel.SetDataSourceEnum(dataSourceEnum); // Avatar must be reset before Student, because Student needs the default avatar AvatarItemBackend.SetDataSource(SystemGlobalsModel.Instance.DataSourceValue); KioskSettingsBackend.SetDataSource(SystemGlobalsModel.Instance.DataSourceValue); SchoolDismissalSettingsBackend.SetDataSource(SystemGlobalsModel.Instance.DataSourceValue); StudentBackend.SetDataSource(SystemGlobalsModel.Instance.DataSourceValue); }