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

Use bitshifts for enum values instead of literal values.

This commit is contained in:
Lucas A 2021-05-17 21:02:45 +02:00
parent e2018f81f3
commit 8530b31e39

View File

@ -87,10 +87,10 @@ namespace osu.Game.Database
[Flags]
public enum StableContent
{
Beatmaps = 1,
Scores = 2,
Skins = 4,
Collections = 8,
Beatmaps = 1 << 0,
Scores = 1 << 1,
Skins = 1 << 2,
Collections = 1 << 3,
All = Beatmaps | Scores | Skins | Collections
}
}