All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.serpro69.kfaker.provider.HeroesOfTheStorm.kt Maven / Gradle / Ivy

package io.github.serpro69.kfaker.provider

import io.github.serpro69.kfaker.*
import io.github.serpro69.kfaker.dictionary.*
import io.github.serpro69.kfaker.provider.unique.LocalUniqueDataProvider
import io.github.serpro69.kfaker.provider.unique.UniqueProviderDelegate

/**
 * [FakeDataProvider] implementation for [CategoryName.HEROES_OF_THE_STORM] category.
 */
@Suppress("unused")
class HeroesOfTheStorm internal constructor(fakerService: FakerService) : AbstractFakeDataProvider(fakerService) {
    override val categoryName = CategoryName.HEROES_OF_THE_STORM
    override val localUniqueDataProvider = LocalUniqueDataProvider()
    override val unique by UniqueProviderDelegate(localUniqueDataProvider)

    fun battlegrounds() = resolve("battlegrounds")
    @Deprecated(
        message = "Deprecated since 1.5.0 due to changes in dict file. Will be removed in 1.6.0",
        replaceWith = ReplaceWith("classNames()"),
        level = DeprecationLevel.WARNING
    )
    fun classes() = classNames()
    fun classNames() = resolve("class_names")
    fun heroes() = resolve("heroes")
    fun quotes() = resolve("quotes")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy