Information presented to the callback on a server to add or remove from the application's internal lists. More...
Public Member Functions | |
void | Init (const LocatedServer_t *pInput) |
Load an EnumeratedServerInfo_t. | |
Public Attributes | |
const char * | m_pGameName |
Name of game server. | |
NetAddr_t | m_HostAddr |
Address of the game server. | |
NetAddr_t | m_PingAddress |
Address datagram came from. | |
uint32_t | m_uExtraDataSize |
Number of bytes in the custom buffer. | |
void * | m_pExtra |
Extra data specific to the server. | |
Information presented to the callback on a server to add or remove from the application's internal lists.
When enumeration is active, located servers on the network will be searched and if one is found or lost, this structure will be sent via the callback command of kServerAdd or kServerRemove to add or remove this entry respectively.
void BURGER_API Burger::NetworkModuleSettings::EnumeratedServerInfo_t::Init | ( | const LocatedServer_t * | pInput | ) |
Load an EnumeratedServerInfo_t.
This function converts a LocatedServer_t into an EnumeratedServerInfo_t to be sent to a callback routine when a server is added or removed from the active list.
NetAddr_t Burger::NetworkModuleSettings::EnumeratedServerInfo_t::m_HostAddr |
Address of the game server.
void* Burger::NetworkModuleSettings::EnumeratedServerInfo_t::m_pExtra |
Extra data specific to the server.
const char* Burger::NetworkModuleSettings::EnumeratedServerInfo_t::m_pGameName |
Name of game server.
NetAddr_t Burger::NetworkModuleSettings::EnumeratedServerInfo_t::m_PingAddress |
Address datagram came from.
uint32_t Burger::NetworkModuleSettings::EnumeratedServerInfo_t::m_uExtraDataSize |
Number of bytes in the custom buffer.