commonMain.com.bselzer.gw2.v2.model.skill.fact.SkillPrefixedBuffFact.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-jvm Show documentation
Show all versions of v2-model-jvm Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.skill.fact
import com.bselzer.gw2.v2.model.enumeration.wrapper.EffectName
import com.bselzer.ktx.serialization.serializer.SecondDurationSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlin.time.Duration
@Serializable
@SerialName("PrefixedBuff")
data class SkillPrefixedBuffFact(
/**
* The boon or condition affected by this fact.
*/
@SerialName("status")
val status: EffectName = EffectName(),
/**
* The description of the effect.
*/
@SerialName("description")
val effectDescription: String = "",
/**
* The number of stacks applied.
*/
@SerialName("apply_count")
val count: Int = 0,
/**
* The duration of the effect in seconds.
*/
@Serializable(with = SecondDurationSerializer::class)
@SerialName("duration")
val duration: Duration = Duration.ZERO,
/**
* Describes the icon to show before the fact.
*/
@SerialName("prefix")
val prefix: SkillBuffPrefix = SkillBuffPrefix()
) : SkillFact()