SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::UdpConnectionLost Struct Reference

Dispatched when an active UDP connection is lost. More...

#include <SFSEvent.h>

Public Attributes

std::string disconnectionReason
 The reason of the disconnection, among those in net::ClientDisconnectionReason.
std::optional< std::string > errorMessage
 Extra information about what went wrong.

Detailed Description

Dispatched when an active UDP connection is lost.

Member Data Documentation

◆ errorMessage

std::optional<std::string> sfs3::event::UdpConnectionLost::errorMessage

Extra information about what went wrong.

Empty if no specific error occurred.


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