Sha256: ab102e831bdea3ffc00c7e9bf226a6031141976e1384de542eeb7fa3a6a28b32
Contents?: true
Size: 1.26 KB
Versions: 6
Compression:
Stored size: 1.26 KB
Contents
# frozen_string_literal: true module TeyvatDB::GenshinData # Base class to represent various Genshin Characters class Character attr_accessor :kamera_key, :name, :nation_name, :rarity, :element, :weapon_type, :talent_book_name, :talent_rare_material_name, :talent_boss_material_name, :ascension_boss_material_name, :ascension_gathering_material_name, :ascension_enemy_material_name def initialize(kamera_key:, name:, nation_name:, rarity:, element:, weapon_type:, talent_book_name:, talent_rare_material_name:, talent_boss_material_name:, ascension_boss_material_name:, ascension_gathering_material_name:, ascension_enemy_material_name:) @kamera_key = kamera_key @name = name @nation_name = nation_name @rarity = rarity @element = element @weapon_type = weapon_type @talent_book_name = talent_book_name @talent_rare_material_name = talent_rare_material_name @talent_boss_material_name = talent_boss_material_name @ascension_boss_material_name = ascension_boss_material_name @ascension_gathering_material_name = ascension_gathering_material_name @ascension_enemy_material_name = ascension_enemy_material_name end end end
Version data entries
6 entries across 6 versions & 1 rubygems