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

commonMain.com.bselzer.gw2.v2.model.enumeration.extension.ConvertId.kt Maven / Gradle / Ivy

There is a newer version: 3.13.0
Show 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