Sha256: 14b6325747588a7ff8a2e5e3ea5d7d325ebc4e0e5af5242a40ce136cd1394b31
Contents?: true
Size: 773 Bytes
Versions: 6
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true module TeyvatDB::GenshinData # Base class to represent various Genshin Weapons class Weapon WEAPON_TYPES = %i[sword polearm catalyst bow claymore].freeze attr_accessor :kamera_key, :name, :rarity, :weapon_type, :elite_material_type, :standard_material_type, :weapon_material_type def initialize(kamera_key:, name:, rarity:, weapon_type:, elite_material_type:, standard_material_type:, weapon_material_type:) @kamera_key = kamera_key @name = name @rarity = rarity @weapon_type = weapon_type @elite_material_type = elite_material_type @standard_material_type = standard_material_type @weapon_material_type = weapon_material_type end end end
Version data entries
6 entries across 6 versions & 1 rubygems