Enumeration Mods

So you can do something like Mods.HIDDEN + Mods["HARDROCK"] instead of thinking about the bitwise number (https://github.com/ppy/osu-api/wiki#mods)

Enumeration Members

AUTOPILOT: 8192

It's called Relax2 in the osu!api wiki

AUTOPLAY: 2048
CINEMA: 4194304
DOUBLETIME: 64
EASY: 2
FADEIN: 1048576
FLASHLIGHT: 1024
HALFTIME: 256
HARDROCK: 16
HIDDEN: 8
KEY1: 67108864
KEY2: 268435456
KEY3: 134217728
KEY4: 32768
KEY5: 65536
KEY6: 131072
KEY7: 262144
KEY8: 524288
KEY9: 16777216
KEYCOOP: 33554432
MIRROR: 1073741824
NIGHTCORE: 512

Remarks

From osu!api wiki: Only set along with DoubleTime. i.e: NC only gives 576

NOFAIL: 1
NONE: 0
PERFECT: 16384

Remarks

From osu!api wiki: Only set along with SuddenDeath. i.e: PF only gives 16416

RANDOM: 2097152
RELAX: 128
SCOREV2: 536870912
SPUNOUT: 4096
SUDDENDEATH: 32
TARGET: 8388608
TOUCHDEVICE: 4

Generated using TypeDoc