group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
net::discovery::ServerInfo Struct Reference

#include <GlobalDiscoveryProtocol.hpp>

Public Attributes

std::uint32_t id = 0
std::string name
std::string host
std::uint16_t gamePort = 0
std::string udpHost
std::uint16_t udpPort = 0
std::uint8_t currentPlayers = 0
std::uint8_t maxPlayers = 0
std::uint64_t lastSeenMs = 0
bool natTraversalReady = false

Member Data Documentation

◆ currentPlayers

std::uint8_t net::discovery::ServerInfo::currentPlayers = 0

◆ gamePort

std::uint16_t net::discovery::ServerInfo::gamePort = 0

◆ host

std::string net::discovery::ServerInfo::host

◆ id

std::uint32_t net::discovery::ServerInfo::id = 0

◆ lastSeenMs

std::uint64_t net::discovery::ServerInfo::lastSeenMs = 0

◆ maxPlayers

std::uint8_t net::discovery::ServerInfo::maxPlayers = 0

◆ name

std::string net::discovery::ServerInfo::name

◆ natTraversalReady

bool net::discovery::ServerInfo::natTraversalReady = false

◆ udpHost

std::string net::discovery::ServerInfo::udpHost

◆ udpPort

std::uint16_t net::discovery::ServerInfo::udpPort = 0

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