![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Represents the results of a poll. More...
#include <message.h>
Collaboration diagram for dpp::poll_results:Classes | |
| struct | answer_count |
| Represents a reference to an answer and its count of votes. More... | |
Public Attributes | |
| std::map< uint32_t, answer_count > | answer_counts |
| Count of votes for each answer. If an answer is not present in this list, then its vote count is 0. More... | |
| bool | is_finalized {false} |
| Whether the poll has finalized, and the answers are precisely counted. More... | |
Represents the results of a poll.
| std::map<uint32_t, answer_count> dpp::poll_results::answer_counts |
Count of votes for each answer. If an answer is not present in this list, then its vote count is 0.
| bool dpp::poll_results::is_finalized {false} |
Whether the poll has finalized, and the answers are precisely counted.