mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Add PlayerPosition property
This commit is contained in:
parent
fdd00c0820
commit
ca7a812e1c
@ -75,6 +75,11 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
private class TestInGameLeaderboard : InGameLeaderboard
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user