|
Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
|
Information about a player that has connected to the current lobby. More...
#include <sharedgamestate.hpp>
Public Member Functions | |
| LobbyPlayer () | |
| LobbyPlayer (EntityID id, PlayerRole desired_role, bool ready) | |
| DEF_SERIALIZE (Archive &ar, unsigned int version) | |
| std::string | to_string (unsigned int tab_offset) |
| Generates a string representation of this Lobby Player struct. More... | |
| std::string | to_string () |
Data Fields | |
| EntityID | id |
| Player's EntityID (this is the EntityID of their Player or DungeonMaster object in the game state) More... | |
| PlayerRole | desired_role |
| This is the player's desired role (though they may not actually play as this role - the server must settle ties if multiple (or no) players want to play as the Dungeon Master for instance) More... | |
| bool | ready |
| Whether the player is in the Ready state on the lobby screen. More... | |
Information about a player that has connected to the current lobby.
|
inline |
|
inline |
|
inline |
|
inline |
| std::string LobbyPlayer::to_string | ( | unsigned int | tab_offset | ) |
| PlayerRole LobbyPlayer::desired_role |
This is the player's desired role (though they may not actually play as this role - the server must settle ties if multiple (or no) players want to play as the Dungeon Master for instance)
| EntityID LobbyPlayer::id |
Player's EntityID (this is the EntityID of their Player or DungeonMaster object in the game state)
| bool LobbyPlayer::ready |
Whether the player is in the Ready state on the lobby screen.