class XIVAPI::Dataclasses::IDIconName

Overview

A class for a simple combination of ID, icon and name. Used throughout the library in places that need this simple mapping.

Defined in:

dataclasses/utils/id_icon_name.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def icon : String #

URL to the icon of the item.


[View source]
def icon=(_icon : String) #

def id : UInt64 #

The ID of the item.


[View source]
def id=(_id : UInt64) #

def name : String #

The name of item.


[View source]
def name=(_name : String) #

def to_json(json : JSON::Builder) #