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

commonMain.com.bselzer.gw2.v2.model.material.Material.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.material

import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class Material(
    @SerialName("id")
    override val id: MaterialId = MaterialId(),

    /**
     * The name of the category.
     */
    @SerialName("name")
    val name: String = "",

    /**
     * The ids of the items in this category.
     * @see the wiki
     */
    @SerialName("items")
    val itemIds: List = emptyList(),

    /**
     * The order in which this category appears in material storage.
     */
    @SerialName("order")
    val order: Int = 0
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy