diff options
Diffstat (limited to 'src/engine/shared')
| -rw-r--r-- | src/engine/shared/network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/shared/network.h b/src/engine/shared/network.h index 425d970a..228ba6dd 100644 --- a/src/engine/shared/network.h +++ b/src/engine/shared/network.h @@ -285,6 +285,7 @@ public: // status requests NETADDR ClientAddr(int ClientID) const { return m_aSlots[ClientID].m_Connection.PeerAddress(); } NETSOCKET Socket() const { return m_Socket; } + int NetType() { return m_Socket.type; } int MaxClients() const { return m_MaxClients; } // @@ -320,6 +321,7 @@ public: int ResetErrorString(); // error and state + int NetType() { return m_Socket.type; } int State(); int GotProblems(); const char *ErrorString(); |