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:
parent
e2018f81f3
commit
8530b31e39
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user