GW2.ChatCode.WardrobeTemplate.Skin (ex_gw2 v0.1.0)

Copy Markdown View Source

Represents a skin inside a wardrobe template.

A wardrobe template slot can contain a skin entry, or be nil when the slot is empty. Each skin entry stores the skin id, whether the slot is visible, and optionally four dye channel ids.

Fields

  • :id - the skin id for the slot.
  • :dyes - four dye ids for slots that support dyes, or nil for skins that do not support dye channels. When encoding dye-capable slots, nil is written as four Dye Remover ids (1).
  • :visible? - whether the slot is marked as visible. Defaults to true.

Summary

Types

t()

A skin entry for one wardrobe template slot.

Types

t()

@type t() :: %GW2.ChatCode.WardrobeTemplate.Skin{
  dyes: [non_neg_integer()] | nil,
  id: non_neg_integer(),
  visible?: boolean()
}

A skin entry for one wardrobe template slot.