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

#include <session.hpp>

Public Member Functions

 SessionInfo (std::optional< std::string > client_name, std::optional< EntityID > client_eid, std::optional< bool > is_dungeon_master)
 

Data Fields

std::optional< std::string > client_name
 
std::optional< EntityIDclient_eid
 
std::optional< bool > is_dungeon_master
 

Detailed Description

Info about the client and server associated with this session.

The fields are optional because when the session is initially created, some of the information may not have been sent yet, so we initialize them to the "None" value.

Constructor & Destructor Documentation

◆ SessionInfo()

SessionInfo::SessionInfo ( std::optional< std::string >  client_name,
std::optional< EntityID client_eid,
std::optional< bool >  is_dungeon_master 
)
inline

Field Documentation

◆ client_eid

std::optional<EntityID> SessionInfo::client_eid

◆ client_name

std::optional<std::string> SessionInfo::client_name

◆ is_dungeon_master

std::optional<bool> SessionInfo::is_dungeon_master

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