Create a new instance of RibbonData. Generally, fromJSON is used instead.
PrivatepayloadInternal bitfield storing the unlock state for each ribbon
Static ReadonlyCLASSICRibbon for winning classic
Static ReadonlyFLIP_Ribbon for winning the flip stats challenge
Static ReadonlyFRESH_Ribbon for winning the fresh start challenge
Static ReadonlyFRIENDSHIPRibbon for reaching max friendship
Static ReadonlyHARDCORERibbon for winning the hardcore challenge
Static ReadonlyINVERSERibbon for winning the inverse challenge
Static ReadonlyLIMITED_Ribbon for winning the limited catch challenge
Static ReadonlyMONO_Ribbon for winning the bug monotype challenge
Static ReadonlyMONO_Ribbon for winning the dark monotype challenge
Static ReadonlyMONO_Ribbon for winning the dragon monotype challenge
Static ReadonlyMONO_Ribbon for winning the electric monotype challenge
Static ReadonlyMONO_Ribbon for winning the fairy monotype challenge
Static ReadonlyMONO_Ribbon for winning the fighting monotype challenge
Static ReadonlyMONO_Ribbon for winning the fire monotype challenge
Static ReadonlyMONO_Ribbon for winning the flying monotype challenge
Static ReadonlyMONO_Ribbon for winning the the mono gen 1 challenge
Static ReadonlyMONO_Ribbon for winning the the mono gen 2 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 3 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 4 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 5 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 6 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 7 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 8 challenge
Static ReadonlyMONO_Ribbon for winning the mono gen 9 challenge
Static ReadonlyMONO_Ribbon for winning the ghost monotype challenge
Static ReadonlyMONO_Ribbon for winning the grass monotype challenge
Static ReadonlyMONO_Ribbon for winning the ground monotype challenge
Static ReadonlyMONO_Ribbon for winning the ice monotype challenge
Static ReadonlyMONO_Ribbon for winning the normal monotype challenge
Static ReadonlyMONO_Ribbon for winning the poision monotype challenge
Static ReadonlyMONO_Ribbon for winning the psychic monotype challenge
Static ReadonlyMONO_Ribbon for winning the rock monotype challenge
Static ReadonlyMONO_Ribbon for winning the steel monotype challenge
Static ReadonlyMONO_Ribbon for winning the water monotype challenge
Static ReadonlyNO_Ribbon for winning the limited support challenge set to no heal
Static ReadonlyNO_Ribbon for winning the limited support challenge set to no shop
Static ReadonlyNO_Ribbon for winning the limited support challenge set to both
Static ReadonlyNUZLOCKERibbon for winning the nuzzlocke challenge
Static ReadonlyPASSIVE_Ribbon for winning the passive ability 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.
Allow access to the bigint of ribbons
The ribbons as a bigint
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
StaticfromDecode 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
fromJSONmethod.Remarks
Stores information about the ribbons earned by a species using a bitfield.