void setSpectator(bool spectator)
Set spectator mode for this session.
bool isSpectator() const
Check if this session is a spectator.
uint32_t getPlayerId() const
Get the player ID associated with this session.
std::string getId() const override
Get the session ID.
void setPlayerId(uint32_t playerId)
Set the player ID for this session.
bool isActive() const override
Check if session is active.
Session(const std::string &id)
Constructor.
void setActive(bool active)
Set session active state.