1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 17:12:54 +08:00

Rename LocalId -> LocalScoreID

This commit is contained in:
Lucas A 2020-10-10 19:19:24 +02:00
parent de522d53ea
commit a0e6226b7a

View File

@ -61,12 +61,12 @@ namespace osu.Game.Scoring
public readonly struct PerformanceCacheLookup public readonly struct PerformanceCacheLookup
{ {
public readonly string ScoreHash; public readonly string ScoreHash;
public readonly int LocalId; public readonly int LocalScoreID;
public PerformanceCacheLookup(ScoreInfo info) public PerformanceCacheLookup(ScoreInfo info)
{ {
ScoreHash = info.Hash; ScoreHash = info.Hash;
LocalId = info.ID; LocalScoreID = info.ID;
} }
public override int GetHashCode() public override int GetHashCode()
@ -74,7 +74,7 @@ namespace osu.Game.Scoring
var hash = new HashCode(); var hash = new HashCode();
hash.Add(ScoreHash); hash.Add(ScoreHash);
hash.Add(LocalId); hash.Add(LocalScoreID);
return hash.ToHashCode(); return hash.ToHashCode();
} }