Sha256: 5051ac306fccd2fab595223be89e56d268a923f990cc63732c8c3a5ce2e44bb4

Contents?: true

Size: 1.62 KB

Versions: 6

Compression:

Stored size: 1.62 KB

Contents

module GenshinData::Materials
  module Development
    require_relative 'development/elite_monster_drops_data'
    require_relative 'development/gems_data'
    require_relative 'development/general_data'
    require_relative 'development/local_specialty_data'
    require_relative 'development/monster_loot_drops_data'
    require_relative 'development/talent_books_data'
    require_relative 'development/weapon_material_data'
    require_relative 'development/weapon_refinement_material_data'
    require_relative 'development/weekly_boss_drops_data'
    require_relative 'development/world_boss_drops_data'

    class << self
      def all
        [
          elite_monster_loot,
          gems,
          general,
          local_specialties,
          monster_loot,
          talent_books,
          weapon_materials,
          weapon_refinement,
          weekly_boss_drops,
          world_boss_drops,
        ].flatten.sort { |x, y| x.name <=> y.name }
      end

      def elite_monster_loot
        EliteMonsterLootDropsData.all
      end

      def gems
        GemsData.all
      end

      def general
        GeneralData.all
      end

      def local_specialties
        LocalSpecialtyData.all
      end

      def monster_loot
        MonsterLootDropsData.all
      end

      def talent_books
        TalentBooksData.all
      end

      def weapon_materials
        WeaponMaterialData.all
      end

      def weapon_refinement
        WeaponRefinementMaterialData.all
      end

      def weekly_boss_drops
        WeeklyBossDropsData.all
      end

      def world_boss_drops
        WorldBossDropsData.all
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teyvatdb-0.1.18 lib/genshin_data/materials/development.rb
teyvatdb-0.1.17 lib/genshin_data/materials/development.rb
teyvatdb-0.1.16 lib/genshin_data/materials/development.rb
teyvatdb-0.1.15 lib/genshin_data/materials/development.rb
teyvatdb-0.1.14 lib/genshin_data/materials/development.rb
teyvatdb-0.1.13 lib/genshin_data/materials/development.rb