enum Stelios::Item::Rarity

Defined in:

engine/item.cr

Enum Members

Common = 0
Uncommon = 1
Rare = 2
Epic = 3
Legendary = 4

Instance Method Summary

Instance methods inherited from struct Enum

to_sban(encoder : SBAN::Encoder) to_sban

Constructor methods inherited from struct Enum

new(decoder : SBAN::Decoder) new

Instance methods inherited from class Object

to_sban(io : IO)
to_sban(encoder : SBAN::Encoder)
to_sban : Bytes
to_sban

Class methods inherited from class Object

from_sban(string_or_io) from_sban

Instance Method Detail

def common? #

[View source]
def epic? #

[View source]
def legendary? #

[View source]
def rare? #

[View source]
def uncommon? #

[View source]