Sha256: 47de0ec13875b8b1cd2ca0671f88a3c818040c0035ed6780551ffed199324a0c

Contents?: true

Size: 953 Bytes

Versions: 6

Compression:

Stored size: 953 Bytes

Contents

module GenshinData::Materials
  module Standard
    require_relative "standard/cooking_material_data"
    require_relative "standard/crafting_material_data"
    require_relative "standard/fishing_material_data"
    require_relative "standard/forging_material_data"
    require_relative "standard/furniture_material_data"

    class << self
      def all
        [
          crafting_materials,
          cooking_materials,
          fishing_materials,
          forging_materials,
          furniture_materials,
        ].flatten.sort { |x, y| x.name <=> y.name }
      end

      def crafting_materials
        CraftingMaterialData.all
      end

      def cooking_materials
        CookingMaterialsData.all
      end

      def fishing_materials
        FishingMaterialData.all
      end

      def forging_materials
        ForgingMaterialData.all
      end

      def furniture_materials
        FurnitureMaterialData.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/standard.rb
teyvatdb-0.1.17 lib/genshin_data/materials/standard.rb
teyvatdb-0.1.16 lib/genshin_data/materials/standard.rb
teyvatdb-0.1.15 lib/genshin_data/materials/standard.rb
teyvatdb-0.1.14 lib/genshin_data/materials/standard.rb
teyvatdb-0.1.13 lib/genshin_data/materials/standard.rb