#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| 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 const std::int32_t | ID = -922780991 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
Definition at line 1633 of file td_api.h.
◆ attributeCraftPersistenceProbability() [1/2]
| td::td_api::attributeCraftPersistenceProbability::attributeCraftPersistenceProbability |
( |
| ) |
|
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
◆ attributeCraftPersistenceProbability() [2/2]
| td::td_api::attributeCraftPersistenceProbability::attributeCraftPersistenceProbability |
( |
array< int32 > && |
persistence_chance_per_mille_ | ) |
|
|
explicit |
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::attributeCraftPersistenceProbability::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ ID
| const std::int32_t td::td_api::attributeCraftPersistenceProbability::ID = -922780991 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 1659 of file td_api.h.
◆ persistence_chance_per_mille_
| array<int32> td::td_api::attributeCraftPersistenceProbability::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.
Definition at line 1644 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h