20 explicit Session(
const std::string &
id);
23 std::string
getId()
const override;
void setSpectator(bool spectator)
Set spectator mode for this session.
~Session() override=default
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.
void setActive(bool active)
Set session active state.