1
0
mirror of synced 2024-11-27 16:10:53 +01:00

Readded accidentally deleted movie handle in initialDataCheck

This commit is contained in:
S-Sebb?? 2023-09-17 04:21:56 +08:00
parent 9714bf222b
commit 30acee09ae

View File

@ -31,14 +31,6 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
var uraReleaseBit = var uraReleaseBit =
FlagCalculator.GetBitArrayFromIds(defaultSongWithUraList, songIdMax, Logger); FlagCalculator.GetBitArrayFromIds(defaultSongWithUraList, songIdMax, Logger);
var verupNo1 = new uint[] { 2, 3, 4, 5, 6, 7, 8, 13, 15, 24, 25, 26, 27, 28, 29, 30, 31, 104 };
var aryVerUp = verupNo1.Select(i => new InitialdatacheckResponse.VerupNoData1
{
MasterType = i,
VerupNo = 1
})
.ToList();
var response = new InitialdatacheckResponse var response = new InitialdatacheckResponse
{ {
Result = 1, Result = 1,
@ -49,6 +41,14 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
}; };
response.AryVerupNoData1s.AddRange(aryVerUp); response.AryVerupNoData1s.AddRange(aryVerUp);
var verupNo1 = new uint[] { 2, 3, 4, 5, 6, 7, 8, 13, 15, 24, 25, 26, 27, 28, 29, 30, 31, 104 };
var aryVerUp = verupNo1.Select(i => new InitialdatacheckResponse.VerupNoData1
{
MasterType = i,
VerupNo = 1
})
.ToList();
var danData = new List<InitialdatacheckResponse.VerupNoData2.InformationData>(); var danData = new List<InitialdatacheckResponse.VerupNoData2.InformationData>();
for (var danId = Constants.MIN_DAN_ID; danId <= Constants.MAX_DAN_ID; danId++) for (var danId = Constants.MIN_DAN_ID; danId <= Constants.MAX_DAN_ID; danId++)
{ {
@ -99,6 +99,9 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
response.AryChassisFunctionIds = new uint[] {1,2,3}; response.AryChassisFunctionIds = new uint[] {1,2,3};
var movieDataDictionary = gameDataService.GetMovieDataDictionary();
foreach (var movieData in movieDataDictionary) response.AryMovieInfoes.Add(movieData.Value);
return Ok(response); return Ok(response);
} }