Sha256: 7ce348179c376fe81e9b0b2273f9891e2b3f812dc4e8865e3fe2980c04532ba4
Contents?: true
Size: 1.25 KB
Versions: 26
Compression:
Stored size: 1.25 KB
Contents
# frozen_string_literal: true module GenshinObject # 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
26 entries across 26 versions & 1 rubygems