libnick 2024.12.0
A cross-platform base for native Nickvision applications.
|
An event argument for when the network state is changed. More...
#include <networkstatechangedeventargs.h>
Public Member Functions | |
NetworkStateChangedEventArgs (NetworkState state) | |
Constructs a NetworkStateChangedEventArgs. | |
NetworkState | getState () const |
Gets the network state. | |
Public Member Functions inherited from Nickvision::Events::EventArgs | |
EventArgs ()=default | |
Constructs an EventArgs. | |
An event argument for when the network state is changed.
Nickvision::Network::NetworkStateChangedEventArgs::NetworkStateChangedEventArgs | ( | NetworkState | state | ) |
Constructs a NetworkStateChangedEventArgs.
state | NetworkStae |
NetworkState Nickvision::Network::NetworkStateChangedEventArgs::getState | ( | ) | const |
Gets the network state.