group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
RosterEvent.hpp File Reference
#include "ecs/components/ClientId.hpp"
#include <cstdint>
Include dependency graph for RosterEvent.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PlayerRosterEvent
 Server-authored join/leave notification for in-progress matches. More...

Enumerations

enum class  RosterEventType : std::uint8_t { PlayerJoined , PlayerLeft }
 Type of mid-match roster change replicated to active clients. More...

Enumeration Type Documentation

◆ RosterEventType

enum class RosterEventType : std::uint8_t
strong

Type of mid-match roster change replicated to active clients.

Enumerator
PlayerJoined 

A player connected after the lobby phase.

PlayerLeft 

A player left or disconnected after the lobby phase.