class
Tourmaline::UniqueGiftBackdrop
- Tourmaline::UniqueGiftBackdrop
- Reference
- Object
Overview
This object describes the backdrop of a unique gift.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(name : String, colors : Tourmaline::UniqueGiftBackdropColors, rarity_per_mille : Int32 | Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#colors : Tourmaline::UniqueGiftBackdropColors
Colors of the backdrop
-
#colors=(colors : Tourmaline::UniqueGiftBackdropColors)
Colors of the backdrop
-
#name : String
Name of the backdrop
-
#name=(name : String)
Name of the backdrop
-
#rarity_per_mille : Int32 | Int64
The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
-
#rarity_per_mille=(rarity_per_mille : Int32 | Int64)
The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
Constructor Detail
def self.new(name : String, colors : Tourmaline::UniqueGiftBackdropColors, rarity_per_mille : Int32 | Int64)
#
Instance Method Detail
def rarity_per_mille : Int32 | Int64
#
The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
def rarity_per_mille=(rarity_per_mille : Int32 | Int64)
#
The number of unique gifts that receive this backdrop for every 1000 gifts upgraded