commonMain.com.bselzer.gw2.v2.model.enumeration.extension.ConvertId.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-enumeration-jvm Show documentation
Show all versions of v2-model-enumeration-jvm Show documentation
Enumerations for Guild Wars 2 API models.
The newest version!
package com.bselzer.gw2.v2.model.enumeration.extension
import com.bselzer.gw2.v2.model.enumeration.AssetName
import com.bselzer.gw2.v2.model.enumeration.LegendName
import com.bselzer.gw2.v2.model.enumeration.ProfessionName
import com.bselzer.gw2.v2.model.enumeration.RaceName
import com.bselzer.gw2.v2.model.file.AssetId
import com.bselzer.gw2.v2.model.legend.LegendId
import com.bselzer.gw2.v2.model.profession.ProfessionId
import com.bselzer.gw2.v2.model.race.RaceId
fun AssetId.decodeOrNull() = value.decodeOrNull()
fun ProfessionId.decodeOrNull() = value.decodeOrNull()
fun LegendId.decodeOrNull() = value.decodeOrNull()
fun RaceId.decodeOrNull() = value.decodeOrNull()
© 2015 - 2024 Weber Informatics LLC | Privacy Policy