class
Hamilton::Types::UniqueGiftModel
- Hamilton::Types::UniqueGiftModel
- Reference
- Object
Overview
This object describes the model of a unique gift.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/unique_gift_model.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#name : String
Name of the model.
-
#name=(name : String)
Name of the model.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#rarity : String | Nil
Rarity of the model if it is a crafted model.
-
#rarity=(rarity : String | Nil)
Rarity of the model if it is a crafted model.
-
#rarity_per_mille : Int32
The number of unique gifts that receive this model for every 1000 gifts upgraded.
-
#rarity_per_mille=(rarity_per_mille : Int32)
The number of unique gifts that receive this model for every 1000 gifts upgraded.
-
#sticker : Hamilton::Types::Sticker
The sticker that represents the unique gift.
-
#sticker=(sticker : Hamilton::Types::Sticker)
The sticker that represents the unique gift.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Rarity of the model if it is a crafted model. Currently, can be “uncommon”, “rare”, “epic”, or “legendary”.
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 gifts upgraded.
The number of unique gifts that receive this model for every 1000 gifts upgraded.