Sha256: c2b3e9c607344aa154946e07c854c4ff0c353a589291338a2336ad7163e10f30
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
module GenshinData class Weapon WEAPON_TYPES = [:sword, :polearm, :catalyst, :bow, :claymore] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
teyvatdb-0.1.5 | lib/genshin_data/weapon.rb |
teyvatdb-0.1.4 | lib/genshin_data/weapon.rb |