|
TDLib
|
Inherits Object.
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
Public Member Functions | |
| attributeCraftPersistenceProbability () | |
| attributeCraftPersistenceProbability (array< int32 > &&persistence_chance_per_mille_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| array< int32 > | persistence_chance_per_mille_ |
| The 4 numbers that describe probability of the craft result to have the same attribute as one of the original gifts if 1, 2, 3, or 4 gifts with the attribute are used in the craft. Each number represents the number of crafted gifts with the original attribute per 1000 successful craftings. | |
Static Public Attributes | |
| static const std::int32_t | ID = -922780991 |
| Identifier uniquely determining a type of the object. | |
| attributeCraftPersistenceProbability | ( | ) |
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
| [in] | persistence_chance_per_mille_ | The 4 numbers that describe probability of the craft result to have the same attribute as one of the original gifts if 1, 2, 3, or 4 gifts with the attribute are used in the craft. Each number represents the number of crafted gifts with the original attribute per 1000 successful craftings. |
|
finalvirtual |