1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16: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] [Flags]
public enum StableContent public enum StableContent
{ {
Beatmaps = 1, Beatmaps = 1 << 0,
Scores = 2, Scores = 1 << 1,
Skins = 4, Skins = 1 << 2,
Collections = 8, Collections = 1 << 3,
All = Beatmaps | Scores | Skins | Collections All = Beatmaps | Scores | Skins | Collections
} }
} }