A list of players.
More...
#include <Roster.h>
A list of players.
- Author
- Michael Imamura
HoverRace::Client::Roster::Roster |
( |
| ) |
|
void HoverRace::Client::Roster::AddPlayer |
( |
std::shared_ptr< Player::Player > |
player | ) |
|
template<typename Fn >
void HoverRace::Client::Roster::ForEach |
( |
Fn |
fn | ) |
|
|
inline |
std::shared_ptr< Player::Player > HoverRace::Client::Roster::ShareFirst |
( |
| ) |
const |
Retrieve just the first player in the roster.
- Returns
- The player (or
nullptr
if roster is empty).
std::list<std::shared_ptr<Player::Player> > HoverRace::Client::Roster::players |
|
private |
The documentation for this class was generated from the following files: