Create a new instance of RibbonData. Generally, fromJSON
is used instead.
Static
Readonly
CLASSICRibbon for winning classic
Static
Readonly
FLIP_Ribbon for winning the flip stats challenge
Static
Readonly
FRESH_Ribbon for winning the fresh start challenge
Static
Readonly
FRIENDSHIPRibbon for reaching max friendship
Static
Readonly
HARDCORERibbon for winning the hardcore challenge
Static
Readonly
INVERSERibbon for winning the inverse challenge
Static
Readonly
LIMITED_Ribbon for winning the limited catch challenge
Static
Readonly
MONO_Ribbon for winning the bug monotype challenge
Static
Readonly
MONO_Ribbon for winning the dark monotype challenge
Static
Readonly
MONO_Ribbon for winning the dragon monotype challenge
Static
Readonly
MONO_Ribbon for winning the electric monotype challenge
Static
Readonly
MONO_Ribbon for winning the fairy monotype challenge
Static
Readonly
MONO_Ribbon for winning the fighting monotype challenge
Static
Readonly
MONO_Ribbon for winning the fire monotype challenge
Static
Readonly
MONO_Ribbon for winning the flying monotype challenge
Static
Readonly
MONO_Ribbon for winning the the mono gen 1 challenge
Static
Readonly
MONO_Ribbon for winning the the mono gen 2 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 3 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 4 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 5 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 6 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 7 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 8 challenge
Static
Readonly
MONO_Ribbon for winning the mono gen 9 challenge
Static
Readonly
MONO_Ribbon for winning the ghost monotype challenge
Static
Readonly
MONO_Ribbon for winning the grass monotype challenge
Static
Readonly
MONO_Ribbon for winning the ground monotype challenge
Static
Readonly
MONO_Ribbon for winning the ice monotype challenge
Static
Readonly
MONO_Ribbon for winning the normal monotype challenge
Static
Readonly
MONO_Ribbon for winning the poision monotype challenge
Static
Readonly
MONO_Ribbon for winning the psychic monotype challenge
Static
Readonly
MONO_Ribbon for winning the rock monotype challenge
Static
Readonly
MONO_Ribbon for winning the steel monotype challenge
Static
Readonly
MONO_Ribbon for winning the water monotype challenge
Static
Readonly
NO_Ribbon for winning the limited support challenge set to no heal
Static
Readonly
NO_Ribbon for winning the limited uspport challenge set to no shop
Static
Readonly
NO_Ribbon for winning the limited support challenge set to both
Static
Readonly
NUZLOCKERibbon for winning the nuzzlocke challenge
Award one or more ribbons to the ribbon data by setting the corresponding flags in the bitfield.
The flags to set. Can be a single flag or multiple flags.
Check if a specific ribbon has been awarded
The ribbon to check
Whether the specified flag has been awarded
Serialize the bitfield payload as a hex encoded string
Static
fromDecode a hexadecimal string representation of the bitfield into a RibbonData
instance
Hexadecimal string representation of the bitfield (without the leading 0x)
A new instance of RibbonData
initialized with the provided bitfield.
Class for ribbon data management. Usually constructed via the
fromJSON
method.Remarks
Stores information about the ribbons earned by a species using a bitfield.