Module: Restiny::TierType

Defined in:
lib/restiny/constants.rb

Overview

Definitions for the tier/rarity of a particular item.

Constant Summary collapse

UNKNOWN =
0
CURRENCY =
1
BASIC =
2
COMMON =
3
RARE =
4
SUPERIOR =
5
EXOTIC =
6

Class Method Summary collapse

Class Method Details

.namesObject



52
53
54
55
56
57
58
59
60
61
62
# File 'lib/restiny/constants.rb', line 52

def self.names
  {
    UNKNOWN => 'Unknown',
    CURRENCY => 'Currency',
    BASIC => 'Basic',
    COMMON => 'Common',
    RARE => 'Rare',
    SUPERIOR => 'Superior',
    EXOTIC => 'Exotic'
  }
end