class XIVAPI::Dataclasses::CharacterGear

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_165 : JSON::PullParser) #

Instance Method Detail

def creator : UInt64? #

The ID of the Character that made the piece of equipment in question.


[View source]
def creator=(_creator : ::Union(UInt64, Nil)) #

An IDIconName class containing details about the dye currently on the Gear.


[View source]
def dye=(_dye : ::Union(IDIconName, Nil)) #

An IDIconName class containing information about the piece of Gear currently being used as a glamour for this piece of Gear.


[View source]
def glamour=(_glamour : ::Union(IDIconName, Nil)) #

A GearItem class that contains the details about the item that is equipped.


[View source]
def item=(_item : Gear) #

def materia : Array(XIVAPI::Dataclasses::IDIconNameUrl) #

An Array of IDIconName classs that corresponds to the list of Materia currently melded to the Equipped Gear.


[View source]
def materia=(_materia : Array(IDIconNameUrl)) #

def to_json(json : JSON::Builder) #