mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Rename API score classes
This commit is contained in:
@ -43,11 +43,11 @@ namespace osu.Game.Tests.Visual.Online
|
||||
}
|
||||
};
|
||||
|
||||
var allScores = new APILegacyScores
|
||||
var allScores = new APIScoresCollection
|
||||
{
|
||||
Scores = new List<APILegacyScoreInfo>
|
||||
Scores = new List<APIScoreInfo>
|
||||
{
|
||||
new APILegacyScoreInfo
|
||||
new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -72,7 +72,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
TotalScore = 1234567890,
|
||||
Accuracy = 1,
|
||||
},
|
||||
new APILegacyScoreInfo
|
||||
new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -96,7 +96,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
TotalScore = 1234789,
|
||||
Accuracy = 0.9997,
|
||||
},
|
||||
new APILegacyScoreInfo
|
||||
new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -119,7 +119,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
TotalScore = 12345678,
|
||||
Accuracy = 0.9854,
|
||||
},
|
||||
new APILegacyScoreInfo
|
||||
new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -141,7 +141,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
TotalScore = 1234567,
|
||||
Accuracy = 0.8765,
|
||||
},
|
||||
new APILegacyScoreInfo
|
||||
new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -162,9 +162,9 @@ namespace osu.Game.Tests.Visual.Online
|
||||
}
|
||||
};
|
||||
|
||||
var myBestScore = new APILegacyUserTopScoreInfo
|
||||
var myBestScore = new APIScoreWithPosition
|
||||
{
|
||||
Score = new APILegacyScoreInfo
|
||||
Score = new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -185,9 +185,9 @@ namespace osu.Game.Tests.Visual.Online
|
||||
Position = 1337,
|
||||
};
|
||||
|
||||
var myBestScoreWithNullPosition = new APILegacyUserTopScoreInfo
|
||||
var myBestScoreWithNullPosition = new APIScoreWithPosition
|
||||
{
|
||||
Score = new APILegacyScoreInfo
|
||||
Score = new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -208,11 +208,11 @@ namespace osu.Game.Tests.Visual.Online
|
||||
Position = null,
|
||||
};
|
||||
|
||||
var oneScore = new APILegacyScores
|
||||
var oneScore = new APIScoresCollection
|
||||
{
|
||||
Scores = new List<APILegacyScoreInfo>
|
||||
Scores = new List<APIScoreInfo>
|
||||
{
|
||||
new APILegacyScoreInfo
|
||||
new APIScoreInfo
|
||||
{
|
||||
User = new User
|
||||
{
|
||||
@ -273,7 +273,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
private class TestScoresContainer : ScoresContainer
|
||||
{
|
||||
public new APILegacyScores Scores
|
||||
public new APIScoresCollection Scores
|
||||
{
|
||||
set => base.Scores = value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user