mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Add PlayerPosition property
This commit is contained in:
@ -75,6 +75,11 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
private class TestInGameLeaderboard : InGameLeaderboard
|
private class TestInGameLeaderboard : InGameLeaderboard
|
||||||
{
|
{
|
||||||
public void ClearScores() => ScoresContainer.RemoveAll(s => s.User.Username != PlayerUser.Username);
|
public void ClearScores() => ScoresContainer.RemoveAll(s => s.User.Username != PlayerUser.Username);
|
||||||
|
public int? PlayerPosition
|
||||||
|
{
|
||||||
|
get => PlayerScoreItem.ScorePosition;
|
||||||
|
set => PlayerScoreItem.ScorePosition = value;
|
||||||
|
}
|
||||||
|
|
||||||
public bool CheckPositionByUsername(string username, int? estimatedPosition)
|
public bool CheckPositionByUsername(string username, int? estimatedPosition)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user