Sha256: 88159853b823b1cb11b59bd4eef5109b66fa66e4e387e4bbe46c59fb04ca432d

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

module TeyvatDB::GenshinData
  # Base class to represent various Genshin Artifact Sets
  class ArtifactSet
    ALL_SLOTS = %i[flower plume sands goblet circlet].freeze

    attr_accessor :kamera_key, :name, :max_rarity, :slots

    def initialize(kamera_key:, name:, max_rarity:, slots: ALL_SLOTS)
      @kamera_key = kamera_key
      @name = name
      @max_rarity = max_rarity
      @slots = slots
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teyvatdb-0.1.12 lib/teyvatdb/genshin_data/artifact_set.rb
teyvatdb-0.1.11 lib/teyvatdb/genshin_data/artifact_set.rb
teyvatdb-0.1.10 lib/teyvatdb/genshin_data/artifact_set.rb
teyvatdb-0.1.9 lib/teyvatdb/genshin_data/artifact_set.rb
teyvatdb-0.1.8 lib/teyvatdb/genshin_data/artifact_set.rb
teyvatdb-0.1.7 lib/teyvatdb/genshin_data/artifact_set.rb