|
SuperTuxKart
|
A simple structure to store a vote from a client: track name, number of laps and reverse or not. More...
#include <peer_vote.hpp>
Public Member Functions | |
| PeerVote (const core::stringw &name, const std::string track, int laps, bool reverse) | |
| PeerVote (NetworkString &ns) | |
| Initialised this object from a data in a network string. | |
| void | encode (NetworkString *ns) |
| Encodes this vote object into a network string. | |
Public Attributes | |
| core::stringw | m_player_name |
| std::string | m_track_name |
| uint8_t | m_num_laps |
| bool | m_reverse |
A simple structure to store a vote from a client: track name, number of laps and reverse or not.