class XIVAPI::Dataclasses::GearSetAttribute

Overview

Dataclass for an attribute for a GearSet. An Attribute corresponds to a stat, and has both a name and a value.

Defined in:

dataclasses/character/gear_set_attribute.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def attribute : XIVAPI::Dataclasses::IDName #

An IDName class containing the name and id of the attribute, e.g. Piety


[View source]
def attribute=(_attribute : IDName) #

def to_json(json : JSON::Builder) #

def value : UInt64 #

The value of the attribute generated by the Gear in the GearSet.


[View source]
def value=(_value : UInt64) #