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_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
def rarity_per_mille : Int32
#
The number of unique gifts that receive this model for every 1000 gifts upgraded.
def rarity_per_mille=(rarity_per_mille : Int32)
#
The number of unique gifts that receive this model for every 1000 gifts upgraded.