Weapon

constructor(skinId: GW2SkinId, name: String, type: String, rarity: String, flags: List<String>, restrictions: List<String>, iconFileId: String, iconFileSignature: String, weapon: GW2v1SkinDetails.Weapon.Weapon)

Parameters

skinId

the skin's ID

name

the skin's localized name

type

the skin's type

rarity

the skin's rarity

flags

additional skin flags (ShowInWardrobe, NoCost, HideIfLocked, OverrideRarity)

restrictions

the IDs of the races that can use this skin, or empty if it can be used by any race

iconFileId

the icon's file ID to be used with the render service

iconFileSignature

the icon's file signature to be used with the render service