#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| string | state_hash_ |
| | Hash of the state to use for sending the next dice; may be empty if the stake dice can't be sent by the current user.
|
| |
| int53 | stake_toncoin_amount_ |
| | The Toncoin amount that was staked in the previous roll; in the smallest units of the currency.
|
| |
| array< int53 > | suggested_stake_toncoin_amounts_ |
| | The amounts of Toncoins that are suggested to be staked; in the smallest units of the currency.
|
| |
| int32 | current_streak_ |
| | The number of rolled sixes towards the streak; 0-2.
|
| |
| array< int32 > | prize_per_mille_ |
| | The number of Toncoins received by the user for each 1000 Toncoins staked if the dice outcome is 1-6 correspondingly; may be empty if the stake dice can't be sent by the current user.
|
| |
| int32 | streak_prize_per_mille_ |
| | The number of Toncoins received by the user for each 1000 Toncoins staked if the dice outcome is 6 three times in a row with the same stake.
|
| |
|
| static const std::int32_t | ID = 2004711564 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes state of the stake dice.
Definition at line 64230 of file td_api.h.
◆ stakeDiceState() [1/2]
| td::td_api::stakeDiceState::stakeDiceState |
( |
| ) |
|
Describes state of the stake dice.
◆ stakeDiceState() [2/2]
| td::td_api::stakeDiceState::stakeDiceState |
( |
string const & |
state_hash_, |
|
|
int53 |
stake_toncoin_amount_, |
|
|
array< int53 > && |
suggested_stake_toncoin_amounts_, |
|
|
int32 |
current_streak_, |
|
|
array< int32 > && |
prize_per_mille_, |
|
|
int32 |
streak_prize_per_mille_ |
|
) |
| |
Describes state of the stake dice.
- Parameters
-
| [in] | state_hash_ | Hash of the state to use for sending the next dice; may be empty if the stake dice can't be sent by the current user. |
| [in] | stake_toncoin_amount_ | The Toncoin amount that was staked in the previous roll; in the smallest units of the currency. |
| [in] | suggested_stake_toncoin_amounts_ | The amounts of Toncoins that are suggested to be staked; in the smallest units of the currency. |
| [in] | current_streak_ | The number of rolled sixes towards the streak; 0-2. |
| [in] | prize_per_mille_ | The number of Toncoins received by the user for each 1000 Toncoins staked if the dice outcome is 1-6 correspondingly; may be empty if the stake dice can't be sent by the current user. |
| [in] | streak_prize_per_mille_ | The number of Toncoins received by the user for each 1000 Toncoins staked if the dice outcome is 6 three times in a row with the same stake. |
◆ store()
| void td::td_api::stakeDiceState::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.
◆ current_streak_
| int32 td::td_api::stakeDiceState::current_streak_ |
The number of rolled sixes towards the streak; 0-2.
Definition at line 64247 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::stakeDiceState::ID = 2004711564 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 64271 of file td_api.h.
◆ prize_per_mille_
| array<int32> td::td_api::stakeDiceState::prize_per_mille_ |
The number of Toncoins received by the user for each 1000 Toncoins staked if the dice outcome is 1-6 correspondingly; may be empty if the stake dice can't be sent by the current user.
Definition at line 64249 of file td_api.h.
◆ stake_toncoin_amount_
| int53 td::td_api::stakeDiceState::stake_toncoin_amount_ |
The Toncoin amount that was staked in the previous roll; in the smallest units of the currency.
Definition at line 64243 of file td_api.h.
◆ state_hash_
| string td::td_api::stakeDiceState::state_hash_ |
Hash of the state to use for sending the next dice; may be empty if the stake dice can't be sent by the current user.
Definition at line 64241 of file td_api.h.
◆ streak_prize_per_mille_
| int32 td::td_api::stakeDiceState::streak_prize_per_mille_ |
The number of Toncoins received by the user for each 1000 Toncoins staked if the dice outcome is 6 three times in a row with the same stake.
Definition at line 64251 of file td_api.h.
◆ suggested_stake_toncoin_amounts_
| array<int53> td::td_api::stakeDiceState::suggested_stake_toncoin_amounts_ |
The amounts of Toncoins that are suggested to be staked; in the smallest units of the currency.
Definition at line 64245 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