ArtifactSet
class ArtifactSet
constructor
new ArtifactSet(data, enka)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
data | JsonObject | |||
enka | EnkaClient |
Properties
enka
Type: EnkaClient
id
Type: number
setBonus
Type: ArtifactSetBonus[]
icon
Type: ImageAssets
name
Type: TextAssets
Methods
getActiveSetBonus
static
Returns: {set: ArtifactSet, count: number, activeBonus: ArtifactSetBonus[]}[]
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
artifacts | (Artifact | ArtifactData | ArtifactSet)[] |