class XIVAPI::Dataclasses::Equipment

Overview

Dataclass that maps an CharacterGear class to each possible equipment slot for a Character.

Defined in:

dataclasses/character/equipment.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

The CharacterGear that is currently equipped in the body slot.


[View source]
def body=(_body : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the bracelets slot.


[View source]
def bracelets=(_bracelets : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the earrings slot.


[View source]
def earrings=(_earrings : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the feet slot.


[View source]
def feet=(_feet : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the hands slot.


[View source]
def hands=(_hands : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the head slot.


[View source]
def head=(_head : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the legs slot.


[View source]
def legs=(_legs : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the main hand slot.


[View source]
def main_hand=(_main_hand : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the necklace slot.


[View source]
def necklace=(_necklace : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the off hand slot.


[View source]
def off_hand=(_off_hand : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the ring1 slot.


[View source]
def ring1=(_ring1 : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the ring2 slot.


[View source]
def ring2=(_ring2 : ::Union(CharacterGear, Nil)) #

The CharacterGear that is currently equipped in the soul crystal slot.


[View source]
def soul_crystal=(_soul_crystal : ::Union(CharacterGear, Nil)) #

def to_json(json : JSON::Builder) #

The CharacterGear that is currently equipped in the waist slot.


[View source]
def waist=(_waist : ::Union(CharacterGear, Nil)) #