class XIVAPI::Dataclasses::CharacterGear
- XIVAPI::Dataclasses::CharacterGear
- Reference
- Object
Overview
Dataclass for a piece of Gear owned by a Character.
This class wraps the Gear
class and adds extra, instanced details like dye, glamour and materia, as each character will have different copies of the same piece of Gear
.
Defined in:
dataclasses/character/character_gear.crConstructors
Instance Method Summary
-
#creator : UInt64?
The ID of the Character that made the piece of equipment in question.
- #creator=(_creator : ::Union(UInt64, Nil))
-
#dye : XIVAPI::Dataclasses::IDIconName?
An
IDIconName
class containing details about the dye currently on the Gear. - #dye=(_dye : ::Union(IDIconName, Nil))
-
#glamour : XIVAPI::Dataclasses::IDIconName?
An
IDIconName
class containing information about the piece of Gear currently being used as a glamour for this piece of Gear. - #glamour=(_glamour : ::Union(IDIconName, Nil))
-
#item : XIVAPI::Dataclasses::Gear
A
GearItem
class that contains the details about the item that is equipped. - #item=(_item : Gear)
-
#materia : Array(XIVAPI::Dataclasses::IDIconNameUrl)
An Array of
IDIconName
classs that corresponds to the list of Materia currently melded to the Equipped Gear. - #materia=(_materia : Array(IDIconNameUrl))
- #to_json(json : JSON::Builder)
Constructor Detail
Instance Method Detail
An IDIconName
class containing details about the dye currently on the Gear.
An IDIconName
class containing information about the piece of Gear currently being used as a glamour for this piece of Gear.
A GearItem
class that contains the details about the item that is equipped.
An Array of IDIconName
classs that corresponds to the list of Materia currently melded to the Equipped Gear.