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