MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / IsConnected

Method IsConnected

extensions/olcPGEX_Network.h:763–769  ·  view source on GitHub ↗

Check if client is actually connected to a server

Source from the content-addressed store, hash-verified

761
762 // Check if client is actually connected to a server
763 bool IsConnected()
764 {
765 if (m_connection)
766 return m_connection->IsConnected();
767 else
768 return false;
769 }
770
771 public:
772 // Send message to server

Callers

nothing calls this directly

Calls 1

IsConnectedMethod · 0.45

Tested by

no test coverage detected