struct Leyline::Achievement

Included Modules

Defined in:

leyline/api/achievements.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def bits : Array(TextBit | ItemBit) | Nil #

Honestly I have no idea what this is used for. Docs refer to it as a bitmask but I have no idea where the numbers for said mask are coming from.


[View source]
def default? #

[View source]
def description : String #

[View source]
def flags : Flags #

[View source]
def icon : String | Nil #

[View source]
def id : Int32 #

[View source]
def locked_text : String #

[View source]
def name : String #

[View source]
def point_cap : Int32 | Nil #

[View source]
def prerequisites : Array(Int32) | Nil #

[View source]
def requirement : String #

[View source]
def rewards : Array(RewardType) | Nil #

[View source]
def tiers : Array(NamedTuple(count: Int32, points: Int32)) #

[View source]
def type : Type #

[View source]