group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
RosterEvent.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#include <cstdint>
6
8enum class RosterEventType : std::uint8_t
9{
12};
13
Network client identifier component for multiplayer entities.
RosterEventType
Type of mid-match roster change replicated to active clients.
Definition RosterEvent.hpp:9
@ PlayerLeft
A player left or disconnected after the lobby phase.
Definition RosterEvent.hpp:11
@ PlayerJoined
A player connected after the lobby phase.
Definition RosterEvent.hpp:10
Associates an entity with a connected network client.
Definition ClientId.hpp:10
Server-authored join/leave notification for in-progress matches.
Definition RosterEvent.hpp:20
char name[32]
Null-terminated display name when available.
Definition RosterEvent.hpp:23
RosterEventType type
Join/leave discriminator.
Definition RosterEvent.hpp:21