class XIVAPI::Dataclasses::CharacterSummary

Overview

Dataclass containing minimal data about a Character. This class is used during Character searches, as well as used to represent Character's in another Character's Friend List or Free Company Member List.

Defined in:

dataclasses/character/character_summary.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def avatar : String #

URL of the Character's Avatar.


[View source]
def avatar=(_avatar : String) #

def feast_matches : UInt64 #

The number of feast matches the character has played.


[View source]
def feast_matches=(_feast_matches : UInt64) #

def id : UInt64 #

The Lodestone ID of the character.


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

def name : String #

The Character's Name.


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

def rank : String? #

Unsure what this is, it's null for the characters I could find. It will be returned as a String if it's not nil.


[View source]
def rank=(_rank : ::Union(String, Nil)) #

def rank_icon : String? #

Unsure what this is, it's null for the characters I could find. It will be returned as a String if it's not nil.


[View source]
def rank_icon=(_rank_icon : ::Union(String, Nil)) #

def server : String #

The name of the Server the Character is currently on.


[View source]
def server=(_server : String) #

def to_json(json : JSON::Builder) #