Maybe fix duplicate difficult sort
This commit is contained in:
parent
4b299b5259
commit
ff1baca330
@ -27,9 +27,13 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
|
|||||||
|
|
||||||
var musicList = gameDataService.GetMusicList();
|
var musicList = gameDataService.GetMusicList();
|
||||||
var lockedSongsList = gameDataService.GetLockedSongsList();
|
var lockedSongsList = gameDataService.GetLockedSongsList();
|
||||||
var enabledMusicList = musicList.Except(lockedSongsList);
|
|
||||||
var enabledArray =
|
var enabledArray =
|
||||||
FlagCalculator.GetBitArrayFromIds(enabledMusicList, songIdMax, Logger);
|
FlagCalculator.GetBitArrayFromIds(musicList, songIdMax, Logger);
|
||||||
|
|
||||||
|
var defaultSongList = musicList.Except(lockedSongsList);
|
||||||
|
var defaultSongFlg =
|
||||||
|
FlagCalculator.GetBitArrayFromIds(defaultSongList, songIdMax, Logger);
|
||||||
|
|
||||||
var defaultSongWithUraList = gameDataService.GetMusicWithUraList();
|
var defaultSongWithUraList = gameDataService.GetMusicWithUraList();
|
||||||
var enabledUraMusicList = defaultSongWithUraList.Except(lockedSongsList);
|
var enabledUraMusicList = defaultSongWithUraList.Except(lockedSongsList);
|
||||||
@ -39,7 +43,7 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
|
|||||||
var response = new InitialdatacheckResponse
|
var response = new InitialdatacheckResponse
|
||||||
{
|
{
|
||||||
Result = 1,
|
Result = 1,
|
||||||
DefaultSongFlg = enabledArray,
|
DefaultSongFlg = defaultSongFlg,
|
||||||
AchievementSongBit = enabledArray,
|
AchievementSongBit = enabledArray,
|
||||||
UraReleaseBit = uraReleaseBit,
|
UraReleaseBit = uraReleaseBit,
|
||||||
SongIntroductionEndDatetime = DateTime.Now.AddYears(10).ToString(Constants.DATE_TIME_FORMAT),
|
SongIntroductionEndDatetime = DateTime.Now.AddYears(10).ToString(Constants.DATE_TIME_FORMAT),
|
||||||
|
Loading…
Reference in New Issue
Block a user