class
Tourmaline::UniqueGiftModel
- Tourmaline::UniqueGiftModel
- Reference
- Object
Overview
This object describes the model 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, rarity : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#name : String
Name of the model
-
#name=(name : String)
Name of the model
-
#rarity : String | Nil
Optional.
-
#rarity=(rarity : String | Nil)
Optional.
-
#rarity_per_mille : Int32 | Int64
The number of unique gifts that receive this model for every 1000 gift upgrades.
-
#rarity_per_mille=(rarity_per_mille : Int32 | Int64)
The number of unique gifts that receive this model for every 1000 gift upgrades.
-
#sticker : Tourmaline::Sticker
The sticker that represents the unique gift
-
#sticker=(sticker : Tourmaline::Sticker)
The sticker that represents the unique gift
Constructor Detail
Instance Method Detail
Optional. Rarity of the model if it is a crafted model. Currently, can be "uncommon", "rare", "epic", or "legendary".
Optional. Rarity of the model if it is a crafted model. Currently, can be "uncommon", "rare", "epic", or "legendary".
The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.
The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.