class Tourmaline::UniqueGiftBackdrop

Overview

This object describes the backdrop of a unique gift.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, colors : Tourmaline::UniqueGiftBackdropColors, rarity_per_mille : Int32 | Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

Colors of the backdrop


[View source]
def colors=(colors : Tourmaline::UniqueGiftBackdropColors) #

Colors of the backdrop


[View source]
def name : String #

Name of the backdrop


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

Name of the backdrop


[View source]
def rarity_per_mille : Int32 | Int64 #

The number of unique gifts that receive this backdrop for every 1000 gifts upgraded


[View source]
def rarity_per_mille=(rarity_per_mille : Int32 | Int64) #

The number of unique gifts that receive this backdrop for every 1000 gifts upgraded


[View source]