Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
ServerLobbyBroadcastPacket Struct Reference

#include <packet.hpp>

Public Member Functions

 DEF_SERIALIZE (Archive &ar, const unsigned int version)
 

Data Fields

std::string lobby_name
 Name of the server lobby. More...
 
int slots_taken
 How many clients are already in this lobby. More...
 
int slots_avail
 How many more clients can join this lobby. More...
 

Detailed Description

Packet sent by the server via UDP broadcast, announcing that there is a lobby available for players to join.

Member Function Documentation

◆ DEF_SERIALIZE()

ServerLobbyBroadcastPacket::DEF_SERIALIZE ( Archive &  ar,
const unsigned int  version 
)
inline

Field Documentation

◆ lobby_name

std::string ServerLobbyBroadcastPacket::lobby_name

Name of the server lobby.

◆ slots_avail

int ServerLobbyBroadcastPacket::slots_avail

How many more clients can join this lobby.

◆ slots_taken

int ServerLobbyBroadcastPacket::slots_taken

How many clients are already in this lobby.


The documentation for this struct was generated from the following file: